public class AuthorizationHeader extends Object
| Constructor | Description |
|---|---|
AuthorizationHeader(javax.servlet.http.HttpServletRequest httpServletRequest) |
Instantiates a new authorization header.
|
| Modifier and Type | Method | 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 |
isBearerAuthorizationHeader() |
|
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 |
isSPNegTokenInitMessage() |
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 isSPNegTokenInitMessage()
public boolean isNtlmType1PostAuthorizationHeader()
public boolean isBearerAuthorizationHeader()
Copyright © 2010–2018 com.github.waffle. All rights reserved.