public interface AuthConfig
ClientAuthContext
,
ServerAuthContext
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAppContext()
Get the application context identifier of this authentication context configuration object.
|
java.lang.String |
getAuthContextID(MessageInfo messageInfo)
Get the authentication context identifier corresponding to the request and response objects encapsulated in
messageInfo.
|
java.lang.String |
getMessageLayer()
Get the message layer name of this authentication context configuration object.
|
boolean |
isProtected()
Used to determine whether the authentication context configuration object encapsulates any protected authentication
contexts.
|
void |
refresh()
Causes a dynamic authentication context configuration object to update the internal state that it uses to process
calls to its
getAuthContext method. |
java.lang.String getMessageLayer()
java.lang.String getAppContext()
java.lang.String getAuthContextID(MessageInfo messageInfo)
messageInfo
- A contextual Object that encapsulates the client request and server response objects.java.lang.IllegalArgumentException
- If the type of the message objects incorporated in messageInfo are not compatible
with the message types supported by this authentication context configuration object.void refresh()
getAuthContext
method.java.lang.SecurityException
- If the caller does not have permission to refresh the configuration object, or if an
error occurred during the update.boolean isProtected()