Module org.elasticsearch.security
Class CompositeRoleMapper
java.lang.Object
org.elasticsearch.xpack.security.authc.support.mapper.CompositeRoleMapper
- All Implemented Interfaces:
UserRoleMapper
A
UserRoleMapper that composes one or more delegate role-mappers.
During role resolution, each of the delegates is
queried, and the individual results are merged into a single Set which includes all the roles from each mapper.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xpack.core.security.authc.support.UserRoleMapper
UserRoleMapper.DistinguishedNameNormalizer, UserRoleMapper.DistinguishedNamePredicate, UserRoleMapper.UserData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidresolveRoles(UserRoleMapper.UserData user, ActionListener<Set<String>> listener)
-
Constructor Details
-
CompositeRoleMapper
-
-
Method Details
-
resolveRoles
- Specified by:
resolveRolesin interfaceUserRoleMapper
-
clearRealmCacheOnChange
- Specified by:
clearRealmCacheOnChangein interfaceUserRoleMapper
-