Class WebAttributes
java.lang.Object
org.springframework.security.web.WebAttributes
Well-known keys which are used to store Spring Security information in request or
session scope.
- Since:
- 3.0.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUsed to cache anAccessDeniedExceptionin the request for rendering.static final StringSet as a request attribute to provide anApplicationContextfor use by JSP authorize tags when resolving security beans.static final StringUsed to cache an authentication-failure exception in the session.static final Stringstatic final StringSet as a request attribute to override the defaultWebInvocationPrivilegeEvaluator -
Method Summary
-
Field Details
-
ACCESS_DENIED_403
Used to cache anAccessDeniedExceptionin the request for rendering.- See Also:
-
APPLICATION_CONTEXT_ATTRIBUTE
Set as a request attribute to provide anApplicationContextfor use by JSP authorize tags when resolving security beans.When set, this attribute is preferred over the root web application context. The value must be of type
ApplicationContext.Used in
org.springframework.security.taglibs.authz.AbstractAuthorizeTag.- Since:
- 7.1
-
AUTHENTICATION_EXCEPTION
Used to cache an authentication-failure exception in the session.- See Also:
-
WEB_INVOCATION_PRIVILEGE_EVALUATOR_ATTRIBUTE
Set as a request attribute to override the defaultWebInvocationPrivilegeEvaluator- Since:
- 3.1.3
- See Also:
-
REQUIRED_FACTOR_ERRORS
Used to set aCollectionofRequiredFactorErrorinstances into theHttpServletRequest.Represents what authorities are missing to be authorized for the current request
- Since:
- 7.0
- See Also:
-