Package com.iplanet.dpro.session.service
Class InternalSessionFactory
- java.lang.Object
-
- com.iplanet.dpro.session.service.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
-
-
Constructor Summary
Constructors Constructor Description InternalSessionFactory(Debug sessionDebug, SessionServerConfig serverConfig, AuthenticationSessionStore authenticationSessionStore, SessionAccessManager sessionAccessManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalSessionnewInternalSession(String domain, boolean stateless)Creates a new Internal SessionInternalSessionnewInternalSession(String domain, boolean stateless, boolean checkCts)Creates a new Internal Session
-
-
-
Constructor Detail
-
InternalSessionFactory
@Inject public InternalSessionFactory(@Named("amSession") Debug sessionDebug, SessionServerConfig serverConfig, AuthenticationSessionStore authenticationSessionStore, SessionAccessManager sessionAccessManager)
-
-
Method Detail
-
newInternalSession
public InternalSession newInternalSession(String domain, boolean stateless)
Creates a new Internal Session- Parameters:
domain- Authentication Domainstateless- 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 Domainstateless- Indicates whether or not this session should be issued as a stateless session.checkCts- Indicates whether or not this session exists in cts.
-
-