Thymeleaf now has Spring Security integration!

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Thymeleaf now has Spring Security integration!

The first release (1.0.0-beta1) for the new thymeleaf-extras-springsecurity "extras" module has just been released!

This module includes a Dialect that provides you with attributes and expression objects mimicing the capabilities of the Spring Security JSP taglib, thus allowing you to use Spring Security's features in a much more integrated fashion inside your templates.

    <div sec:authorize="hasRole('ROLE_ADMIN')">
        This content is only shown to administrators.

See the DZone announcement here:

See the project's GitHub page here:

See the Thymeleaf website here: