public class KerberosUserNameMapper extends Object implements UserNameMapper, LifecycleAware
johndoe to johndoe@YOUR.REALM.COM or johndoe/admin@YOUR.REALM.COM.| Constructor and Description |
|---|
KerberosUserNameMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getInstance()
Get Kerberos instance (optional).
|
String |
getRealm()
Get Kerberos realm (optional).
|
String |
map(String name)
Map user name.
|
void |
setInstance(String instance)
Set Kerberos instance (optional).
|
void |
setRealm(String realm)
Set Kerberos realm (optional).
|
void |
start()
Starts grid component, called on grid start.
|
void |
stop()
Stops grid component, called on grid shutdown.
|
String |
toString() |
@Nullable public String map(String name)
map in interface UserNameMappername - User name.public void start()
throws IgniteException
start in interface LifecycleAwareIgniteException - If failed.public void stop()
throws IgniteException
stop in interface LifecycleAwareIgniteException - If failed.@Nullable public String getInstance()
public void setInstance(@Nullable
String instance)
instance - Kerberos instance.@Nullable public String getRealm()
public void setRealm(@Nullable
String realm)
realm - Kerberos realm.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019