Class ChainingCredentialLabeller
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.admin.impl.ChainingCredentialLabeller
- All Implemented Interfaces:
BiFunction<EnhancedCredentialRecord,ProfileRequestContext, List<String>>
public class ChainingCredentialLabeller
extends Object
implements BiFunction<EnhancedCredentialRecord,ProfileRequestContext,List<String>>
A credential labeller that labels credentials based on a chain of other labellers. All labellers are iterated over
to produce the final list of labels.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<BiFunction<EnhancedCredentialRecord,ProfileRequestContext, List<String>>> The chain of credential labellers to use. -
Constructor Summary
ConstructorsConstructorDescriptionChainingCredentialLabeller(List<BiFunction<EnhancedCredentialRecord, ProfileRequestContext, List<String>>> labellersIn) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionapply(EnhancedCredentialRecord credential, ProfileRequestContext prc) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
labellers
private final List<BiFunction<EnhancedCredentialRecord,ProfileRequestContext, labellersList<String>>> The chain of credential labellers to use. All are iterated over to produce the final set of labels.
-
-
Constructor Details
-
ChainingCredentialLabeller
public ChainingCredentialLabeller(@Nullable @ParameterName(name="labellers") List<BiFunction<EnhancedCredentialRecord, ProfileRequestContext, List<String>>> labellersIn) Constructor.- Parameters:
labellersIn- The chain of credential labellers to use.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<EnhancedCredentialRecord,ProfileRequestContext, List<String>>
-