Class SecondFactorOnlyCredentialLabeller

java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.admin.impl.SecondFactorOnlyCredentialLabeller
All Implemented Interfaces:
BiFunction<EnhancedCredentialRecord,ProfileRequestContext,List<String>>

@ThreadSafe public class SecondFactorOnlyCredentialLabeller extends Object implements BiFunction<EnhancedCredentialRecord,ProfileRequestContext,List<String>>
A credential labeller function that labels credentials as 'SecondFactor' if the authenticator that created the credential should only be used as a second factor, and not sole factor of authentication.
  • Field Details

    • DEFAULT_LABEL

      @Nonnull @NotEmpty private static final String DEFAULT_LABEL
      The default label to use for second factor only credentials.
      See Also:
    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • secondFactorOnlyAuthenticators

      @Nonnull @NotLive @Unmodifiable private Set<com.yubico.fido.metadata.AAGUID> secondFactorOnlyAuthenticators
      A set of authenticators that should only be used for second factor authentication, based on their AAGUID.
    • label

      @Nonnull @NotEmpty private String label
      The label to use for second factor only credentials.
  • Constructor Details

    • SecondFactorOnlyCredentialLabeller

      public SecondFactorOnlyCredentialLabeller()
      Constructor.
  • Method Details