public class ChainedUserNameMapper extends Object implements UserNameMapper, LifecycleAware
Constructor and Description |
---|
ChainedUserNameMapper() |
Modifier and Type | Method and Description |
---|---|
UserNameMapper[] |
getMappers()
Get child mappers.
|
@Nullable String |
map(String name)
Map user name.
|
void |
setMappers(UserNameMapper... mappers)
Set child mappers.
|
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.public UserNameMapper[] getMappers()
public void setMappers(UserNameMapper... mappers)
mappers
- Child mappers.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019