Package | Description |
---|---|
javax.security.auth.message |
This package defines the core interfaces of the JSR 196 message authentication SPI.
|
javax.security.auth.message.config |
This package defines the interfaces implemented by JSR 196 compatible configuration
systems.
|
javax.security.auth.message.module |
This package defines the interfaces implemented by JSR 196 compatible authentication
modules.
|
org.jboss.security.auth.container.modules | |
org.jboss.security.auth.message.config |
Modifier and Type | Method and Description |
---|---|
void |
ServerAuth.cleanSubject(MessageInfo messageInfo,
Subject subject)
Remove method specific principals and credentials from the subject.
|
void |
ClientAuth.cleanSubject(MessageInfo messageInfo,
Subject subject)
Remove implementation specific principals and credentials from the subject.
|
AuthStatus |
ClientAuth.secureRequest(MessageInfo messageInfo,
Subject clientSubject)
Secure a service request message before sending it to the service.
|
AuthStatus |
ServerAuth.secureResponse(MessageInfo messageInfo,
Subject serviceSubject)
Secure a service response before sending it to the client.
|
AuthStatus |
ServerAuth.validateRequest(MessageInfo messageInfo,
Subject clientSubject,
Subject serviceSubject)
Authenticate a received service request.
|
AuthStatus |
ClientAuth.validateResponse(MessageInfo messageInfo,
Subject clientSubject,
Subject serviceSubject)
Validate a received service response.
|
Modifier and Type | Method and Description |
---|---|
ServerAuthContext |
ServerAuthConfig.getAuthContext(String authContextID,
Subject serviceSubject,
Map properties)
Get a ServerAuthContext instance from this ServerAuthConfig.
|
ClientAuthContext |
ClientAuthConfig.getAuthContext(String authContextID,
Subject clientSubject,
Map properties)
Get a ClientAuthContext instance from this ClientAuthConfig.
|
ClientAuthConfig |
AuthConfigProvider.getClientAuthConfig(String layer,
String appContext,
CallbackHandler handler)
Get an instance of ClientAuthConfig from this provider.
|
ServerAuthConfig |
AuthConfigProvider.getServerAuthConfig(String layer,
String appContext,
CallbackHandler handler)
Get an instance of ServerAuthConfig from this provider.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerAuthModule.initialize(MessagePolicy requestPolicy,
MessagePolicy responsePolicy,
CallbackHandler handler,
Map options)
Initialize this module with request and response message policies to
enforce, a CallbackHandler, and any module-specific configuration
properties.
|
void |
ClientAuthModule.initialize(MessagePolicy requestPolicy,
MessagePolicy responsePolicy,
CallbackHandler handler,
Map options)
Initialize this module with request and response message policies to
enforce, a CallbackHandler, and any module-specific configuration
properties.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleClientAuthModule.cleanSubject(MessageInfo messageInfo,
Subject subject) |
void |
DelegatingServerAuthModule.cleanSubject(MessageInfo messageInfo,
Subject subject) |
void |
AbstractServerAuthModule.cleanSubject(MessageInfo messageInfo,
Subject subject) |
void |
SimpleClientAuthModule.initialize(MessagePolicy requestPolicy,
MessagePolicy responsePolicy,
CallbackHandler handler,
Map options) |
void |
AbstractServerAuthModule.initialize(MessagePolicy requestPolicy,
MessagePolicy responsePolicy,
CallbackHandler handler,
Map options) |
AuthStatus |
SimpleClientAuthModule.secureRequest(MessageInfo param,
Subject source) |
AuthStatus |
SimpleServerAuthModule.secureResponse(MessageInfo param,
Subject source) |
AuthStatus |
HttpServletServerAuthModule.secureResponse(MessageInfo arg0,
Subject arg1) |
AuthStatus |
DelegatingServerAuthModule.secureResponse(MessageInfo messageInfo,
Subject arg1) |
AuthStatus |
AllSuccessServerAuthModule.secureResponse(MessageInfo arg0,
Subject arg1) |
AuthStatus |
AllFailureServerAuthModule.secureResponse(MessageInfo arg0,
Subject arg1) |
protected boolean |
SimpleServerAuthModule.validate(Subject clientSubject,
MessageInfo messageInfo) |
protected boolean |
HttpServletServerAuthModule.validate(Subject clientSubject,
MessageInfo messageInfo) |
protected boolean |
DelegatingServerAuthModule.validate(Subject clientSubject,
MessageInfo messageInfo) |
protected boolean |
AllSuccessServerAuthModule.validate(Subject clientSubject,
MessageInfo messageInfo) |
protected boolean |
AllFailureServerAuthModule.validate(Subject clientSubject,
MessageInfo messageInfo) |
protected abstract boolean |
AbstractServerAuthModule.validate(Subject clientSubject,
MessageInfo messageInfo)
Subclasses have to implement this method to actually validate the subject
|
AuthStatus |
AbstractServerAuthModule.validateRequest(MessageInfo messageInfo,
Subject clientSubject,
Subject serviceSubject)
This method delegates to a login module if configured in the module options.
|
AuthStatus |
SimpleClientAuthModule.validateResponse(MessageInfo messageInfo,
Subject source,
Subject recipient) |
Modifier and Type | Method and Description |
---|---|
void |
JBossServerAuthContext.cleanSubject(MessageInfo messageInfo,
Subject subject) |
void |
JBossClientAuthContext.cleanSubject(MessageInfo messageInfo,
Subject subject) |
ServerAuthContext |
JBossServerAuthConfig.getAuthContext(String authContextID,
Subject serviceSubject,
Map properties) |
ClientAuthContext |
JBossClientAuthConfig.getAuthContext(String authContextID,
Subject clientSubject,
Map properties) |
ClientAuthConfig |
JBossAuthConfigProvider.getClientAuthConfig(String layer,
String appContext,
CallbackHandler handler) |
ServerAuthConfig |
JBossAuthConfigProvider.getServerAuthConfig(String layer,
String appContext,
CallbackHandler handler) |
AuthStatus |
JBossClientAuthContext.secureRequest(MessageInfo messageInfo,
Subject clientSubject) |
AuthStatus |
JBossServerAuthContext.secureResponse(MessageInfo messageInfo,
Subject serviceSubject) |
AuthStatus |
JBossServerAuthContext.validateRequest(MessageInfo messageInfo,
Subject clientSubject,
Subject serviceSubject) |
AuthStatus |
JBossClientAuthContext.validateResponse(MessageInfo messageInfo,
Subject clientSubject,
Subject serviceSubject) |
Constructor and Description |
---|
JBossServerAuthContext(List<ServerAuthModule> modules,
Map<String,Map> moduleNameToOptions,
CallbackHandler cbh) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.