Class OAuth2RevocationRequestDecoder
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<TokenRevocationRequest>
net.shibboleth.idp.plugin.oidc.op.oauth2.decoding.impl.OAuth2RevocationRequestDecoder
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,UnmodifiableComponent,MessageDecoder,HttpServletRequestMessageDecoder
public class OAuth2RevocationRequestDecoder
extends BaseOAuth2RequestDecoder<TokenRevocationRequest>
Message decoder decoding OpenID Connect
TokenRevocationRequests.-
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(TokenRevocationRequest message) Get the string representation of what will be logged as the protocol message.protected TokenRevocationRequestParses 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
-
OAuth2RevocationRequestDecoder
public OAuth2RevocationRequestDecoder()
-
-
Method Details
-
parseMessage
Parses the message into the exact type of the request message.- Specified by:
parseMessagein classBaseOAuth2RequestDecoder<TokenRevocationRequest>- Returns:
- The request message
- Throws:
MessageDecodingException- if there is a problem decoding the message context
-
getMessageToLog
Get the string representation of what will be logged as the protocol message.- Specified by:
getMessageToLogin classBaseOAuth2RequestDecoder<TokenRevocationRequest>- Parameters:
message- the request message- Returns:
- the string representing the protocol message for logging purposes
-