|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.spnego.SpnegoAuthScheme
final class SpnegoAuthScheme
Example schemes are "Negotiate" and "Basic".
See examples and tutorials at http://spnego.sourceforge.net
Field Summary | |
---|---|
private boolean |
basicScheme
true if Basic Auth scheme. |
private static byte[] |
EMPTY_BYTE_ARRAY
Zero length byte array. |
private boolean |
negotiateScheme
true if Negotiate scheme. |
private boolean |
ntlm
true if NTLM token. |
private String |
scheme
HTTP (Request) "Authorization" Header scheme. |
private String |
token
HTTP (Request) scheme token. |
Constructor Summary | |
---|---|
SpnegoAuthScheme(String authScheme,
String authToken)
|
Method Summary | |
---|---|
String |
getScheme()
Returns HTTP Authorization scheme. |
byte[] |
getToken()
Returns a copy of byte[]. |
(package private) boolean |
isBasicScheme()
Returns true if this SpnegoAuthScheme is of type "Basic". |
(package private) boolean |
isNegotiateScheme()
Returns true if this SpnegoAuthScheme is of type "Negotiate". |
(package private) boolean |
isNtlmToken()
Returns true if NTLM. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final transient byte[] EMPTY_BYTE_ARRAY
private final transient String scheme
private final transient String token
private final transient boolean basicScheme
private final transient boolean negotiateScheme
private final transient boolean ntlm
Constructor Detail |
---|
public SpnegoAuthScheme(String authScheme, String authToken)
authScheme
- authToken
- Method Detail |
---|
boolean isBasicScheme()
boolean isNegotiateScheme()
boolean isNtlmToken()
public String getScheme()
public byte[] getToken()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |