Class OIDCAuthnContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.plugin.authn.oidc.rp.context.OIDCAuthnContext
- All Implemented Interfaces:
Iterable<BaseContext>
Manages state during proxied OIDC authentication via a Spring Controller.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator, BaseContext.DeprecatedContextClassNameLookAside -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<String,MessageDecoder> The function to use to obtain a decoder.private final ProfileActionProfile action to execute to produce outbound message response.private MessageHandlerOutbound message handler to run prior to encoding. -
Constructor Summary
ConstructorsConstructorDescriptionOIDCAuthnContext(ProfileAction action, Function<String, MessageDecoder> factory) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the message-encoding profile action.Get the factory function to obtain message decoders.Get the outboundMessageHandlerto run prior to encoding.setOutboundMessageHandler(MessageHandler handler) Set the outboundMessageHandlerto run prior to encoding.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, ensureSubcontext, ensureSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeFromParent, removeSubcontext, removeSubcontext, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
outboundMessageHandler
Outbound message handler to run prior to encoding. -
encodeMessageAction
Profile action to execute to produce outbound message response. -
decoderFactory
The function to use to obtain a decoder.
-
-
Constructor Details
-
OIDCAuthnContext
public OIDCAuthnContext(@Nonnull ProfileAction action, @Nonnull Function<String, MessageDecoder> factory) Constructor.- Parameters:
action- message-encoding profile actionfactory- the message descoder factory
-
-
Method Details
-
getEncodeMessageAction
Get the message-encoding profile action.- Returns:
- profile action
-
getOutboundMessageHandler
Get the outboundMessageHandlerto run prior to encoding.- Returns:
- the outbound
MessageHandler
-
setOutboundMessageHandler
Set the outboundMessageHandlerto run prior to encoding.- Parameters:
handler- outboundMessageHandlerto set- Returns:
- this context
-
getMessageDecoderFactory
Get the factory function to obtain message decoders.- Returns:
- factory function
-