public interface IAXSRFTVendingMachine
Modifier and Type | Method and Description |
---|---|
boolean |
acceptToken(FacesContext context,
String token)
Returns true if the specified anti-cross-site-request-forgery token is valid
for the specified user.
|
boolean |
acceptToken(HttpServletRequest request,
String token)
Returns true if the specified anti-cross-site-request-forgery token is valid
for the specified user.
|
String |
produceToken(FacesContext context)
Produces an anti-cross-site-request-forgery token for the specified user.
|
String |
produceToken(HttpServletRequest request)
Produces an anti-cross-site-request-forgery token for the specified user.
|
String |
produceToken(String user)
Produces an anti-cross-site-request-forgery token for the specified user.
|
String produceToken(FacesContext context)
String produceToken(HttpServletRequest request)
String produceToken(String user)
boolean acceptToken(FacesContext context, String token)
boolean acceptToken(HttpServletRequest request, String token)