Class OIDCTokenRequestDecoder
- java.lang.Object
-
- net.shibboleth.utilities.java.support.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.TokenRequest>
-
- net.shibboleth.idp.plugin.oidc.op.decoding.impl.OIDCTokenRequestDecoder
-
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,UnmodifiableComponent,MessageDecoder,HttpServletRequestMessageDecoder
public class OIDCTokenRequestDecoder extends BaseOAuth2RequestDecoder<com.nimbusds.oauth2.sdk.TokenRequest>
Message decoder decoding OpenID ConnectTokenRequests.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description OIDCTokenRequestDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetMessageToLog(com.nimbusds.oauth2.sdk.TokenRequest message)Get the string representation of what will be logged as the protocol message.protected com.nimbusds.oauth2.sdk.TokenRequestparseMessage()Parses 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, getProtocolMessageLog
-
Methods inherited from class org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder
decode, doDestroy, doInitialize, getHttpServletRequest, setHttpServletRequest
-
Methods inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
getMessageContext, setMessageContext
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.DestructableComponent
destroy, isDestroyed
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
Methods inherited from interface org.opensaml.messaging.decoder.MessageDecoder
getMessageContext
-
-
-
-
Method Detail
-
parseMessage
protected com.nimbusds.oauth2.sdk.TokenRequest parseMessage() throws MessageDecodingExceptionParses the message into the exact type of the request message.- Specified by:
parseMessagein classBaseOAuth2RequestDecoder<com.nimbusds.oauth2.sdk.TokenRequest>- Returns:
- The request message
- Throws:
MessageDecodingException- if there is a problem decoding the message context
-
getMessageToLog
protected String getMessageToLog(@Nullable com.nimbusds.oauth2.sdk.TokenRequest message)
Get the string representation of what will be logged as the protocol message.- Specified by:
getMessageToLogin classBaseOAuth2RequestDecoder<com.nimbusds.oauth2.sdk.TokenRequest>- Parameters:
message- the request message- Returns:
- the string representing the protocol message for logging purposes
-
-