Class JaspiAuthenticationContext

java.lang.Object
org.wildfly.security.auth.jaspi.impl.JaspiAuthenticationContext

public class JaspiAuthenticationContext extends Object
Author:
Darran Lofthouse
  • Method Details

    • newInstance

      @Deprecated public static JaspiAuthenticationContext newInstance(org.wildfly.security.auth.server.SecurityDomain securityDomain, boolean integrated)
      Deprecated.
    • newInstance

      public static JaspiAuthenticationContext newInstance(org.wildfly.security.auth.server.SecurityDomain securityDomain, boolean integrated, org.wildfly.security.cache.CachedIdentity cachedIdentity)
    • newInstance

      public static JaspiAuthenticationContext newInstance(org.wildfly.security.auth.server.SecurityDomain securityDomain, boolean integrated, org.wildfly.security.auth.server.SecurityIdentity cachedIdentity)
    • getServerAuthConfig

      public jakarta.security.auth.message.config.ServerAuthConfig getServerAuthConfig(jakarta.security.auth.message.config.AuthConfigProvider authConfigProvider, String layer, String appContext) throws jakarta.security.auth.message.AuthException
      Throws:
      jakarta.security.auth.message.AuthException
    • createCallbackHandler

      public CallbackHandler createCallbackHandler()
    • getAuthorizedIdentity

      public org.wildfly.security.auth.server.SecurityIdentity getAuthorizedIdentity() throws IllegalStateException
      Get the authorized identity result of this authentication.
      Returns:
      the authorized identity
      Throws:
      IllegalStateException - if the authentication is incomplete