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 UserNameMapper
name
- User name.public void start() throws IgniteException
start
in interface LifecycleAware
IgniteException
- If failed.public void stop() throws IgniteException
stop
in interface LifecycleAware
IgniteException
- 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 Fabric : ver. 2.1.0 Release Date : July 20 2017