Class InternalSessionFactory


  • @Singleton
    public class InternalSessionFactory
    extends Object
    Responsible for creating InternalSession objects. InternalSession creation logic extracted from SessionService class as part of first-pass refactoring to improve SessionService adherence to SRP.
    Since:
    13.0.0
    • Method Detail

      • newInternalSession

        public InternalSession newInternalSession​(String domain,
                                                  boolean stateless)
        Creates a new Internal Session
        Parameters:
        domain - Authentication Domain
        stateless - Indicates whether or not this session should be issued as a stateless session.
      • newInternalSession

        public InternalSession newInternalSession​(String domain,
                                                  boolean stateless,
                                                  boolean checkCts)
        Creates a new Internal Session
        Parameters:
        domain - Authentication Domain
        stateless - Indicates whether or not this session should be issued as a stateless session.
        checkCts - Indicates whether or not this session exists in cts.