Class OIDCAuthenticationRequestDecoder
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.decoder.AbstractMessageDecoder
org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder
net.shibboleth.idp.plugin.oidc.op.oauth2.decoding.impl.BaseOAuth2RequestDecoder<com.nimbusds.openid.connect.sdk.AuthenticationRequest>
net.shibboleth.idp.plugin.oidc.op.decoding.impl.OIDCAuthenticationRequestDecoder
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,UnmodifiableComponent,MessageDecoder,HttpServletRequestMessageDecoder
public class OIDCAuthenticationRequestDecoder
extends BaseOAuth2RequestDecoder<com.nimbusds.openid.connect.sdk.AuthenticationRequest>
Message decoder decoding OpenID Connect
AuthenticationRequests.-
Field Summary
FieldsFields inherited from class net.shibboleth.idp.plugin.oidc.op.oauth2.decoding.impl.BaseOAuth2RequestDecoder
customRequestParserFields inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
BASE_PROTOCOL_MESSAGE_LOGGER_CATEGORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetMessageToLog(com.nimbusds.openid.connect.sdk.AuthenticationRequest message) Get the string representation of what will be logged as the protocol message.protected com.nimbusds.openid.connect.sdk.AuthenticationRequestParses the message into the exact type of the request message.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.oauth2.decoding.impl.BaseOAuth2RequestDecoder
doDecode, getEndpointURI, serializeMessageForLogging, setCustomRequestParser, setRemoveIpAddressFromEndpointUri, switchIntoCustomResource, transformResourceParameterMethods inherited from class org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder
doInitialize, getHttpServletRequest, getHttpServletRequestSupplier, setHttpServletRequestSupplierMethods inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
decode, getMessageContext, getMessageToLog, getProtocolMessageLogger, getProtocolMessageLoggerSubCategory, logDecodedMessage, setMessageContext, setProtocolMessageLoggerSubCategoryMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.DestructableComponent
destroy, isDestroyedMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitializedMethods inherited from interface org.opensaml.messaging.decoder.MessageDecoder
decode, getMessageContext
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
OIDCAuthenticationRequestDecoder
public OIDCAuthenticationRequestDecoder()
-
-
Method Details
-
parseMessage
protected com.nimbusds.openid.connect.sdk.AuthenticationRequest parseMessage() throws MessageDecodingExceptionParses the message into the exact type of the request message.- Specified by:
parseMessagein classBaseOAuth2RequestDecoder<com.nimbusds.openid.connect.sdk.AuthenticationRequest>- Returns:
- The request message
- Throws:
MessageDecodingException- if there is a problem decoding the message context
-
getMessageToLog
protected String getMessageToLog(@Nullable com.nimbusds.openid.connect.sdk.AuthenticationRequest message) Get the string representation of what will be logged as the protocol message.- Specified by:
getMessageToLogin classBaseOAuth2RequestDecoder<com.nimbusds.openid.connect.sdk.AuthenticationRequest>- Parameters:
message- the request message- Returns:
- the string representing the protocol message for logging purposes
-