Class RandomSessionIdGenerator

  • All Implemented Interfaces:
    SessionIdGenerator

    public class RandomSessionIdGenerator
    extends 
    implements SessionIdGenerator
    Generates session IDs by using a instance to generate random IDs. The default Random implementation is a with the SHA1PRNG algorithm.
    Since:
    1.0
    • Constructor Detail

      • RandomSessionIdGenerator

        public RandomSessionIdGenerator()
    • Method Detail

      • getRandom

        public  getRandom()
      • setRandom

        public void setRandom​( random)
      • generateId

        public  generateId​(Session session)
        Returns the String value of the configured 's invocation.
        Specified by:
        generateId in interface SessionIdGenerator
        Parameters:
        session - the Session instance to which the ID will be applied.
        Returns:
        the String value of the configured 's invocation.