Module org.elasticsearch.security
Class ExcludingRoleMapper
java.lang.Object
org.elasticsearch.xpack.security.authc.support.mapper.ExcludingRoleMapper
- All Implemented Interfaces:
UserRoleMapper
Implementation of role mapper which wraps a
UserRoleMapper
and filters out the resolved roles by removing the configured roles to exclude.-
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
ConstructorsConstructorDescriptionExcludingRoleMapper(UserRoleMapper delegate, Collection<String> rolesToExclude) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidresolveRoles(UserRoleMapper.UserData user, ActionListener<Set<String>> listener)
-
Constructor Details
-
ExcludingRoleMapper
-
-
Method Details
-
resolveRoles
- Specified by:
resolveRolesin interfaceUserRoleMapper
-
clearRealmCacheOnChange
- Specified by:
clearRealmCacheOnChangein interfaceUserRoleMapper
-