1. conanca
  2. nutzdemo-shiro

Commits

conanca  committed c65b37e

移除多余方法

  • Participants
  • Parent commits 9dd07d2
  • Branches default

Comments (0)

Files changed (1)

File src/main/java/com/dolplay/nutzshiro/module/SystemModule.java

View file
  • Ignore whitespace
 import org.apache.shiro.authc.AuthenticationException;
 import org.apache.shiro.authc.AuthenticationToken;
 import org.apache.shiro.authc.UsernamePasswordToken;
-import org.apache.shiro.authz.annotation.RequiresAuthentication;
 import org.apache.shiro.mgt.SecurityManager;
 import org.apache.shiro.session.SessionException;
 import org.apache.shiro.subject.Subject;
 		}
 	}
 
-	@At("/main")
-	@Ok("jsp:jsp.main")
-	@RequiresAuthentication
-	public void main() {
-
-	}
-
 	@At("/logout")
 	@Ok(">>:/")
 	public void logout() {