public class PredicateAccessControl
extends net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
implements net.shibboleth.utilities.java.support.security.AccessControl
ProfileRequestContext.| Modifier and Type | Field and Description |
|---|---|
private Logger |
log
Class logger.
|
private Predicate<ProfileRequestContext> |
predicate
The predicate to use.
|
| Constructor and Description |
|---|
PredicateAccessControl(Predicate<ProfileRequestContext> condition)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAccess(ServletRequest request,
String operation,
String resource) |
private String |
getLogPrefix()
Get logging prefix.
|
setIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitialized@Nonnull private final Predicate<ProfileRequestContext> predicate
public PredicateAccessControl(@Nonnull@ParameterName(name="condition") Predicate<ProfileRequestContext> condition)
condition - the predicate to useCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.