public class AuthorizationHeader extends Object
Constructor and Description |
---|
AuthorizationHeader(javax.servlet.http.HttpServletRequest httpServletRequest)
Instantiates a new authorization header.
|
Modifier and Type | Method and Description |
---|---|
String |
getHeader()
Gets the header.
|
String |
getSecurityPackage()
Returns a supported security package string.
|
String |
getToken()
Gets the token.
|
byte[] |
getTokenBytes()
Gets the token bytes.
|
boolean |
isNtlmType1Message()
Checks if is ntlm type1 message.
|
boolean |
isNtlmType1PostAuthorizationHeader()
When using NTLM authentication and the browser is making a POST request, it preemptively sends a Type 2
authentication message (without the POSTed data).
|
boolean |
isNull()
Checks if is null.
|
boolean |
isSPNegoMessage()
Checks if is SP nego message.
|
String |
toString() |
public AuthorizationHeader(javax.servlet.http.HttpServletRequest httpServletRequest)
httpServletRequest
- the http servlet requestpublic String getHeader()
public boolean isNull()
public String getSecurityPackage()
public String getToken()
public byte[] getTokenBytes()
public boolean isNtlmType1Message()
public boolean isSPNegoMessage()
public boolean isNtlmType1PostAuthorizationHeader()
Copyright © 2010–2015 com.github.dblock. All rights reserved.