Constant Field Values
Contents
org.apache.*
-
org.apache.shiro.authc.credential.DefaultPasswordService Modifier and Type Constant Field Value public static final String
DEFAULT_HASH_ALGORITHM
"SHA-256"
public static final int
DEFAULT_HASH_ITERATIONS
500000
-
org.apache.shiro.authz.permission.WildcardPermission 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
"*"
-
org.apache.shiro.cas.CasRealm Modifier and Type Constant Field Value public static final String
DEFAULT_REMEMBER_ME_ATTRIBUTE_NAME
"longTermAuthenticationRequestTokenUsed"
public static final String
DEFAULT_VALIDATION_PROTOCOL
"CAS"
-
org.apache.shiro.codec.CodecSupport Modifier and Type Constant Field Value public static final String
PREFERRED_ENCODING
"UTF-8"
-
org.apache.shiro.config.Ini 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
"]"
-
org.apache.shiro.config.IniFactorySupport<T> Modifier and Type Constant Field Value public static final String
DEFAULT_INI_RESOURCE_PATH
"classpath:shiro.ini"
-
org.apache.shiro.config.IniSecurityManagerFactory 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"
-
org.apache.shiro.crypto.SecureRandomNumberGenerator Modifier and Type Constant Field Value protected static final int
DEFAULT_NEXT_BYTES_SIZE
16
-
org.apache.shiro.crypto.hash.Md2Hash Modifier and Type Constant Field Value public static final String
ALGORITHM_NAME
"MD2"
-
org.apache.shiro.crypto.hash.Md5Hash Modifier and Type Constant Field Value public static final String
ALGORITHM_NAME
"MD5"
-
org.apache.shiro.crypto.hash.Sha1Hash Modifier and Type Constant Field Value public static final String
ALGORITHM_NAME
"SHA-1"
-
org.apache.shiro.crypto.hash.Sha256Hash Modifier and Type Constant Field Value public static final String
ALGORITHM_NAME
"SHA-256"
-
org.apache.shiro.crypto.hash.Sha384Hash Modifier and Type Constant Field Value public static final String
ALGORITHM_NAME
"SHA-384"
-
org.apache.shiro.crypto.hash.Sha512Hash Modifier and Type Constant Field Value public static final String
ALGORITHM_NAME
"SHA-512"
-
org.apache.shiro.crypto.hash.format.ModularCryptFormat Modifier and Type Constant Field Value public static final String
TOKEN_DELIMITER
"$"
-
org.apache.shiro.crypto.hash.format.Shiro1CryptFormat Modifier and Type Constant Field Value public static final String
ID
"shiro1"
public static final String
MCF_PREFIX
"$shiro1$"
-
org.apache.shiro.env.DefaultEnvironment Modifier and Type Constant Field Value public static final String
DEFAULT_SECURITY_MANAGER_KEY
"securityManager"
-
org.apache.shiro.io.ResourceUtils 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:"
-
org.apache.shiro.jndi.JndiLocator Modifier and Type Constant Field Value public static final String
CONTAINER_PREFIX
"java:comp/env/"
-
org.apache.shiro.realm.jdbc.JdbcRealm 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 = ?"
-
org.apache.shiro.realm.ldap.DefaultLdapContextFactory Modifier and Type Constant Field Value protected static final String
SUN_CONNECTION_POOLING_PROPERTY
"com.sun.jndi.ldap.connect.pool"
-
org.apache.shiro.realm.ldap.JndiLdapContextFactory 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"
-
org.apache.shiro.realm.text.IniRealm Modifier and Type Constant Field Value public static final String
ROLES_SECTION_NAME
"roles"
public static final String
USERS_SECTION_NAME
"users"
-
org.apache.shiro.session.mgt.AbstractSessionManager 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
-
org.apache.shiro.session.mgt.AbstractValidatingSessionManager Modifier and Type Constant Field Value public static final long
DEFAULT_SESSION_VALIDATION_INTERVAL
3600000L
-
org.apache.shiro.session.mgt.SimpleSession 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
-
org.apache.shiro.session.mgt.eis.CachingSessionDAO Modifier and Type Constant Field Value public static final String
ACTIVE_SESSION_CACHE_NAME
"shiro-activeSessionCache"
-
org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler Modifier and Type Constant Field Value public static final long
DEFAULT_SESSION_VALIDATION_INTERVAL
3600000L
-
org.apache.shiro.util.AntPathMatcher Modifier and Type Constant Field Value public static final String
DEFAULT_PATH_SEPARATOR
"/"
-
org.apache.shiro.util.JavaEnvironment 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
-
org.apache.shiro.util.StringUtils 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
""
-
org.apache.shiro.web.config.IniFilterChainResolverFactory Modifier and Type Constant Field Value public static final String
FILTERS
"filters"
public static final String
URLS
"urls"
-
org.apache.shiro.web.env.EnvironmentLoader Modifier and Type Constant Field Value public static final String
CONFIG_LOCATIONS_PARAM
"shiroConfigLocations"
public static final String
ENVIRONMENT_CLASS_PARAM
"shiroEnvironmentClass"
-
org.apache.shiro.web.env.IniWebEnvironment 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"
-
org.apache.shiro.web.filter.AccessControlFilter 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"
-
org.apache.shiro.web.filter.authc.AuthenticatingFilter Modifier and Type Constant Field Value public static final String
PERMISSIVE
"permissive"
-
org.apache.shiro.web.filter.authc.AuthenticationFilter Modifier and Type Constant Field Value public static final String
DEFAULT_SUCCESS_URL
"/"
-
org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter Modifier and Type Constant Field Value protected static final String
AUTHENTICATE_HEADER
"WWW-Authenticate"
protected static final String
AUTHORIZATION_HEADER
"Authorization"
-
org.apache.shiro.web.filter.authc.BearerHttpAuthenticationFilter Modifier and Type Constant Field Value protected static final String
AUTHENTICATE_HEADER
"WWW-Authenticate"
protected static final String
AUTHORIZATION_HEADER
"Authorization"
-
org.apache.shiro.web.filter.authc.FormAuthenticationFilter 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"
-
org.apache.shiro.web.filter.authc.LogoutFilter Modifier and Type Constant Field Value public static final String
DEFAULT_REDIRECT_URL
"/"
-
org.apache.shiro.web.filter.authz.HostFilter 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]))$"
-
org.apache.shiro.web.filter.authz.PortFilter Modifier and Type Constant Field Value public static final int
DEFAULT_HTTP_PORT
80
public static final String
HTTP_SCHEME
"http"
-
org.apache.shiro.web.filter.authz.SslFilter Modifier and Type Constant Field Value public static final int
DEFAULT_HTTPS_PORT
443
public static final String
HTTPS_SCHEME
"https"
-
org.apache.shiro.web.mgt.CookieRememberMeManager Modifier and Type Constant Field Value public static final String
DEFAULT_REMEMBER_ME_COOKIE_NAME
"rememberMe"
-
org.apache.shiro.web.mgt.DefaultWebSecurityManager Modifier and Type Constant Field Value public static final String
HTTP_SESSION_MODE
"http"
public static final String
NATIVE_SESSION_MODE
"native"
-
org.apache.shiro.web.servlet.Cookie 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
"/"
-
org.apache.shiro.web.servlet.IniShiroFilter 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"
-
org.apache.shiro.web.servlet.OncePerRequestFilter Modifier and Type Constant Field Value public static final String
ALREADY_FILTERED_SUFFIX
".FILTERED"
-
org.apache.shiro.web.servlet.ShiroHttpServletRequest Modifier and Type Constant Field Value public static final String
COOKIE_SESSION_ID_SOURCE
"cookie"
public static final String
URL_SESSION_ID_SOURCE
"url"
-
org.apache.shiro.web.servlet.ShiroHttpSession Modifier and Type Constant Field Value public static final String
DEFAULT_SESSION_ID_NAME
"JSESSIONID"
-
org.apache.shiro.web.servlet.SimpleCookie 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
SAME_SITE_ATTRIBUTE_NAME
"SameSite"
protected static final String
SECURE_ATTRIBUTE_NAME
"Secure"
protected static final String
VERSION_ATTRIBUTE_NAME
"Version"
-
org.apache.shiro.web.util.RedirectView Modifier and Type Constant Field Value public static final String
DEFAULT_ENCODING_SCHEME
"UTF-8"
-
org.apache.shiro.web.util.WebUtils 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"