Class RandomUserIdGenerator
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.admin.impl.RandomUserIdGenerator
- All Implemented Interfaces:
Function<ProfileRequestContext,byte[]>
@ThreadSafe
public final class RandomUserIdGenerator
extends Object
implements Function<ProfileRequestContext,byte[]>
A user.id generator that generates a random 64 byte user.id. Will return
null if one can not be generated.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IdentifierGenerationStrategyThe user.id generation strategy.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
idGeneratorStrategy
The user.id generation strategy.
-
-
Constructor Details
-
RandomUserIdGenerator
Constructor.- Throws:
ComponentInitializationException- if the secure random implementation can not be created
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,byte[]>
-