owasp-thymeleaf

OWASP CSRFGuard 3 integration with Thymeleaf

Лицензия

Лицензия

Категории

Категории

Leaf Данные Базы данных
Группа

Группа

com.github.thiagosqr
Идентификатор

Идентификатор

owasp-thymeleaf
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

owasp-thymeleaf
OWASP CSRFGuard 3 integration with Thymeleaf
Ссылка на сайт

Ссылка на сайт

https://github.com/thiagosqr/owasp-thymeleaf
Система контроля версий

Система контроля версий

https://github.com/thiagosqr/owasp-thymeleaf

Скачать owasp-thymeleaf

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.thiagosqr/owasp-thymeleaf/ -->
<dependency>
    <groupId>com.github.thiagosqr</groupId>
    <artifactId>owasp-thymeleaf</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.thiagosqr/owasp-thymeleaf/
implementation 'com.github.thiagosqr:owasp-thymeleaf:1.0.0'
// https://jarcasting.com/artifacts/com.github.thiagosqr/owasp-thymeleaf/
implementation ("com.github.thiagosqr:owasp-thymeleaf:1.0.0")
'com.github.thiagosqr:owasp-thymeleaf:jar:1.0.0'
<dependency org="com.github.thiagosqr" name="owasp-thymeleaf" rev="1.0.0">
  <artifact name="owasp-thymeleaf" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.thiagosqr', module='owasp-thymeleaf', version='1.0.0')
)
libraryDependencies += "com.github.thiagosqr" % "owasp-thymeleaf" % "1.0.0"
[com.github.thiagosqr/owasp-thymeleaf "1.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.thymeleaf : thymeleaf jar 2.1.3.RELEASE

provided (1)

Идентификатор библиотеки Тип Версия
javax.servlet : servlet-api jar 3.0-alpha-1

system (1)

Идентификатор библиотеки Тип Версия
org.owasp : csrfguard jar 3.1.0-SNAPSHOT

Модули Проекта

Данный проект не имеет модулей.

owasp-thymeleaf

##OWASP CSRFGuard 3 integration with Thymeleaf OWASP CSRFGuard 3 does not support Thymeleaf so an integration had to be made using CsrfLink class.

###Maven Dependency

<dependency>
    <groupId>com.github.thiagosqr</groupId>
    <artifactId>owasp-thymeleaf</artifactId>
    <version>1.0.0</version>
</dependency>

###Example

Eg.

   <html xmlns:th="http://www.thymeleaf.org" xmlns:csrf="http://www.w3.org/1999/xhtml">
   ...     
   <a href="#" csrf:token_for="data-href" th:attr="data-href=${it.id+'/delete'}" data-th-text="#{delete.button.label}" class="btn btn-outline btn-danger" data-toggle="modal" data-target="#confirm-delete">delete</a>

Версии библиотеки

Версия
1.0.0