public interface AuthConfig
This interface defines the common functionality implemented by Authentication context configuration objects.
ClientAuthContext
,
ServerAuthContext
Modifier and Type | Method and Description |
---|---|
String |
getAppContext()
Get the application context identifier of this authentication context configuration object.
|
String |
getAuthContextID(MessageInfo messageInfo)
Get the authentication context identifier corresponding to the request and response objects encapsulated in
messageInfo.
|
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.
|
String getAppContext()
Get the application context identifier of this authentication context configuration object.
String getAuthContextID(MessageInfo messageInfo)
Get the authentication context identifier corresponding to the request and response objects encapsulated in messageInfo.
messageInfo
- A contextual Object that encapsulates the client request and server response objects.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.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.
SecurityException
- If the caller does not have permission to refresh the configuration object,
or if an error occurred during the update.Copyright © 2019 JBoss by Red Hat. All rights reserved.