public interface ServerAuthContext extends ServerAuth
This ServerAuthContext class encapsulates ServerAuthModules that are used to secure requests made as a client. A caller typically uses this class in the following manner:
ServerAuthContext implementation invokes encapsulated ServerAuthModule(s). Module(s) verify or decrypt response as necessary.
Authentication complete.
Perform authorization check on authenticated identity and, if successful, dispatch to requested service application.
ServerAuthContext implementation invokes encapsulated ServerAuthModule(s). Module(s) secure response (sign and encrypt response, for example).
A ServerAuthContext instance may be used concurrently by multiple callers.
A ServerAuthContext instance may be used concurrently by multiple callers.
Implementations of this interface are responsible for constructing and initializing the encapsulated modules. The initialization step includes passing the relevant request and response MessagePolicy objects to the encapsulated modules. The MessagePolicy objects are obtained from the ServerAuthConfig instance that was provided when this ServerAuthContext instance was created.
cleanSubject, secureResponse, validateRequest
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.