public interface ServerAuthContext extends ServerAuth
ServerAuthConfig.getAuthContext
.
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 by the ServerAuthConfig instance used to obtain the
ServerAuthContext
object. See ServerAuthConfig.getAuthContext
for more information.
Implementations of this interface are instantiated by their associated configuration object such that they know which modules to invoke, in what order, and how results returned by preceding modules are to influence subsequent module invocations.
Calls to the inherited methods of this interface delegate to the corresponding methods of the encapsulated authentication modules.
ServerAuthConfig
,
ServerAuthModule
cleanSubject, secureResponse, validateRequest