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<com.nimbusds.oauth2.sdk.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<com.nimbusds.oauth2.sdk.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(com.nimbusds.oauth2.sdk.TokenRevocationRequest message) Get the string representation of what will be logged as the protocol message.protected com.nimbusds.oauth2.sdk.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
protected com.nimbusds.oauth2.sdk.TokenRevocationRequest parseMessage() throws MessageDecodingExceptionParses the message into the exact type of the request message.- Specified by:
parseMessagein classBaseOAuth2RequestDecoder<com.nimbusds.oauth2.sdk.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<com.nimbusds.oauth2.sdk.TokenRevocationRequest>- Parameters:
message- the request message- Returns:
- the string representing the protocol message for logging purposes
-