Class KerberosHelper

  • public class KerberosHelper
    extends java.lang.Object
    Supports various Kerberos related functions utilized by SpnegoFilter and KerberosSession.
    • Method Detail

      • getMechanisms

        public org.ietf.jgss.Oid[] getMechanisms()
      • getKerberosMechansim

        public org.ietf.jgss.Oid getKerberosMechansim()
      • getKerberosPrincipalNameType

        public org.ietf.jgss.Oid getKerberosPrincipalNameType()
      • setupLogging

        public static void setupLogging()
      • getManager

        public org.ietf.jgss.GSSManager getManager()
      • sanityCheck

        public static boolean sanityCheck()
        Returns whether Integrated Authentication is enabled and basic Kerberos settings are properly configured. Note that this does not check every possible configuration setting. This method must also be responsive as it is called repeatedly, and avoid logging the same configuration errors. Currently this check always returns true in order to minimize backwards compatibility problems - if any issues are encountered appropriate errors are logged.
      • setWebServerSubject

        public void setWebServerSubject​( serviceSubject)
      • setServerCredential

        public void setServerCredential​(org.ietf.jgss.GSSCredential serverCredential)