Class ElytronAuthConfigProvider

  • All Implemented Interfaces:
    javax.security.auth.message.config.AuthConfigProvider

    public class ElytronAuthConfigProvider
    extends Object
    implements javax.security.auth.message.config.AuthConfigProvider
    The WildFly Elytron implementation of AuthConfigProvider.
    Author:
    Darran Lofthouse
    • Field Detail

      • EMPTY_CLIENT_AUTH_CONFIG

        private static javax.security.auth.message.config.ClientAuthConfig EMPTY_CLIENT_AUTH_CONFIG
      • EMPTY_SERVER_AUTH_CONFIG

        private static javax.security.auth.message.config.ServerAuthConfig EMPTY_SERVER_AUTH_CONFIG
      • messageLayer

        private final String messageLayer
        The messageLayer this config provider will match against, can be null for wildcard matches.
      • applicationContext

        private final String applicationContext
        The applicationContext this config provider will match against, can be null for wildcard matches.
    • Method Detail

      • getClientAuthConfig

        public javax.security.auth.message.config.ClientAuthConfig getClientAuthConfig​(String layer,
                                                                                       String appContext,
                                                                                       CallbackHandler handler)
                                                                                throws javax.security.auth.message.AuthException,
                                                                                       SecurityException
        Specified by:
        getClientAuthConfig in interface javax.security.auth.message.config.AuthConfigProvider
        Throws:
        javax.security.auth.message.AuthException
        SecurityException
        See Also:
        AuthConfigProvider.getClientAuthConfig(java.lang.String, java.lang.String, javax.security.auth.callback.CallbackHandler)
      • getServerAuthConfig

        public javax.security.auth.message.config.ServerAuthConfig getServerAuthConfig​(String layer,
                                                                                       String appContext,
                                                                                       CallbackHandler callbackHandler)
                                                                                throws javax.security.auth.message.AuthException,
                                                                                       SecurityException
        Specified by:
        getServerAuthConfig in interface javax.security.auth.message.config.AuthConfigProvider
        Throws:
        javax.security.auth.message.AuthException
        SecurityException
        See Also:
        AuthConfigProvider.getServerAuthConfig(java.lang.String, java.lang.String, javax.security.auth.callback.CallbackHandler)
      • refresh

        public void refresh()
        Specified by:
        refresh in interface javax.security.auth.message.config.AuthConfigProvider
        See Also:
        AuthConfigProvider.refresh()