using the following configuration in web.xml inline ini, I cannot get
AtLeastOneSuccessful to work.
Debugging the application always shows the use of AllSuccessful

Is this ini configuration wrong?


[main]

securityManager = org.jsecurity.web.DefaultWebSecurityManager
securityManager.sessionMode = http
                                
cacheManager = org.jsecurity.cache.ehcache.EhCacheManager
securityManager.cacheManager = $cacheManager
                                
mra = org.jsecurity.authc.pam.ModularRealmAuthenticator
mrstrat =
org.jsecurity.authc.pam.AtLeastOneSuccessfulModularAuthenticationStrategy
mra.modularAuthenticationStrategy = $mrstrat
securityManager.authenticator = $mra


Log shows:

DEBUG [org.jsecurity.config.ReflectionBuilder]: Encountered object reference
[$mrstrat].  Looking up object with id [mrstrat]
TRACE [org.jsecurity.config.ReflectionBuilder]: Applying property
[modularAuthenticationStrategy] value
[org.jsecurity.authc.pam.atleastonesuccessfulmodularauthenticationstrat...@a87e7b]
on object of type [org.jsecurity.authc.pam.ModularRealmAuthenticator]


-- 
View this message in context: 
http://n2.nabble.com/ModularAuthenticationStrategy-configuration-in-ini-tp2277507p2277507.html
Sent from the JSecurity User mailing list archive at Nabble.com.

Reply via email to