| Modifier and Type | Method and Description |
|---|---|
ClientSessionFactory |
Authentication.authenticate(java.lang.String agentName,
long orgPositionID,
java.lang.String password)
Identifies and authenticates a normal user via the corresponding name,
orgPosition and the password and returns an appropriate
ClientSessionFactory as which encapsulates the security
information for the designated agent. |
ClientSessionFactory |
Authentication.authenticate(java.lang.String agentName,
long orgPositionID,
java.lang.String method,
byte[] authenticationData,
AFCallbackHandler callbackHandler)
Identifies and authenticates the designated agent by the corresponding name and ID referring to
the appropriate
QualifedAgent with the designated authentication method providing
the authentication method-specific data. |
ClientSessionFactory |
Authentication.authenticate(java.lang.String agentName,
long orgPositionID,
java.lang.String method,
byte[] authenticationData,
AFCallbackHandler callbackHandler,
java.lang.String userSessionID)
Identifies and authenticates the designated agent by the corresponding name and ID referring to
the appropriate
QualifedAgent with the designated authentication method providing
the authentication method-specific data. |
ClientSessionFactory |
GlobalSecurityManager.authenticate(java.lang.String agentName,
long orgPositionID,
java.lang.String method,
byte[] authenticationData,
AFCallbackHandler callbackHandler,
java.lang.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.authenticate(java.lang.String agentName,
long orgPositionID,
java.lang.String password,
java.lang.String userSessionID)
Identifies and authenticates a normal user via the corresponding name,
orgPosition and the password and returns an appropriate
ClientSessionFactory as which encapsulates the security
information for the designated agent. |
ClientSessionFactory[] |
Authentication.authenticateCombined(java.lang.String method,
byte[] authenticationData,
AFCallbackHandler callbackHandler)
Performs a combined authentication that is
Authentication.authenticate(String, byte[], AFCallbackHandler) and
Authentication.authenticate(String, long, String, byte[], AFCallbackHandler) or
Authentication.authenticate(String, long, String, byte[], AFCallbackHandler, String) in one step. |
ClientSessionFactory[] |
Authentication.authenticateCombined(java.lang.String agentName,
java.lang.String method,
byte[] authenticationData,
AFCallbackHandler callbackHandler)
Performs a combined authentication that is
Authentication.authenticate(String, String, byte[], AFCallbackHandler) and
Authentication.authenticate(String, long, String, byte[], AFCallbackHandler) or
Authentication.authenticate(String, long, String, byte[], AFCallbackHandler, String) in one step. |
ClientSessionFactory[] |
GlobalSecurityManager.authenticateCombined(java.lang.String agentName,
java.lang.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. |
| Modifier and Type | Method and Description |
|---|---|
protected ClientSessionFactory |
AbstractNonPrivilegedService.getSessionFactory()
Returns the client session factory assigned to this service.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AddAttrSessionFactory
This class wraps a normal client session factory and adds specific additional
attributes to all created session tokens.
|
| Modifier and Type | Method and 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.
|
| Constructor and Description |
|---|
AddAttrSessionFactory(ClientSessionFactory csf,
java.util.Map<java.lang.String,java.lang.String> additionalAttributes)
Creates a new
ClientSessionFactory which adds the designated
additional attributes to all created session tokens. |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RuntimeService.logon(SessionToken token,
ClientSessionFactory csf)
Does nothing since a runtime service does not know about logged on agents.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
DataContext |
RuntimeEnvironmentFactory.getDataContext(ClientSessionFactory sessionFactory,
DataContainer dataContainer,
java.lang.Thread componentThread)
Returns an application related data context and initialises it's data
container with the provided value
|
SessionContext |
RuntimeEnvironmentFactory.getInitialSessionContext(ClientSessionFactory sessionFactory,
java.lang.String sessionID,
EBPInstanceReference ebpInstanceReference,
DataContext dataContext,
ExecutionContext executionContext,
GUIContext guiContext,
RuntimeEnvironment runtimeEnvironment,
java.lang.Thread componentThread)
Returns an application related implementation of the session context and
initialises the sessionID of the session context by the passed value.
|