Class SpnegoAuthScheme

java.lang.Object
com.kerb4j.common.util.SpnegoAuthScheme

public class SpnegoAuthScheme extends Object
Example schemes are "Negotiate" and "Basic".

See examples and tutorials at http://spnego.sourceforge.net

Author:
Darwin V. Felix
  • Constructor Details

    • SpnegoAuthScheme

      public SpnegoAuthScheme(String authScheme, String authToken)
  • Method Details

    • getScheme

      public String getScheme()
      Returns HTTP Authorization scheme.
      Returns:
      "Negotiate" or "Basic"
    • getToken

      public byte[] getToken()
      Returns a copy of byte[].
      Returns:
      copy of token