public class CheckAccess extends AbstractProfileAction
Constructor and Description |
---|
CheckAccess() |
Modifier and Type | Method and Description |
---|---|
void |
doExecute(ProfileRequestContext profileRequestContext)
Performs this action.
|
protected void |
doInitialize() |
boolean |
doPreExecute(ProfileRequestContext profileRequestContext)
Called prior to execution, actions may override this method to perform pre-processing for a request.
|
void |
setAccessControlService(net.shibboleth.utilities.java.support.security.AccessControlService acs)
Set the service to use.
|
void |
setOperation(String op)
Set operation.
|
void |
setPolicyName(String name)
Set policy name.
|
void |
setResource(String res)
Set resource.
|
doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponse
destroy, doDestroy, initialize, isDestroyed, isInitialized
public void setAccessControlService(@Nonnull net.shibboleth.utilities.java.support.security.AccessControlService acs)
acs
- service to usepublic void setPolicyName(@Nonnull String name)
name
- policy nameprotected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize
in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.ComponentInitializationException
public boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
If false is returned, execution will not proceed, and the action should attach an
EventContext
to the context tree to signal how to continue with overall
workflow processing.
If returning successfully, the last step should be to return the result of the superclass version of this method.
doPreExecute
in class AbstractProfileAction
profileRequestContext
- the current IdP profile request contextpublic void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute
in class AbstractProfileAction
profileRequestContext
- the current IdP profile request contextCopyright © 2016. All rights reserved.