Class ConsoleAuth
java.lang.Object
org.cristalise.kernel.process.auth.ConsoleAuth
- All Implemented Interfaces:
ProxyLogin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String resource) Authenticate the Agentvoidinitialize(Properties props) Intialiase the connection with the system used for authentication
-
Constructor Details
-
ConsoleAuth
public ConsoleAuth()
-
-
Method Details
-
initialize
Description copied from interface:ProxyLoginIntialiase the connection with the system used for authentication- Specified by:
initializein interfaceProxyLogin- Parameters:
props- Properties needed for the initialisation- Throws:
Exception- anything could happen
-
authenticate
Description copied from interface:ProxyLoginAuthenticate the Agent- Specified by:
authenticatein interfaceProxyLogin- Parameters:
resource- additional data required by the system used for authentication- Returns:
- the authenticated Agent
- Throws:
Exception- anything could happen
-