Class SamlConfiguration

java.lang.Object
com.uc4.communication.SamlConfiguration

public class SamlConfiguration extends Object
Configuration for SAML An instance of this class must be passed to the Connection.login() method.
  • 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 9999
      userName - UC4 username
      department - UC4 department
      the - UC4 langugage
      samlToken - the saml response (xml or artifact) from the Identity Provider
      samlType - 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 9999
      userName - UC4 username
      department - UC4 department
      samlToken - the saml response (xml or artifact) from the Identity Provider
      samlType - 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

      public String 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

      public String 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

      public String 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

      public void setKicks(String kicks)
      This connection is registered to receive the specified kick messages.
      Parameters:
      kicks - Comma separated list of kick messages.