Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_HASH_ALGORITHM |
"SHA-256" |
public static final int |
DEFAULT_HASH_ITERATIONS |
500000 |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final boolean |
DEFAULT_CASE_SENSITIVE |
false |
protected static final String |
PART_DIVIDER_TOKEN |
":" |
protected static final String |
SUBPART_DIVIDER_TOKEN |
"," |
protected static final String |
WILDCARD_TOKEN |
"*" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_REMEMBER_ME_ATTRIBUTE_NAME |
"longTermAuthenticationRequestTokenUsed" |
public static final String |
DEFAULT_VALIDATION_PROTOCOL |
"CAS" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
PREFERRED_ENCODING |
"UTF-8" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
COMMENT_POUND |
"#" |
public static final String |
COMMENT_SEMICOLON |
";" |
public static final String |
DEFAULT_CHARSET_NAME |
"UTF-8" |
public static final String |
DEFAULT_SECTION_NAME |
"" |
protected static final char |
ESCAPE_TOKEN |
92 |
public static final String |
SECTION_PREFIX |
"[" |
public static final String |
SECTION_SUFFIX |
"]" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_INI_RESOURCE_PATH |
"classpath:shiro.ini" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
INI_REALM_NAME |
"iniRealm" |
public static final String |
MAIN_SECTION_NAME |
"main" |
public static final String |
SECURITY_MANAGER_NAME |
"securityManager" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final int |
DEFAULT_NEXT_BYTES_SIZE |
16 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ALGORITHM_NAME |
"MD2" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ALGORITHM_NAME |
"MD5" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ALGORITHM_NAME |
"SHA-1" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ALGORITHM_NAME |
"SHA-256" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ALGORITHM_NAME |
"SHA-384" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ALGORITHM_NAME |
"SHA-512" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
TOKEN_DELIMITER |
"$" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ID |
"shiro1" |
public static final String |
MCF_PREFIX |
"$shiro1$" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_SECURITY_MANAGER_KEY |
"securityManager" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CLASSPATH_PREFIX |
"classpath:" |
public static final String |
FILE_PREFIX |
"file:" |
public static final String |
URL_PREFIX |
"url:" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CONTAINER_PREFIX |
"java:comp/env/" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
DEFAULT_AUTHENTICATION_QUERY |
"select password from users where username = ?" |
protected static final String |
DEFAULT_PERMISSIONS_QUERY |
"select permission from roles_permissions where role_name = ?" |
protected static final String |
DEFAULT_SALTED_AUTHENTICATION_QUERY |
"select password, password_salt from users where username = ?" |
protected static final String |
DEFAULT_USER_ROLES_QUERY |
"select role_name from user_roles where username = ?" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
SUN_CONNECTION_POOLING_PROPERTY |
"com.sun.jndi.ldap.connect.pool" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
DEFAULT_CONTEXT_FACTORY_CLASS_NAME |
"com.sun.jndi.ldap.LdapCtxFactory" |
protected static final String |
DEFAULT_REFERRAL |
"follow" |
protected static final String |
SIMPLE_AUTHENTICATION_MECHANISM_NAME |
"simple" |
protected static final String |
SUN_CONNECTION_POOLING_PROPERTY |
"com.sun.jndi.ldap.connect.pool" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ROLES_SECTION_NAME |
"roles" |
public static final String |
USERS_SECTION_NAME |
"users" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final long |
DEFAULT_GLOBAL_SESSION_TIMEOUT |
1800000L |
protected static final long |
MILLIS_PER_HOUR |
3600000L |
protected static final long |
MILLIS_PER_MINUTE |
60000L |
protected static final long |
MILLIS_PER_SECOND |
1000L |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final long |
DEFAULT_SESSION_VALIDATION_INTERVAL |
3600000L |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final long |
MILLIS_PER_HOUR |
3600000L |
protected static final long |
MILLIS_PER_MINUTE |
60000L |
protected static final long |
MILLIS_PER_SECOND |
1000L |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ACTIVE_SESSION_CACHE_NAME |
"shiro-activeSessionCache" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final long |
DEFAULT_SESSION_VALIDATION_INTERVAL |
3600000L |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_PATH_SEPARATOR |
"/" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
JAVA_13 |
0 |
public static final int |
JAVA_14 |
1 |
public static final int |
JAVA_15 |
2 |
public static final int |
JAVA_16 |
3 |
public static final int |
JAVA_17 |
4 |
public static final int |
JAVA_18 |
5 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final char |
DEFAULT_DELIMITER_CHAR |
44 |
public static final char |
DEFAULT_QUOTE_CHAR |
34 |
public static final String |
EMPTY_STRING |
"" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
FILTERS |
"filters" |
public static final String |
URLS |
"urls" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CONFIG_LOCATIONS_PARAM |
"shiroConfigLocations" |
public static final String |
ENVIRONMENT_CLASS_PARAM |
"shiroEnvironmentClass" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_WEB_INI_RESOURCE_PATH |
"/WEB-INF/shiro.ini" |
public static final String |
FILTER_CHAIN_RESOLVER_NAME |
"filterChainResolver" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_LOGIN_URL |
"/login.jsp" |
public static final String |
GET_METHOD |
"GET" |
public static final String |
POST_METHOD |
"POST" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
PERMISSIVE |
"permissive" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_SUCCESS_URL |
"/" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
AUTHENTICATE_HEADER |
"WWW-Authenticate" |
protected static final String |
AUTHORIZATION_HEADER |
"Authorization" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_ERROR_KEY_ATTRIBUTE_NAME |
"shiroLoginFailure" |
public static final String |
DEFAULT_PASSWORD_PARAM |
"password" |
public static final String |
DEFAULT_REMEMBER_ME_PARAM |
"rememberMe" |
public static final String |
DEFAULT_USERNAME_PARAM |
"username" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_REDIRECT_URL |
"/" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
IPV4_QUAD_REGEX |
"(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2(?:[0-4][0-9]|5[0-5]))" |
public static final String |
IPV4_REGEX |
"(?:(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2(?:[0-4][0-9]|5[0-5]))\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2(?:[0-4][0-9]|5[0-5]))$" |
public static final String |
PRIVATE_CLASS_A_REGEX |
"10\\.(?:(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2(?:[0-4][0-9]|5[0-5]))\\.){2}(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2(?:[0-4][0-9]|5[0-5]))$" |
public static final String |
PRIVATE_CLASS_B_REGEX |
"172\\.(?:1[6-9]|2[0-9]|3[0-1])\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2(?:[0-4][0-9]|5[0-5]))\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2(?:[0-4][0-9]|5[0-5]))$" |
public static final String |
PRIVATE_CLASS_B_SUBSET |
"(?:1[6-9]|2[0-9]|3[0-1])" |
public static final String |
PRIVATE_CLASS_C_REGEX |
"192\\.168\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2(?:[0-4][0-9]|5[0-5]))\\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2(?:[0-4][0-9]|5[0-5]))$" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
DEFAULT_HTTP_PORT |
80 |
public static final String |
HTTP_SCHEME |
"http" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
DEFAULT_HTTPS_PORT |
443 |
public static final String |
HTTPS_SCHEME |
"https" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_REMEMBER_ME_COOKIE_NAME |
"rememberMe" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
HTTP_SESSION_MODE |
"http" |
public static final String |
NATIVE_SESSION_MODE |
"native" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DELETED_COOKIE_VALUE |
"deleteMe" |
public static final int |
ONE_YEAR |
31536000 |
public static final String |
ROOT_PATH |
"/" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CONFIG_INIT_PARAM_NAME |
"config" |
public static final String |
CONFIG_PATH_INIT_PARAM_NAME |
"configPath" |
public static final String |
DEFAULT_WEB_INI_RESOURCE_PATH |
"/WEB-INF/shiro.ini" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ALREADY_FILTERED_SUFFIX |
".FILTERED" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
COOKIE_SESSION_ID_SOURCE |
"cookie" |
public static final String |
URL_SESSION_ID_SOURCE |
"url" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_SESSION_ID_NAME |
"JSESSIONID" |
Modifier and Type | Constant Field | Value |
---|---|---|
protected static final String |
ATTRIBUTE_DELIMITER |
"; " |
protected static final String |
COMMENT_ATTRIBUTE_NAME |
"Comment" |
protected static final String |
COOKIE_DATE_FORMAT_STRING |
"EEE, dd-MMM-yyyy HH:mm:ss z" |
protected static final String |
COOKIE_HEADER_NAME |
"Set-Cookie" |
protected static final long |
DAY_MILLIS |
86400000L |
public static final int |
DEFAULT_MAX_AGE |
-1 |
public static final int |
DEFAULT_VERSION |
-1 |
protected static final String |
DOMAIN_ATTRIBUTE_NAME |
"Domain" |
protected static final String |
EXPIRES_ATTRIBUTE_NAME |
"Expires" |
protected static final String |
GMT_TIME_ZONE_ID |
"GMT" |
protected static final String |
HTTP_ONLY_ATTRIBUTE_NAME |
"HttpOnly" |
protected static final String |
MAXAGE_ATTRIBUTE_NAME |
"Max-Age" |
protected static final String |
NAME_VALUE_DELIMITER |
"=" |
protected static final String |
PATH_ATTRIBUTE_NAME |
"Path" |
protected static final String |
SECURE_ATTRIBUTE_NAME |
"Secure" |
protected static final String |
VERSION_ATTRIBUTE_NAME |
"Version" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_ENCODING_SCHEME |
"UTF-8" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_CHARACTER_ENCODING |
"ISO-8859-1" |
public static final String |
FORWARD_CONTEXT_PATH_ATTRIBUTE |
"javax.servlet.forward.context_path" |
public static final String |
FORWARD_PATH_INFO_ATTRIBUTE |
"javax.servlet.forward.path_info" |
public static final String |
FORWARD_QUERY_STRING_ATTRIBUTE |
"javax.servlet.forward.query_string" |
public static final String |
FORWARD_REQUEST_URI_ATTRIBUTE |
"javax.servlet.forward.request_uri" |
public static final String |
FORWARD_SERVLET_PATH_ATTRIBUTE |
"javax.servlet.forward.servlet_path" |
public static final String |
INCLUDE_CONTEXT_PATH_ATTRIBUTE |
"javax.servlet.include.context_path" |
public static final String |
INCLUDE_PATH_INFO_ATTRIBUTE |
"javax.servlet.include.path_info" |
public static final String |
INCLUDE_QUERY_STRING_ATTRIBUTE |
"javax.servlet.include.query_string" |
public static final String |
INCLUDE_REQUEST_URI_ATTRIBUTE |
"javax.servlet.include.request_uri" |
public static final String |
INCLUDE_SERVLET_PATH_ATTRIBUTE |
"javax.servlet.include.servlet_path" |
public static final String |
SAVED_REQUEST_KEY |
"shiroSavedRequest" |
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.