goja-web/src/main/java/goja/security/shiro/LoginActionKit.java
public static void login(String username, String password, boolean rememberMe)
            throws AuthenticationException {
        UsernamePasswordToken token = new UsernamePasswordToken(username, password, rememberMe);
        final Subject subject = SecurityUtils.getSubject();
        subject.login(token);
    }
public static void login(String username, String password, boolean rememberMe)
            throws AuthenticationException {
        UsernamePasswordToken token = new UsernamePasswordToken(username, password, rememberMe);
        final Subject subject = SecurityUtils.getSubject();
        subject.login(token);
    }
public static void login ( String username , String password , boolean rememberMe ) throws AuthenticationException { UsernamePasswordToken token = new UsernamePasswordToken ( username , password , rememberMe ) ; final Subject subject = SecurityUtils . getSubject ( ) ; subject . login ( token ) ; }
触发Shiro的登录请求.

@param username   用户名称
@param password   登录密码
@param rememberMe 是否记住我
@throws AuthenticationException 授权失败的异常
触发Shiro的登录请求 .