Class TriggerRegistrationOnLoad
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.admin.impl.TriggerRegistrationOnLoad
- All Implemented Interfaces:
Predicate<ProfileRequestContext>
Predicate wrapping an injectable predicate, indicating whether the WebAuthn registration ceremony should be
automatically triggered when the page loads. A value of
true means the ceremony should be invoked on
load; false means it should not.
The view is responsible for acting on this predicate’s outcome. The default value is false.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTriggerPredicate(Predicate<ProfileRequestContext> predicate) Set the predicate to determine if the registration ceremony should be triggered on page load.boolean
-
Field Details
-
triggerPredicate
The predicate to run.
-
-
Constructor Details
-
TriggerRegistrationOnLoad
public TriggerRegistrationOnLoad()Constructor.
-
-
Method Details
-
setTriggerPredicate
Set the predicate to determine if the registration ceremony should be triggered on page load.- Parameters:
predicate- the predicate to set.
-
test
- Specified by:
testin interfacePredicate<ProfileRequestContext>
-