In "MyRealm", you need setCredentialsMatcher(new AllowAllCredentialsMatcher()); in constructor
-- View this message in context: http://shiro-user.582556.n2.nabble.com/how-can-i-define-a-custom-Authentication-token-in-shiro-ini-tp7579965p7579966.html Sent from the Shiro User mailing list archive at Nabble.com.
