Class CsrfHidden
java.lang.Object
at.porscheinformatik.tapestry.csrfprotection.components.CsrfHidden
- All Implemented Interfaces:
org.apache.tapestry5.ClientElement
@SupportsInformalParameters
public class CsrfHidden
extends Object
implements org.apache.tapestry5.ClientElement
Hidden field containing the CSRF token to integrate with other frameworks (e.g. Spring Security).
HINT: this field is not necessary if you are posting to a Tapestry form.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CsrfHidden
public CsrfHidden()
-
-
Method Details
-
getClientId
- Specified by:
getClientIdin interfaceorg.apache.tapestry5.ClientElement
-