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

com.github.shawven.security.browser.BrowserConstants Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package com.github.shawven.security.browser;

/**
 * @author Shoven
 * @date 2019-08-20
 */
public class BrowserConstants {
    /**
     * 默认的登陆url
     */
    public static final String DEFAULT_SIGN_IN_URL = "/signIn.html";

    /**
     * 默认的登录请求处理url
     */
    public static final String DEFAULT_SIGN_IN_PROCESSING_URL_FORM = "/login";

    /**
     * 默认的登录成功后跳转的url
     */
    public static final String DEFAULT_SIGN_IN_SUCCESS_URL = "index.html";

    /**
     * 默认退出登录的url
     */
    public static final String DEFAULT_SIGN_OUT_PROCESSING_URL = "/logout";

    /**
     * 默认退出登录成功的url
     */
    public static final String DEFAULT_SIGN_OUT_SUCCESS_URL = "/signOut.html";

    /**
     * 默认注册url
     */
    public static final String DEFAULT_SIGN_UP_URL = "/signUp.html";

    /**
     * session失效默认的跳转url
     */
    public static final String DEFAULT_SESSION_INVALID_URL = "/session-invalid.html";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy