Class SpnegoUtils


  • public final class SpnegoUtils
    extends Object
    • Constructor Detail

      • SpnegoUtils

        public SpnegoUtils()
    • Method Detail

      • fetchAuthenticationCode

        public static String fetchAuthenticationCode​(String host,
                                                     int port,
                                                     boolean tls)
                                              throws org.yamcs.client.SpnegoUtils.SpnegoException
        Throws:
        org.yamcs.client.SpnegoUtils.SpnegoException
      • fetchAuthenticationCode

        public static String fetchAuthenticationCode​(String host,
                                                     int port,
                                                     boolean tls,
                                                     String principal)
                                              throws org.yamcs.client.SpnegoUtils.SpnegoException
        Throws:
        org.yamcs.client.SpnegoUtils.SpnegoException