Package net.shibboleth.metadata.util
Class FixedStringIdentifierGenerationStrategy
java.lang.Object
net.shibboleth.metadata.util.FixedStringIdentifierGenerationStrategy
- All Implemented Interfaces:
net.shibboleth.shared.security.IdentifierGenerationStrategy
public class FixedStringIdentifierGenerationStrategy
extends Object
implements net.shibboleth.shared.security.IdentifierGenerationStrategy
Identifier generation strategy using a fixed identifier string.
This can be used in circumstances where there is no requirement that identifiers be different from each other.
- Since:
- 0.10.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.shibboleth.shared.security.IdentifierGenerationStrategy
net.shibboleth.shared.security.IdentifierGenerationStrategy.ParameterSpec, net.shibboleth.shared.security.IdentifierGenerationStrategy.ProviderType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringFixed identifier to use for all invocations. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
identifier
Fixed identifier to use for all invocations.
-
-
Constructor Details
-
FixedStringIdentifierGenerationStrategy
Constructor.- Parameters:
id- fixed identifier to use for all invocations.
-
-
Method Details
-
generateIdentifier
- Specified by:
generateIdentifierin interfacenet.shibboleth.shared.security.IdentifierGenerationStrategy
-
generateIdentifier
- Specified by:
generateIdentifierin interfacenet.shibboleth.shared.security.IdentifierGenerationStrategy
-