Class UserAuthGSS

All Implemented Interfaces:
UserAuthInstance<ServerSession>, UsernameHolder, NamedResource, UserAuth, ServerSessionHolder

public class UserAuthGSS extends AbstractUserAuth

Prototype user authentication handling gssapi-with-mic. Implements HandshakingUserAuth because the process involves several steps.

Several methods are available for overriding in specific circumstances.

  • Field Details

    • NAME

      public static final String NAME
      See Also:
    • KRB5_MECH

      public static final Oid KRB5_MECH
    • KRB5_NT_PRINCIPAL

      public static final Oid KRB5_NT_PRINCIPAL
  • Constructor Details

    • UserAuthGSS

      public UserAuthGSS()
  • Method Details

    • doAuth

      protected Boolean doAuth(Buffer buffer, boolean initial) throws Exception
      Specified by:
      doAuth in class AbstractUserAuth
      Throws:
      Exception
    • destroy

      public void destroy()
      Free any system resources used by the module.
      Specified by:
      destroy in interface UserAuth
      Overrides:
      destroy in class AbstractUserAuth
    • createOID

      public static Oid createOID(String rep)
      Utility to construct an Oid from a string, ignoring the annoying exception.
      Parameters:
      rep - The string form
      Returns:
      The Oid