com.github.kaizen4j.shiro.exception.MissingCsrfTokenException Maven / Gradle / Ivy
package com.github.kaizen4j.shiro.exception;
import com.github.kaizen4j.shiro.csrf.CsrfToken;
/**
* Thrown when no expected {@link CsrfToken} is found but is required.
*
* @author liuguowen
*/
@SuppressWarnings("serial")
public class MissingCsrfTokenException extends CsrfException {
public MissingCsrfTokenException(String actualToken) {
super("Could not verify the provided CSRF token because your session was not found.");
}
}