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 Details

    • X509AuthenticationToken

      public X509AuthenticationToken(X509Certificate[] certificates)
  • Method Details

    • delegated

      public static X509AuthenticationToken delegated(X509Certificate[] certificates, org.elasticsearch.xpack.core.security.authc.Authentication delegateeAuthentication)
    • principal

      public String principal()
      Specified by:
      principal in interface org.elasticsearch.xpack.core.security.authc.AuthenticationToken
    • setPrincipal

      public void setPrincipal(String principal)
    • credentials

      public X509Certificate[] credentials()
      Specified by:
      credentials in interface org.elasticsearch.xpack.core.security.authc.AuthenticationToken
    • dn

      public String dn()
    • clearCredentials

      public void clearCredentials()
      Specified by:
      clearCredentials in interface org.elasticsearch.xpack.core.security.authc.AuthenticationToken
    • isDelegated

      public boolean isDelegated()
    • getDelegateeAuthentication

      public org.elasticsearch.xpack.core.security.authc.Authentication getDelegateeAuthentication()