Uses of Interface
de.aristaflow.adept2.base.sessionmanagement.ClientSessionFactory
-
-
Uses of ClientSessionFactory in de.aristaflow.adept2.base.security
Methods in de.aristaflow.adept2.base.security that return ClientSessionFactory Modifier and Type Method Description ClientSessionFactory
Authentication. authenticate(String agentName, long orgPositionID, String password)
Identifies and authenticates a normal user via the corresponding name, orgPosition and the password and returns an appropriateClientSessionFactory
as which encapsulates the security information for the designated agent.ClientSessionFactory
Authentication. authenticate(String agentName, long orgPositionID, String method, byte[] authenticationData, AFCallbackHandler callbackHandler)
Identifies and authenticates the designated agent by the corresponding name and ID referring to the appropriateQualifedAgent
with the designated authentication method providing the authentication method-specific data.ClientSessionFactory
Authentication. authenticate(String agentName, long orgPositionID, String method, byte[] authenticationData, AFCallbackHandler callbackHandler, String userSessionID)
Identifies and authenticates the designated agent by the corresponding name and ID referring to the appropriateQualifedAgent
with the designated authentication method providing the authentication method-specific data.ClientSessionFactory
Authentication. authenticate(String agentName, long orgPositionID, String password, String userSessionID)
Identifies and authenticates a normal user via the corresponding name, orgPosition and the password and returns an appropriateClientSessionFactory
as which encapsulates the security information for the designated agent.ClientSessionFactory
GlobalSecurityManager. authenticate(String agentName, long orgPositionID, String method, byte[] authenticationData, AFCallbackHandler callbackHandler, String userSessionID, de.aristaflow.adept2.model.communication.InjectedCommContext context)
Authentication.authenticate(String, long, String, byte[], AFCallbackHandler, String)
with an additional injected communication context.ClientSessionFactory[]
Authentication. authenticateCombined(String method, byte[] authenticationData, AFCallbackHandler callbackHandler)
Performs a combined authentication that isAuthentication.authenticate(String, byte[], AFCallbackHandler)
andAuthentication.authenticate(String, long, String, byte[], AFCallbackHandler)
orAuthentication.authenticate(String, long, String, byte[], AFCallbackHandler, String)
in one step.ClientSessionFactory[]
Authentication. authenticateCombined(String agentName, String method, byte[] authenticationData, AFCallbackHandler callbackHandler)
Performs a combined authentication that isAuthentication.authenticate(String, String, byte[], AFCallbackHandler)
andAuthentication.authenticate(String, long, String, byte[], AFCallbackHandler)
orAuthentication.authenticate(String, long, String, byte[], AFCallbackHandler, String)
in one step.ClientSessionFactory[]
GlobalSecurityManager. authenticateCombined(String agentName, String method, byte[] authenticationData, AFCallbackHandler callbackHandler, de.aristaflow.adept2.model.communication.InjectedCommContext context)
Authentication.authenticateCombined(String, String, byte[], AFCallbackHandler)
with an additional injected communication context. -
Uses of ClientSessionFactory in de.aristaflow.adept2.base.service
Methods in de.aristaflow.adept2.base.service that return ClientSessionFactory Modifier and Type Method Description protected ClientSessionFactory
AbstractNonPrivilegedService. getSessionFactory()
Returns the client session factory assigned to this service. -
Uses of ClientSessionFactory in de.aristaflow.adept2.core.client
Classes in de.aristaflow.adept2.core.client that implement ClientSessionFactory Modifier and Type Class Description class
AddAttrSessionFactory
This class wraps a normal client session factory and adds specific additional attributes to all created session tokens.Methods in de.aristaflow.adept2.core.client with parameters of type ClientSessionFactory Modifier and Type Method Description void
ClientService. setAuthenticatedAgents(ClientSessionFactory... clientSessionFactories)
Sets the client session factories for this service which provide the session tokens for the using components.void
MultiplexingClientService. setAuthenticatedAgents(ClientSessionFactory... csf)
Sets the client session factories for this service which provide the session tokens for the using components.Constructors in de.aristaflow.adept2.core.client with parameters of type ClientSessionFactory Constructor Description AddAttrSessionFactory(ClientSessionFactory csf, Map<String,String> additionalAttributes)
Creates a newClientSessionFactory
which adds the designated additional attributes to all created session tokens. -
Uses of ClientSessionFactory in de.aristaflow.adept2.core.runtimemanager
Methods in de.aristaflow.adept2.core.runtimemanager with parameters of type ClientSessionFactory Modifier and Type Method Description void
RuntimeManager. logon(SessionToken session, ClientSessionFactory clientSessionFactory)
Logs the agent on that is identified by the designated session token and stores the corresponding client session factory for communicating component signals to the execution manager.void
RuntimeManager. updateClientSessionFactory(SessionToken session, ClientSessionFactory csf)
Updates the designated client session factory. -
Uses of ClientSessionFactory in de.aristaflow.adept2.core.runtimeservice
Methods in de.aristaflow.adept2.core.runtimeservice with parameters of type ClientSessionFactory Modifier and Type Method Description void
RuntimeService. logon(SessionToken token, ClientSessionFactory csf)
Does nothing since a runtime service does not know about logged on agents. -
Uses of ClientSessionFactory in de.aristaflow.adept2.model.runtimeenvironment
Methods in de.aristaflow.adept2.model.runtimeenvironment that return ClientSessionFactory Modifier and Type Method Description ClientSessionFactory
SessionContext. getClientSessionFactory()
Returns the client session factory which allows to retrieve the executing agent as well as session tokens which are needed to access ADEPT2-interface-methods.Methods in de.aristaflow.adept2.model.runtimeenvironment with parameters of type ClientSessionFactory Modifier and Type Method Description DataContext
RuntimeEnvironmentFactory. getDataContext(ClientSessionFactory sessionFactory, DataContainer dataContainer, Thread componentThread)
Deprecated, for removal: This API element is subject to removal in a future version.DataContext
RuntimeEnvironmentFactory. getDataContext(ClientSessionFactory sessionFactory, DataContainer dataContainer, Thread componentThread, Logger logger)
Returns an application related data context and initialises it's data container with the provided valueSessionContext
RuntimeEnvironmentFactory. getInitialSessionContext(ClientSessionFactory sessionFactory, String sessionID, EBPInstanceReference ebpInstanceReference, DataContext dataContext, ExecutionContext executionContext, GUIContext guiContext, RuntimeEnvironment runtimeEnvironment, Thread componentThread)
Returns an application related implementation of the session context and initialises the sessionID of the session context by the passed value. -
Uses of ClientSessionFactory in de.aristaflow.ilm.base.sessionmanagement
Methods in de.aristaflow.ilm.base.sessionmanagement that return ClientSessionFactory Modifier and Type Method Description static ClientSessionFactory
Transformation. fromIlm(ClientSessionDetails csd)
Methods in de.aristaflow.ilm.base.sessionmanagement with parameters of type ClientSessionFactory Modifier and Type Method Description static ClientSessionDetails
Transformation. toIlm(ClientSessionFactory csf, URI[] uris)
-