All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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.");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy