Class SSOConfiguration


  • public class SSOConfiguration
    extends java.lang.Object
    Configuration for Single Sign on. An instance of this class must be passed to the Connection.login() method.
    • Constructor Summary

      Constructors 
      Constructor Description
      SSOConfiguration​(int client)
      Creates a new SSO login configuration instance for the specified client.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKicks()
      This connection is registered to receive the kick messages returned by this procedure.
      void setDebug​(boolean debug)
      Sets the debug flag for SSO.
      void setKicks​(java.lang.String kicks)
      This connection is registered to receive the specified kick messages.
      void setLanguage​(char language)
      Sets the logon language.
      void setServerPrincipal​(java.lang.String serverPrincipal)
      Sets the name of the serice principal of the Automation Engine.
      void setSpnegoToken​(java.lang.String spnegoToken)
      Sets the browser token.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • setLanguage

        public void setLanguage​(char language)
        Sets the logon language.
        Parameters:
        language - E(English), F(French) or D(German)
      • setSpnegoToken

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

        public void setServerPrincipal​(java.lang.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 java.lang.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​(java.lang.String kicks)
        This connection is registered to receive the specified kick messages.
        Parameters:
        kicks - Comma separated list of kick messages.