Package com.uc4.communication
Class SamlConfiguration
java.lang.Object
com.uc4.communication.SamlConfiguration
Configuration for SAML
An instance of this class must be passed to the Connection.login() method.
-
Constructor Summary
ConstructorsConstructorDescriptionSamlConfiguration
(int client, String userName, String department, char language, String samlToken, String samlType) Creates a new SSO login configuration instance for SAMLSamlConfiguration
(int client, String userName, String department, String samlToken, String samlType) Creates a new SSO login configuration instance for SAML The default value for the logon language is english. -
Method Summary
Modifier and TypeMethodDescriptiongetKicks()
This connection is registered to receive the kick messages returned by this procedure.Returns the 'token' from the Identity Provider.Returns the type of the SAML response which was received from the Identity Provider.void
This connection is registered to receive the specified kick messages.void
setLanguage
(char language) Sets the logon language.
-
Constructor Details
-
SamlConfiguration
public SamlConfiguration(int client, String userName, String department, char language, String samlToken, String samlType) Creates a new SSO login configuration instance for SAML- Parameters:
client
- UC4 client between 0 and 9999userName
- UC4 usernamedepartment
- UC4 departmentthe
- UC4 langugagesamlToken
- the saml response (xml or artifact) from the Identity ProvidersamlType
- type of the response (xml or artifact)
-
SamlConfiguration
public SamlConfiguration(int client, String userName, String department, String samlToken, String samlType) Creates a new SSO login configuration instance for SAML The default value for the logon language is english.- Parameters:
client
- UC4 client between 0 and 9999userName
- UC4 usernamedepartment
- UC4 departmentsamlToken
- the saml response (xml or artifact) from the Identity ProvidersamlType
- type of the response (xml or artifact)
-
-
Method Details
-
setLanguage
public void setLanguage(char language) Sets the logon language.- Parameters:
language
- E(English), F(French) or D(German)
-
getSamlType
Returns the type of the SAML response which was received from the Identity Provider. This can be either an 'artifact' or a 'xml response'- Returns:
- for an artifact it returns 'SA' and for xml the return is 'SX'
-
getSamlToken
Returns the 'token' from the Identity Provider. There are two types of response, which are in defined in getSamlType- Returns:
- BASE64 coded SAML token
-
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.
-