I found this thread very useful and implemented my own Realm in only a few minutes. It's actually very simple. You just have to implemented 2 methods.
http://shiro-user.582556.n2.nabble.com/How-to-add-a-role-to-the-subject-td5562700.html HTH! Jack -- View this message in context: http://shiro-user.582556.n2.nabble.com/Complete-example-of-custom-realm-tp6207177p6208067.html Sent from the Shiro User mailing list archive at Nabble.com.
