Class AdminAccessPredicate
java.lang.Object
net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
net.shibboleth.idp.plugin.authn.duo.admin.impl.AdminAccessPredicate
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
Wrapper predicate for implementing access control check for admin flow.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AccessControlServiceAccess control service.private Supplier<HttpServletRequest>ServletRequest supplier. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSetsAccessControlServiceto use for guarding admin access to cookie.voidSets the supplier of the activeHttpServletRequest.booleantest(ProfileRequestContext input) Methods inherited from class net.shibboleth.profile.context.logic.AbstractRelyingPartyPredicate
getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
accessControlService
Access control service. -
requestSupplier
ServletRequest supplier.
-
-
Constructor Details
-
AdminAccessPredicate
public AdminAccessPredicate()
-
-
Method Details
-
setHttpServletRequestSupplier
Sets the supplier of the activeHttpServletRequest.- Parameters:
supplier- request supplier
-
test