Class DoClientManagementOperation
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.admin.impl.AbstractAdminApiProfileAction
net.shibboleth.idp.plugin.oidc.op.admin.impl.DoClientManagementOperation
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
Action that implements a JSON REST API for querying and deleting OIDC client information.
The API supports GET and DELETE at the moment, using jsonapi.org conventions.
- Since:
- 3.1.0
- Event:
EventIds.PROCEED_EVENT_ID,EventIds.INVALID_PROFILE_CTX,EventIds.IO_ERROR
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringFlow variable indicating ID of storage key.private StringClient ID to operate on.private org.slf4j.LoggerClass logger.private ClientInformationManagerClientInformationManagerto operate on.private ClientInformationResolverClientInformationResolverto operate on. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) protected voidprotected booleandoPreExecute(ProfileRequestContext profileRequestContext) voidsetClientInformationManager(ClientInformationManager theManager) Set theClientInformationManagerto use for deletion.voidsetClientInformationResolver(ClientInformationResolver theResolver) Set theClientInformationResolverto use for retrieval.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.admin.impl.AbstractAdminApiProfileAction
getObjectMapper, sendError, setObjectMapperMethods 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, 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
-
Field Details
-
CLIENT_ID
Flow variable indicating ID of storage key.- See Also:
-
log
@Nonnull private org.slf4j.Logger logClass logger. -
resolver
ClientInformationResolverto operate on. -
manager
ClientInformationManagerto operate on. -
clientId
Client ID to operate on.
-
-
Constructor Details
-
DoClientManagementOperation
public DoClientManagementOperation()
-
-
Method Details
-
setClientInformationResolver
Set theClientInformationResolverto use for retrieval.- Parameters:
theResolver- client info resolver
-
setClientInformationManager
Set theClientInformationManagerto use for deletion.- Parameters:
theManager- client info manager
-
doInitialize
- Overrides:
doInitializein classAbstractAdminApiProfileAction- Throws:
ComponentInitializationException
-
doPreExecute
- Overrides:
doPreExecutein classAbstractAdminApiProfileAction
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-