how can i define a custom Authentication token in shiro.ini?
This post has NOT been accepted by the mailing list yet.
my shiro.ini looks like as following -
# Quickstart INI Realm configuration
# For those that might not understand the references in this file, the
# definitions are all based on the classic Mel Brooks' film "Spaceballs". ;)
# cookie for single sign on is set to myServSessID and Root Path
cookie = org.apache.shiro.web.servlet.SimpleCookie
cookie.name = myServSessID
cookie.path = /
securityManager.sessionManager.sessionIdCookie = $cookie
during deployment of application, i am getting following exception
An error has occurred
Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.shiro.config.ConfigurationException: Unable to set property 'authenticationTokenClass' with value [com.test.myserver.auth.realm.MyAuthenticationToken - null, rememberMe=false] on object of type com.test.myserver.auth.realm.MyRealm. If 'com.test.myserver.auth.realm.MyAuthenticationToken - null, rememberMe=false' is a reference to another (previously defined) object, prefix it with '$' to indicate that the referenced object should be used as the actual value. For example, $com.test.myserver.auth.realm.MyAuthenticationToken - null, rememberMe=false. Please see server.log for more details.