Class SSOConfiguration

java.lang.Object
com.uc4.communication.SSOConfiguration

public class SSOConfiguration extends Object
Configuration for Single Sign on. An instance of this class must be passed to the Connection.login() method.
  • 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

      public void setSpnegoToken(String spnegoToken)
      Sets the browser token.
      Parameters:
      spnegoToken - Base64 coded String
    • setServerPrincipal

      public void setServerPrincipal(String serverPrincipal)
      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

      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.