Class SecureRandomIdentifierGenerationStrategy
java.lang.Object
net.shibboleth.shared.security.impl.RandomIdentifierGenerationStrategy
net.shibboleth.shared.security.impl.SecureRandomIdentifierGenerationStrategy
- All Implemented Interfaces:
IdentifierGenerationStrategy
@ThreadSafe
public class SecureRandomIdentifierGenerationStrategy
extends RandomIdentifierGenerationStrategy
A specialized subclass of
RandomIdentifierGenerationStrategy which constrains the supplied
random number generator to be an instance of SecureRandom.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.shibboleth.shared.security.IdentifierGenerationStrategy
IdentifierGenerationStrategy.ParameterSpec, IdentifierGenerationStrategy.ProviderType -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructor. -
Method Summary
Methods inherited from class net.shibboleth.shared.security.impl.RandomIdentifierGenerationStrategy
generateIdentifier, generateIdentifier
-
Constructor Details
-
SecureRandomIdentifierGenerationStrategy
public SecureRandomIdentifierGenerationStrategy()Default constructor.Initializes the random number source to a new
SecureRandom, size of identifier is set to 16 bytes, and the encoder is set to aHex.
-