Class DefaultSaml2MessageIDGenerator

java.lang.Object
se.swedenconnect.spring.saml.idp.utils.DefaultSaml2MessageIDGenerator
All Implemented Interfaces:
Saml2MessageIDGenerator

public class DefaultSaml2MessageIDGenerator extends Object implements Saml2MessageIDGenerator
An implementation of the Saml2MessageIDGenerator based on Shibboleth's RandomIdentifierGenerationStrategy that ensures that XML-safe identifiers are generated.
Author:
Martin Lindström
  • Constructor Details

    • DefaultSaml2MessageIDGenerator

      public DefaultSaml2MessageIDGenerator()
      Default constructor. Uses 16 bytes identifiers.
    • DefaultSaml2MessageIDGenerator

      public DefaultSaml2MessageIDGenerator(int idSize)
      Constructor.
      Parameters:
      idSize - the number of bytes used for the identifier
  • Method Details