Package org.wildfly.security.http
Class HttpConstants
- java.lang.Object
- 
- org.wildfly.security.http.HttpConstants
 
- 
 public class HttpConstants extends Object Constants used within HTTP based authentication.- Author:
- Darran Lofthouse
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringALGORITHMstatic StringAUTHstatic StringAUTH_PARAMstatic StringAUTHENTICATION_INFOstatic StringAUTHORIZATIONstatic intBAD_REQUESTstatic StringBASIC_NAMEstatic StringBEARER_TOKENstatic StringCHARSETstatic StringCLIENT_CERT_NAMEstatic StringCNONCEstatic StringCONFIG_CONTEXT_PATHstatic StringCONFIG_CREATE_NAME_GSS_INITThis enables workaround for native GSS, where createName() needs to be called for correct GSSContext initialization.static StringCONFIG_DISABLE_RESTORE_SECURITY_IDENTITYIn clustered environment Security Identity is restored during failover, load balancer change node (not sticky behavior) and session passivation/activation.static StringCONFIG_ERROR_PAGEThe context relative path of the error page.static StringCONFIG_GSS_MANAGERThis allows aGSSManagerinstance to be passed into the authentication mechanisms.static StringCONFIG_LOGIN_PAGEThe context relative path of the login page.static StringCONFIG_POST_LOCATIONThis defines the location used by mechanisms dependent on the response to the challenge being sent in using 'POST'.static StringCONFIG_REALMstatic StringCONFIG_SKIP_CERTIFICATE_VERIFICATIONstatic StringCONFIG_STATE_SCOPESA comma separated list of scopes in preferred order the mechanism should attempt to use to persist state including the caching of any previously authenticated identity.static StringCONFIG_VALIDATE_DIGEST_URIstatic StringDIGEST_NAMEstatic StringDIGEST_SHA256_NAMEstatic StringDIGEST_SHA512_256_NAMEstatic StringDOMAINstatic StringEXTERNAL_NAMEstatic intFORBIDDENstatic StringFORM_NAMEstatic intFOUNDstatic StringHOSTstatic StringHTTPstatic StringHTTPSstatic StringLOCATIONstatic StringMD5static StringNCstatic StringNEGOTIATEstatic StringNEXT_NONCEstatic StringNONCEstatic intOKstatic StringOPAQUEstatic StringPOSTstatic StringQOPstatic StringREALMstatic StringRESPONSEstatic StringRSPAUTHstatic StringSECURITY_IDENTITYThe property which holds the negotiated security identity after a successful HTTP server-side authentication.static intSEE_OTHERstatic StringSHA256static StringSHA512_256static StringSPNEGO_NAMEstatic StringSTALEstatic intTEMPORARY_REDIRECTstatic intUNAUTHORIZEDstatic StringURIstatic StringUSERNAMEstatic StringUSERNAME_STARstatic StringWWW_AUTHENTICATE
 
- 
- 
- 
Field Detail- 
SECURITY_IDENTITYpublic static final String SECURITY_IDENTITY The property which holds the negotiated security identity after a successful HTTP server-side authentication.- See Also:
- Constant Field Values
 
 - 
CONFIG_CONTEXT_PATHpublic static final String CONFIG_CONTEXT_PATH 
 - 
CONFIG_REALMpublic static final String CONFIG_REALM 
 - 
CONFIG_VALIDATE_DIGEST_URIpublic static final String CONFIG_VALIDATE_DIGEST_URI 
 - 
CONFIG_SKIP_CERTIFICATE_VERIFICATIONpublic static final String CONFIG_SKIP_CERTIFICATE_VERIFICATION 
 - 
CONFIG_LOGIN_PAGEpublic static final String CONFIG_LOGIN_PAGE The context relative path of the login page.
 - 
CONFIG_ERROR_PAGEpublic static final String CONFIG_ERROR_PAGE The context relative path of the error page.
 - 
CONFIG_POST_LOCATIONpublic static final String CONFIG_POST_LOCATION This defines the location used by mechanisms dependent on the response to the challenge being sent in using 'POST'.
 - 
CONFIG_GSS_MANAGERpublic static final String CONFIG_GSS_MANAGER This allows aGSSManagerinstance to be passed into the authentication mechanisms.
 - 
CONFIG_CREATE_NAME_GSS_INITpublic static final String CONFIG_CREATE_NAME_GSS_INIT This enables workaround for native GSS, where createName() needs to be called for correct GSSContext initialization. Set to "true" to call createName() as part of GSSContext initialization. This is workaround of JDK-8194073.
 - 
CONFIG_DISABLE_RESTORE_SECURITY_IDENTITYpublic static final String CONFIG_DISABLE_RESTORE_SECURITY_IDENTITY In clustered environment Security Identity is restored during failover, load balancer change node (not sticky behavior) and session passivation/activation. Set to "true" to disable this behavior.
 - 
CONFIG_STATE_SCOPESpublic static final String CONFIG_STATE_SCOPES A comma separated list of scopes in preferred order the mechanism should attempt to use to persist state including the caching of any previously authenticated identity. Accepted values are: -- CONNECTION
- SESSION
- SSL_SESSION
- NONE
 
 - 
ALGORITHMpublic static final String ALGORITHM - See Also:
- Constant Field Values
 
 - 
AUTHpublic static final String AUTH - See Also:
- Constant Field Values
 
 - 
AUTH_PARAMpublic static final String AUTH_PARAM - See Also:
- Constant Field Values
 
 - 
CHARSETpublic static final String CHARSET - See Also:
- Constant Field Values
 
 - 
CNONCEpublic static final String CNONCE - See Also:
- Constant Field Values
 
 - 
DOMAINpublic static final String DOMAIN - See Also:
- Constant Field Values
 
 - 
NCpublic static final String NC - See Also:
- Constant Field Values
 
 - 
NEGOTIATEpublic static final String NEGOTIATE - See Also:
- Constant Field Values
 
 - 
NEXT_NONCEpublic static final String NEXT_NONCE - See Also:
- Constant Field Values
 
 - 
NONCEpublic static final String NONCE - See Also:
- Constant Field Values
 
 - 
OPAQUEpublic static final String OPAQUE - See Also:
- Constant Field Values
 
 - 
QOPpublic static final String QOP - See Also:
- Constant Field Values
 
 - 
REALMpublic static final String REALM - See Also:
- Constant Field Values
 
 - 
RSPAUTHpublic static final String RSPAUTH - See Also:
- Constant Field Values
 
 - 
RESPONSEpublic static final String RESPONSE - See Also:
- Constant Field Values
 
 - 
STALEpublic static final String STALE - See Also:
- Constant Field Values
 
 - 
URIpublic static final String URI - See Also:
- Constant Field Values
 
 - 
USERNAMEpublic static final String USERNAME - See Also:
- Constant Field Values
 
 - 
USERNAME_STARpublic static final String USERNAME_STAR - See Also:
- Constant Field Values
 
 - 
AUTHENTICATION_INFOpublic static final String AUTHENTICATION_INFO - See Also:
- Constant Field Values
 
 - 
AUTHORIZATIONpublic static final String AUTHORIZATION - See Also:
- Constant Field Values
 
 - 
HOSTpublic static final String HOST - See Also:
- Constant Field Values
 
 - 
LOCATIONpublic static final String LOCATION - See Also:
- Constant Field Values
 
 - 
WWW_AUTHENTICATEpublic static final String WWW_AUTHENTICATE - See Also:
- Constant Field Values
 
 - 
BASIC_NAMEpublic static final String BASIC_NAME - See Also:
- Constant Field Values
 
 - 
CLIENT_CERT_NAMEpublic static final String CLIENT_CERT_NAME - See Also:
- Constant Field Values
 
 - 
DIGEST_NAMEpublic static final String DIGEST_NAME - See Also:
- Constant Field Values
 
 - 
DIGEST_SHA256_NAMEpublic static final String DIGEST_SHA256_NAME - See Also:
- Constant Field Values
 
 - 
DIGEST_SHA512_256_NAMEpublic static final String DIGEST_SHA512_256_NAME - See Also:
- Constant Field Values
 
 - 
EXTERNAL_NAMEpublic static final String EXTERNAL_NAME - See Also:
- Constant Field Values
 
 - 
FORM_NAMEpublic static final String FORM_NAME - See Also:
- Constant Field Values
 
 - 
SPNEGO_NAMEpublic static final String SPNEGO_NAME - See Also:
- Constant Field Values
 
 - 
BEARER_TOKENpublic static final String BEARER_TOKEN - See Also:
- Constant Field Values
 
 - 
OKpublic static final int OK - See Also:
- Constant Field Values
 
 - 
FOUNDpublic static final int FOUND - See Also:
- Constant Field Values
 
 - 
SEE_OTHERpublic static final int SEE_OTHER - See Also:
- Constant Field Values
 
 - 
TEMPORARY_REDIRECTpublic static final int TEMPORARY_REDIRECT - See Also:
- Constant Field Values
 
 - 
BAD_REQUESTpublic static final int BAD_REQUEST - See Also:
- Constant Field Values
 
 - 
UNAUTHORIZEDpublic static final int UNAUTHORIZED - See Also:
- Constant Field Values
 
 - 
FORBIDDENpublic static final int FORBIDDEN - See Also:
- Constant Field Values
 
 - 
POSTpublic static final String POST - See Also:
- Constant Field Values
 
 - 
MD5public static final String MD5 - See Also:
- Constant Field Values
 
 - 
SHA256public static final String SHA256 - See Also:
- Constant Field Values
 
 - 
SHA512_256public static final String SHA512_256 - See Also:
- Constant Field Values
 
 - 
HTTPpublic static final String HTTP - See Also:
- Constant Field Values
 
 - 
HTTPSpublic static final String HTTPS - See Also:
- Constant Field Values
 
 
- 
 
-