Class X509AuthenticationToken
java.lang.Object
org.elasticsearch.xpack.security.authc.pki.X509AuthenticationToken
- All Implemented Interfaces:
org.elasticsearch.xpack.core.security.authc.AuthenticationToken
public class X509AuthenticationToken
extends Object
implements org.elasticsearch.xpack.core.security.authc.AuthenticationToken
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic X509AuthenticationTokendelegated(X509Certificate[] certificates, org.elasticsearch.xpack.core.security.authc.Authentication delegateeAuthentication) dn()org.elasticsearch.xpack.core.security.authc.AuthenticationbooleanvoidsetPrincipal(String principal)
-
Constructor Details
-
X509AuthenticationToken
-
-
Method Details
-
delegated
public static X509AuthenticationToken delegated(X509Certificate[] certificates, org.elasticsearch.xpack.core.security.authc.Authentication delegateeAuthentication) -
principal
- Specified by:
principalin interfaceorg.elasticsearch.xpack.core.security.authc.AuthenticationToken
-
setPrincipal
-
credentials
- Specified by:
credentialsin interfaceorg.elasticsearch.xpack.core.security.authc.AuthenticationToken
-
dn
-
clearCredentials
public void clearCredentials()- Specified by:
clearCredentialsin interfaceorg.elasticsearch.xpack.core.security.authc.AuthenticationToken
-
isDelegated
public boolean isDelegated() -
getDelegateeAuthentication
public org.elasticsearch.xpack.core.security.authc.Authentication getDelegateeAuthentication()
-