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 |
---|---|
@Nullable String |
getInstance()
Get Kerberos instance (optional).
|
@Nullable String |
getRealm()
Get Kerberos realm (optional).
|
@Nullable String |
map(String name)
Map user name.
|
void |
setInstance(@Nullable String instance)
Set Kerberos instance (optional).
|
void |
setRealm(@Nullable 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 @Nullable 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 @Nullable String getInstance()
public void setInstance(@Nullable @Nullable String instance)
instance
- Kerberos instance.@Nullable public @Nullable String getRealm()
public void setRealm(@Nullable @Nullable String realm)
realm
- Kerberos realm.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019