Class PkiRealm
java.lang.Object
org.elasticsearch.xpack.core.security.authc.Realm
org.elasticsearch.xpack.security.authc.pki.PkiRealm
- All Implemented Interfaces:
Comparable<org.elasticsearch.xpack.core.security.authc.Realm>,org.elasticsearch.xpack.core.security.authc.support.CachingRealm
public class PkiRealm
extends org.elasticsearch.xpack.core.security.authc.Realm
implements org.elasticsearch.xpack.core.security.authc.support.CachingRealm
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.security.authc.Realm
org.elasticsearch.xpack.core.security.authc.Realm.Factory -
Field Summary
FieldsFields inherited from class org.elasticsearch.xpack.core.security.authc.Realm
config, logger -
Constructor Summary
ConstructorsConstructorDescriptionPkiRealm(org.elasticsearch.xpack.core.security.authc.RealmConfig config, org.elasticsearch.watcher.ResourceWatcherService watcherService, NativeRoleMappingStore nativeRoleMappingStore) -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(org.elasticsearch.xpack.core.security.authc.AuthenticationToken authToken, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.authc.AuthenticationResult<org.elasticsearch.xpack.core.security.user.User>> listener) voidvoidvoidinitialize(Iterable<org.elasticsearch.xpack.core.security.authc.Realm> realms, org.elasticsearch.license.XPackLicenseState licenseState) voidlookupUser(String username, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.user.User> listener) booleansupports(org.elasticsearch.xpack.core.security.authc.AuthenticationToken token) token(org.elasticsearch.common.util.concurrent.ThreadContext context) voidusageStats(org.elasticsearch.action.ActionListener<Map<String, Object>> listener) Methods inherited from class org.elasticsearch.xpack.core.security.authc.Realm
compareTo, domain, getAuthenticationFailureHeaders, name, order, 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(org.elasticsearch.xpack.core.security.authc.RealmConfig config, org.elasticsearch.watcher.ResourceWatcherService watcherService, NativeRoleMappingStore nativeRoleMappingStore)
-
-
Method Details
-
initialize
public void initialize(Iterable<org.elasticsearch.xpack.core.security.authc.Realm> realms, org.elasticsearch.license.XPackLicenseState licenseState) - Overrides:
initializein classorg.elasticsearch.xpack.core.security.authc.Realm
-
supports
public boolean supports(org.elasticsearch.xpack.core.security.authc.AuthenticationToken token) - Specified by:
supportsin classorg.elasticsearch.xpack.core.security.authc.Realm
-
token
public X509AuthenticationToken token(org.elasticsearch.common.util.concurrent.ThreadContext context) - Specified by:
tokenin classorg.elasticsearch.xpack.core.security.authc.Realm
-
authenticate
public void authenticate(org.elasticsearch.xpack.core.security.authc.AuthenticationToken authToken, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.authc.AuthenticationResult<org.elasticsearch.xpack.core.security.user.User>> listener) - Specified by:
authenticatein classorg.elasticsearch.xpack.core.security.authc.Realm
-
lookupUser
public void lookupUser(String username, org.elasticsearch.action.ActionListener<org.elasticsearch.xpack.core.security.user.User> listener) - Specified by:
lookupUserin classorg.elasticsearch.xpack.core.security.authc.Realm
-
expire
- Specified by:
expirein interfaceorg.elasticsearch.xpack.core.security.authc.support.CachingRealm
-
expireAll
public void expireAll()- Specified by:
expireAllin interfaceorg.elasticsearch.xpack.core.security.authc.support.CachingRealm
-
usageStats
- Overrides:
usageStatsin classorg.elasticsearch.xpack.core.security.authc.Realm
-