Class SPNegoScheme

    • Constructor Detail

      • SPNegoScheme

        public SPNegoScheme​(boolean stripPort)
      • SPNegoScheme

        public SPNegoScheme()
    • Method Detail

      • getSchemeName

        public java.lang.String getSchemeName()
        Description copied from interface: AuthScheme
        Returns textual designation of the given authentication scheme.
        Returns:
        the name of the given authentication scheme
      • generateToken

        protected byte[] generateToken​(byte[] input,
                                       java.lang.String authServer)
                                throws org.ietf.jgss.GSSException
        Specified by:
        generateToken in class GGSSchemeBase
        Throws:
        org.ietf.jgss.GSSException
      • getParameter

        public java.lang.String getParameter​(java.lang.String name)
        There are no valid parameters for SPNEGO authentication so this method always returns null.
        Parameters:
        name - The name of the parameter to be returned
        Returns:
        null
      • getRealm

        public java.lang.String getRealm()
        The concept of an authentication realm is not supported by the Negotiate authentication scheme. Always returns null.
        Returns:
        null
      • isConnectionBased

        public boolean isConnectionBased()
        Returns true. SPNEGO authentication scheme is connection based.
        Returns:
        true.