Class BuildRevokeTokenErrorResponseFromEvent
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.AbstractConditionalProfileAction
net.shibboleth.idp.profile.AbstractProfileAction
net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractBuildErrorResponseFromEvent<OAuth2RevocationErrorResponse,RevocationErrorObjectMapping>
net.shibboleth.idp.plugin.oidc.op.oauth2.profile.impl.BuildRevokeTokenErrorResponseFromEvent
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
public class BuildRevokeTokenErrorResponseFromEvent
extends AbstractBuildErrorResponseFromEvent<OAuth2RevocationErrorResponse,RevocationErrorObjectMapping>
This action reads an event from the configured
EventContext lookup strategy, constructs an OAuth2 Token
Revocation error response message and attaches it as the outbound message.-
Field Summary
Fields inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractBuildErrorResponseFromEvent
DEFAULT_ERROR_CODE, DEFAULT_HTTP_STATUS_CODE -
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected OAuth2RevocationErrorResponsebuildErrorResponse(com.nimbusds.oauth2.sdk.ErrorObject error, ProfileRequestContext profileRequestContext) Method implemented by the extending class to create ErrorResponse.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractBuildErrorResponseFromEvent
doExecute, doPreExecute, setDefaultCode, setDefaultStatusCode, setEventContextLookupStrategy, setMappedErrorsMethods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getBean, getBean, getMessage, getMessage, getMessage, getParameter, getParameter, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategyMethods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
getActivationCondition, setActivationConditionMethods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, 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.InitializableComponent
initialize, isInitialized
-
Constructor Details
-
BuildRevokeTokenErrorResponseFromEvent
@Autowired public BuildRevokeTokenErrorResponseFromEvent(@Nullable Collection<RevocationErrorObjectMapping> freeObjects) Constructor.- Parameters:
freeObjects- free-standing objects to add
-
-
Method Details
-
buildErrorResponse
protected OAuth2RevocationErrorResponse buildErrorResponse(@Nonnull com.nimbusds.oauth2.sdk.ErrorObject error, ProfileRequestContext profileRequestContext) Description copied from class:AbstractBuildErrorResponseFromEventMethod implemented by the extending class to create ErrorResponse.- Specified by:
buildErrorResponsein classAbstractBuildErrorResponseFromEvent<OAuth2RevocationErrorResponse,RevocationErrorObjectMapping> - Parameters:
error- error object to build the response from.profileRequestContext- profile request context.- Returns:
- ErrorResponse
-