Interface ClientAuthConfig
- All Superinterfaces:
AuthConfig
Client-side authentication configuration obtained from an
AuthConfigProvider. A ClientAuthConfig provides
the configuration needed to create a ClientAuthContext for authenticating outbound requests.-
Method Summary
Modifier and TypeMethodDescriptionCreates aClientAuthContextfor the specified authentication context ID.Methods inherited from interface AuthConfig
getAppContext, getAuthContextID, getMessageLayer, isProtected, refresh
-
Method Details
-
getAuthContext
ClientAuthContext getAuthContext(String authContextID, Subject clientSubject, Map<String, Object> properties) throws AuthExceptionCreates aClientAuthContextfor the specified authentication context ID.- Parameters:
authContextID- the authentication context IDclientSubject- the subject representing the client, to be populated upon successful authenticationproperties- additional configuration properties- Returns:
- the ClientAuthContext, or
nullif the authContextID is not recognized - Throws:
AuthException- if an error occurs while creating the context
-