Class FixedStringIdentifierGenerationStrategy

java.lang.Object
net.shibboleth.utilities.java.support.security.impl.FixedStringIdentifierGenerationStrategy
All Implemented Interfaces:
IdentifierGenerationStrategy

public class FixedStringIdentifierGenerationStrategy
extends Object
implements 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.
  • Field Details

    • identifier

      @Nonnull @NotEmpty private final String identifier
      Fixed identifier to use for all invocations.
  • Constructor Details

    • FixedStringIdentifierGenerationStrategy

      public FixedStringIdentifierGenerationStrategy​(@Nonnull @NotEmpty String id)
      Constructor.
      Parameters:
      id - fixed identifier to use for all invocations.
  • Method Details