Uses of Interface
org.forgerock.caf.authentication.api.MessageInfoContext
Package
Description
This package defines the core interfaces and classes to provide an asynchronous and improved
JASPI-like message authentication API.
This package defines the authentication framework classes for the authentication of messages
via authentication contexts and modules.
This package contains classes which form the Open ID Connect JASPIc AuthN module.
This package contains classes for the Jwt Session JASPI Authentication Module.
-
Uses of MessageInfoContext in org.forgerock.caf.authentication.api
Modifier and TypeInterfaceDescriptioninterface
The authentication framework uses thisMessageContext
to pass messages and message processing state to authentication contexts for processing by authentication modules.Modifier and TypeMethodDescriptionAsyncServerAuthModule.cleanSubject
(MessageInfoContext messageInfo, Subject clientSubject) Removes any method specific principals and credentials from the client subject.Promise<javax.security.auth.message.AuthStatus,
AuthenticationException> AsyncServerAuthModule.secureResponse
(MessageInfoContext messageInfo, Subject serviceSubject) Secures the outgoing response message.Promise<javax.security.auth.message.AuthStatus,
AuthenticationException> AsyncServerAuthModule.validateRequest
(MessageInfoContext messageInfo, Subject clientSubject, Subject serviceSubject) Validates the incoming request message. -
Uses of MessageInfoContext in org.forgerock.caf.authentication.framework
Modifier and TypeClassDescriptionfinal class
An implementation ofMessageContext
that holds contextual information and state for a given request and response message exchange.Modifier and TypeMethodDescriptionstatic javax.security.auth.message.MessageInfo
JaspiAdapters.adapt
(MessageInfoContext messageInfoContext) Adapts anMessageContextInfo
into a JASPIMessageInfo
. -
Uses of MessageInfoContext in org.forgerock.jaspi.modules.openid
Modifier and TypeMethodDescriptionOpenIdConnectModule.cleanSubject
(MessageInfoContext messageInfo, Subject subject) Nothing to clean.Promise<javax.security.auth.message.AuthStatus,
AuthenticationException> OpenIdConnectModule.secureResponse
(MessageInfoContext messageInfo, Subject subject) Sends SEND_SUCCESS automatically.Promise<javax.security.auth.message.AuthStatus,
AuthenticationException> OpenIdConnectModule.validateRequest
(MessageInfoContext messageInfo, Subject clientSubject, Subject serviceSubject) Attempts to retrieve the value of the specified OpenID Connect header from the messageInfo, then converts this to a Jwt and attempts to decrypt. -
Uses of MessageInfoContext in org.forgerock.jaspi.modules.session.jwt
Modifier and TypeMethodDescriptionJwtSessionModule.cleanSubject
(MessageInfoContext messageInfo, Subject clientSubject) Promise<javax.security.auth.message.AuthStatus,
AuthenticationException> JwtSessionModule.secureResponse
(MessageInfoContext messageInfo, Subject serviceSubject) Promise<javax.security.auth.message.AuthStatus,
AuthenticationException> JwtSessionModule.validateRequest
(MessageInfoContext messageInfo, Subject clientSubject, Subject serviceSubject)