public class CheckAccess extends AbstractProfileAction
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private java.lang.String |
operation
Operation.
|
private java.lang.String |
policyName
Policy name.
|
private java.lang.String |
resource
Resource.
|
private net.shibboleth.utilities.java.support.security.AccessControlService |
service
Access control service.
|
| 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(java.lang.String op)
Set operation.
|
void |
setPolicyName(java.lang.String name)
Set policy name.
|
void |
setResource(java.lang.String res)
Set resource.
|
doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, initialize, isDestroyed, isInitialized@Nonnull private final org.slf4j.Logger log
@NonnullAfterInit private net.shibboleth.utilities.java.support.security.AccessControlService service
@NonnullAfterInit private java.lang.String policyName
@Nullable private java.lang.String operation
@Nullable private java.lang.String resource
public void setAccessControlService(@Nonnull
net.shibboleth.utilities.java.support.security.AccessControlService acs)
acs - service to usepublic void setPolicyName(@Nonnull
java.lang.String name)
name - policy namepublic void setOperation(@Nonnull
java.lang.String op)
op - operationpublic void setResource(@Nonnull
java.lang.String res)
res - resourceprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic 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 AbstractProfileActionprofileRequestContext - the current IdP profile request contextpublic void doExecute(@Nonnull
ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionprofileRequestContext - the current IdP profile request context