Class FixedStringIdentifierGenerationStrategy
java.lang.Object
net.shibboleth.utilities.java.support.security.impl.FixedStringIdentifierGenerationStrategy
- All Implemented Interfaces:
IdentifierGenerationStrategy
@Deprecated(since="8.4.0",
forRemoval=true)
public class FixedStringIdentifierGenerationStrategy
extends Object
implements IdentifierGenerationStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringDeprecated, for removal: This API element is subject to removal in a future version.Fixed identifier to use for all invocations. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Generates an identifier guaranteed to be XML ID safe.generateIdentifier(boolean xmlSafe) Deprecated, for removal: This API element is subject to removal in a future version.Generates an identifier.
-
Field Details
-
identifier
Deprecated, for removal: This API element is subject to removal in a future version.Fixed identifier to use for all invocations.
-
-
Constructor Details
-
FixedStringIdentifierGenerationStrategy
Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
id- fixed identifier to use for all invocations.
-
-
Method Details
-
generateIdentifier
Deprecated, for removal: This API element is subject to removal in a future version.Generates an identifier guaranteed to be XML ID safe.- Specified by:
generateIdentifierin interfaceIdentifierGenerationStrategy- Returns:
- the identifier
-
generateIdentifier
Deprecated, for removal: This API element is subject to removal in a future version.Generates an identifier.- Specified by:
generateIdentifierin interfaceIdentifierGenerationStrategy- Parameters:
xmlSafe- true iff the result must be XML ID safe- Returns:
- the identifier
-