Class OIDCLogoutRequestDecoder
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.LogoutRequest>
net.shibboleth.idp.plugin.oidc.op.decoding.impl.OIDCLogoutRequestDecoder
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,UnmodifiableComponent,MessageDecoder,HttpServletRequestMessageDecoder
public class OIDCLogoutRequestDecoder
extends BaseOAuth2RequestDecoder<com.nimbusds.openid.connect.sdk.LogoutRequest>
Message decoder decoding OpenID Connect
LogoutRequests.-
Field Summary
FieldsFields 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.LogoutRequest message) Get the string representation of what will be logged as the protocol message.protected com.nimbusds.openid.connect.sdk.LogoutRequestParses 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, setRemoveIpAddressFromEndpointUri, switchIntoCustomResourceMethods 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
-
OIDCLogoutRequestDecoder
public OIDCLogoutRequestDecoder()
-
-
Method Details
-
parseMessage
@Nonnull protected com.nimbusds.openid.connect.sdk.LogoutRequest parseMessage() throws MessageDecodingExceptionParses the message into the exact type of the request message.- Specified by:
parseMessagein classBaseOAuth2RequestDecoder<com.nimbusds.openid.connect.sdk.LogoutRequest>- Returns:
- The request message
- Throws:
MessageDecodingException- if there is a problem decoding the message context
-
getMessageToLog
@Nullable protected String getMessageToLog(@Nullable com.nimbusds.openid.connect.sdk.LogoutRequest message) Get the string representation of what will be logged as the protocol message.- Specified by:
getMessageToLogin classBaseOAuth2RequestDecoder<com.nimbusds.openid.connect.sdk.LogoutRequest>- Parameters:
message- the request message- Returns:
- the string representing the protocol message for logging purposes
-