Class SpringSecurityExpressionObjectFactory
- Object
-
- org.thymeleaf.extras.springsecurity4.dialect.expression.SpringSecurityExpressionObjectFactory
-
- All Implemented Interfaces:
org.thymeleaf.expression.IExpressionObjectFactory
public class SpringSecurityExpressionObjectFactory extends Object implements org.thymeleaf.expression.IExpressionObjectFactory
Builds the expression objects to be used by the Spring Security dialect.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Field Summary
Fields Modifier and Type Field Description protected static Set<String>ALL_EXPRESSION_OBJECT_NAMESstatic StringAUTHENTICATION_EXPRESSION_OBJECT_NAMEstatic StringAUTHORIZATION_EXPRESSION_OBJECT_NAME
-
Constructor Summary
Constructors Constructor Description SpringSecurityExpressionObjectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectbuildObject(org.thymeleaf.context.IExpressionContext context, String expressionObjectName)Set<String>getAllExpressionObjectNames()booleanisCacheable(String expressionObjectName)
-
-
-
Field Detail
-
AUTHENTICATION_EXPRESSION_OBJECT_NAME
public static final String AUTHENTICATION_EXPRESSION_OBJECT_NAME
- See Also:
- Constant Field Values
-
AUTHORIZATION_EXPRESSION_OBJECT_NAME
public static final String AUTHORIZATION_EXPRESSION_OBJECT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAllExpressionObjectNames
public Set<String> getAllExpressionObjectNames()
- Specified by:
getAllExpressionObjectNamesin interfaceorg.thymeleaf.expression.IExpressionObjectFactory
-
isCacheable
public boolean isCacheable(String expressionObjectName)
- Specified by:
isCacheablein interfaceorg.thymeleaf.expression.IExpressionObjectFactory
-
-