Class AuthenticationAttrProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementTagProcessor
org.thymeleaf.processor.element.AbstractAttributeTagProcessor
org.thymeleaf.extras.springsecurity5.dialect.processor.AuthenticationAttrProcessor
- All Implemented Interfaces:
org.thymeleaf.processor.element.IElementProcessor
,org.thymeleaf.processor.element.IElementTagProcessor
,org.thymeleaf.processor.IProcessor
public final class AuthenticationAttrProcessor
extends org.thymeleaf.processor.element.AbstractAttributeTagProcessor
Outputs a property of the authentication object, similar to the Spring
Security <sec:authentication/> JSP tag.
- Author:
- Daniel Fernández
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAuthenticationAttrProcessor
(org.thymeleaf.templatemode.TemplateMode templateMode, String dialectPrefix) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doProcess
(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) Methods inherited from class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
doProcess
Methods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateMode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.thymeleaf.processor.IProcessor
getPrecedence, getTemplateMode
-
Field Details
-
ATTR_PRECEDENCE
public static final int ATTR_PRECEDENCE- See Also:
-
ATTR_NAME
- See Also:
-
-
Constructor Details
-
AuthenticationAttrProcessor
public AuthenticationAttrProcessor(org.thymeleaf.templatemode.TemplateMode templateMode, String dialectPrefix)
-
-
Method Details
-
doProcess
protected void doProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) - Specified by:
doProcess
in classorg.thymeleaf.processor.element.AbstractAttributeTagProcessor
-