Class FunctionalRuleContext
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.policy.impl.FunctionalRuleContext
A context class that provides access to the
ProfileRequestContext and FidoMetadataService from
BiFunctions that implement registration or authentication rules.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.yubico.fido.metadata.FidoMetadataServiceThe stored FIDO metadata service.private final ProfileRequestContextThe stored profile request context. -
Constructor Summary
ConstructorsConstructorDescriptionFunctionalRuleContext(ProfileRequestContext prc, com.yubico.fido.metadata.FidoMetadataService metadata) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncom.yubico.fido.metadata.FidoMetadataServiceGet the metadata service.Get the profile request context.
-
Field Details
-
profileRequestContext
The stored profile request context. -
metadataService
@Nullable private final com.yubico.fido.metadata.FidoMetadataService metadataServiceThe stored FIDO metadata service.
-
-
Constructor Details
-
FunctionalRuleContext
public FunctionalRuleContext(@Nonnull ProfileRequestContext prc, @Nullable com.yubico.fido.metadata.FidoMetadataService metadata) Constructor.- Parameters:
prc- the stored profile request contextmetadata- the stored metadata service
-
-
Method Details
-
getMetadataService
@Nullable public com.yubico.fido.metadata.FidoMetadataService getMetadataService()Get the metadata service.- Returns:
- the metadata service.
-
getProfileRequestContext
Get the profile request context.- Returns:
- the profile request context.
-