Package com.uc4.communication
Class SSOConfiguration
java.lang.Object
com.uc4.communication.SSOConfiguration
Configuration for Single Sign on.
An instance of this class must be passed to the Connection.login() method.
-
Constructor Summary
ConstructorsConstructorDescriptionSSOConfiguration
(int client) Creates a new SSO login configuration instance for the specified client. -
Method Summary
Modifier and TypeMethodDescriptiongetKicks()
This connection is registered to receive the kick messages returned by this procedure.void
setDebug
(boolean debug) Sets the debug flag for SSO.void
This connection is registered to receive the specified kick messages.void
setLanguage
(char language) Sets the logon language.void
setServerPrincipal
(String serverPrincipal) Sets the name of the serice principal of the Automation Engine.void
setSpnegoToken
(String spnegoToken) Sets the browser token.
-
Constructor Details
-
SSOConfiguration
public SSOConfiguration(int client) Creates a new SSO login configuration instance for the specified client. The default value for the logon language is english.- Parameters:
client
- UC4 client between 0 and 9999
-
-
Method Details
-
setLanguage
public void setLanguage(char language) Sets the logon language.- Parameters:
language
- E(English), F(French) or D(German)
-
setSpnegoToken
Sets the browser token.- Parameters:
spnegoToken
- Base64 coded String
-
setServerPrincipal
Sets the name of the serice principal of the Automation Engine.- Parameters:
serverPrincipal
- service name of the Automation Engine in the KDC
-
setDebug
public void setDebug(boolean debug) Sets the debug flag for SSO. Debug messages are written to System.out- Parameters:
debug
- true to enable debugging
-
getKicks
This connection is registered to receive the kick messages returned by this procedure. Kick messages are sent from the AE to the connected client when certain events occur in the AE.- Returns:
- Comma separated list of kick messages.
-
setKicks
This connection is registered to receive the specified kick messages.- Parameters:
kicks
- Comma separated list of kick messages.
-