10 Minute Tutorial on Apache Shiro
1.jdk 1.6 and Maven 3.1.1 installed
2.download the lastest "Source Code Distribution" , I use 1.2.4
3.>unzip shiro-root-1.2.4-source-release.zip
4.>cd shiro-root-1.2.4/samples/quikestart
5.Run the QuickStart
>mvn compile exec:java
7.Obtain the currently executing user by following call:
Subject currentUser = SubjectUtils.getSubject();