Class SpringSecurityExpressionObjectFactory
Object
org.thymeleaf.extras.springsecurity5.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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildObject
(org.thymeleaf.context.IExpressionContext context, String expressionObjectName) boolean
isCacheable
(String expressionObjectName)
-
Field Details
-
AUTHENTICATION_EXPRESSION_OBJECT_NAME
- See Also:
-
AUTHORIZATION_EXPRESSION_OBJECT_NAME
- See Also:
-
ALL_EXPRESSION_OBJECT_NAMES
-
-
Constructor Details
-
SpringSecurityExpressionObjectFactory
public SpringSecurityExpressionObjectFactory()
-
-
Method Details
-
getAllExpressionObjectNames
- Specified by:
getAllExpressionObjectNames
in interfaceorg.thymeleaf.expression.IExpressionObjectFactory
-
isCacheable
- Specified by:
isCacheable
in interfaceorg.thymeleaf.expression.IExpressionObjectFactory
-
buildObject
public Object buildObject(org.thymeleaf.context.IExpressionContext context, String expressionObjectName) - Specified by:
buildObject
in interfaceorg.thymeleaf.expression.IExpressionObjectFactory
-