java.lang.Object
org.elasticsearch.xpack.core.security.authc.Realm
org.elasticsearch.xpack.security.authc.pki.PkiRealm
- All Implemented Interfaces:
Comparable<Realm>,CachingRealm
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.security.authc.Realm
Realm.Factory -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPkiRealm(RealmConfig config, ResourceWatcherService watcherService, UserRoleMapper userRoleMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(AuthenticationToken authToken, ActionListener<AuthenticationResult<User>> listener) voidvoidvoidinitialize(Iterable<Realm> realms, XPackLicenseState licenseState) voidlookupUser(String username, ActionListener<User> listener) booleansupports(AuthenticationToken token) token(ThreadContext context) voidusageStats(ActionListener<Map<String, Object>> listener) Methods inherited from class org.elasticsearch.xpack.core.security.authc.Realm
compareTo, getAuthenticationFailureHeaders, name, order, realmRef, setRealmRef, toString, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.core.security.authc.support.CachingRealm
name
-
Field Details
-
PKI_CERT_HEADER_NAME
- See Also:
-
-
Constructor Details
-
PkiRealm
public PkiRealm(RealmConfig config, ResourceWatcherService watcherService, UserRoleMapper userRoleMapper)
-
-
Method Details
-
initialize
- Overrides:
initializein classRealm
-
supports
-
token
-
authenticate
public void authenticate(AuthenticationToken authToken, ActionListener<AuthenticationResult<User>> listener) - Specified by:
authenticatein classRealm
-
lookupUser
- Specified by:
lookupUserin classRealm
-
expire
- Specified by:
expirein interfaceCachingRealm
-
expireAll
public void expireAll()- Specified by:
expireAllin interfaceCachingRealm
-
usageStats
- Overrides:
usageStatsin classRealm
-