Package net.shibboleth.idp.ui.csrf
Interface CSRFToken
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SimpleCSRFToken
An anti cross-site request forgery token.
-
Method Summary
Modifier and TypeMethodDescriptionThe name to be used in HTML form input elements to store the CSRF token value.getToken()
The anti-CSRF token value.
-
Method Details
-
getParameterName
The name to be used in HTML form input elements to store the CSRF token value. Expected to be present as a parameter in a HTTP request.- Returns:
- the HTTP parameter name that contains the value of the token.
-
getToken
The anti-CSRF token value. The token should be cryptographically strong.- Returns:
- the anti-CSRF token.
-