This interface is implemented by objects that can be used to obtain authentication context configuration objects i.e., ClientAuthConfig or ServerAuthConfig objects. Authentication context configuration objects serve as sources of the authentication context objects, i.e, ClientAuthContext or ServerAuthContext objects, for a specific message layer and messaging context.
Authentication context objects encapsulate the initialization, configuration, and invocation of authentication modules, i.e., ClientAuthModule or ServerAuthModule objects, for a specific message exchange within a specific message layer and messaging context.
Callers do not directly operate on authentication modules. Instead, they rely on a ClientAuthContext or ServerAuthContext to manage the invocation of modules. A caller obtains an instance of ClientAuthContext or ServerAuthContext by calling the respective getAuthContext method on a ClientAuthConfig or ServerAuthConfig object obtained from an AuthConfigProvider.
The following represents a typical sequence of calls for obtaining a client authentication context object, and then using it to secure a request.
Every implementation of this interface must offer a public, single argument constructor with the following signature:
public AuthConfigProviderImpl(Map properties);
where the properties argument may be null, and where all values and keys occuring in a non-null properties argument must be of type String.
An AuthConfigFactory may be used to obtain the ConfigProvider for a specific message layer and application context identifier.
- href="mailto:Anil.Saldhana@jboss.org">Anil Saldhana
Charlie
- Lai, Ron Monzillo (Javadoc for JSR-196)May
- 12, 2006$
- Revision: 45179 $Method from javax.security.auth.message.config.AuthConfigProvider Summary: |
---|
getClientAuthConfig, getServerAuthConfig, refresh |
Method from javax.security.auth.message.config.AuthConfigProvider Detail: |
---|
|
|
The effect on the authentication context configuration objects should be extended to the authentication context objects obtained from the configuration objects, such that the context objects recognize changes in the state of the configuration object from which they were obtained. |