Class DPoPAccessTokenInRequestCondition
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.plugin.oidc.op.profile.logic.DPoPAccessTokenInRequestCondition
- All Implemented Interfaces:
Predicate<ProfileRequestContext>,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class DPoPAccessTokenInRequestCondition
extends AbstractIdentifiableInitializableComponent
implements Predicate<ProfileRequestContext>
A predicate returning true it detects a DPoP access token from the
HttpServletRequest.- Since:
- 4.2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Supplier<HttpServletRequest>Supplier for theHttpServletRequest. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidSet the supplier for theHttpServletRequest.booleantest(ProfileRequestContext input) Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, 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.IdentifiedComponent
getId
-
Field Details
-
httpServletRequestSupplier
Supplier for theHttpServletRequest.
-
-
Constructor Details
-
DPoPAccessTokenInRequestCondition
public DPoPAccessTokenInRequestCondition()
-
-
Method Details
-
setHttpServletRequestSupplier
Set the supplier for theHttpServletRequest.- Parameters:
supplier- What to set.
-
doInitialize
- Overrides:
doInitializein classAbstractIdentifiedInitializableComponent- Throws:
ComponentInitializationException
-
test
- Specified by:
testin interfacePredicate<ProfileRequestContext>
-