Hi Dan, I reconfigured Shiro for jdbc:
builtInCacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager securityManager.cacheManager = $builtInCacheManager ps = org.apache.shiro.authc.credential.DefaultPasswordService pm = org.apache.shiro.authc.credential.PasswordMatcher pm.passwordService = $ps aa = org.apache.shiro.authc.credential.AllowAllCredentialsMatcher sm = org.apache.shiro.authc.credential.SimpleCredentialsMatcher jdbcRealm=org.apache.shiro.realm.jdbc.JdbcRealm jdbcRealm.authenticationQuery = SELECT password from users where username = ? jdbcRealm.userRolesQuery = select r.label from users_roles ur inner join roles r on ur.role_id = r.id where user_id = (select id from users where username = ?); jdbcRealm.permissionsQuery=select p.permission from roles_permissions rp inner join permissions p on rp.permission_id = p.id where rp.role_id = (select id from roles where label = ?); jdbcRealm.permissionsLookupEnabled=true ds = com.mysql.jdbc.jdbc2.optional.MysqlDataSource ds ...etc securityManager.realms = $jdbcRealm Erik ________________________________________ From: Dan Haywood [[email protected]] Sent: Wednesday, April 02, 2014 3:06 PM To: users Subject: Re: logout with wicket logout link Hi Erik, This should work "out of the box". We did have some issues in 1.3.x, but I believe these were addressed in 1.4.x. If you go to our online demo [1], you should be able to able to login as either sven/pass or as dick/pass; all seems ok. Have you reconfigured anything in Shiro, at all? Thx Dan [1] http://mmyco.co.uk:8180/isis-onlinedemo/wicket/ On 2 April 2014 14:48, Erik de Hair <[email protected]> wrote: > Hi, > > Should the log out link (wicket viewer) be working out of the box (using > isisdemo-simple) or do I have to implement/register some filter? > > Tried to add /wicket/?1-1.ILinkListener-logoutLink to shiro.ini [url] > section like the Shiro documentation says. It doesn't work and I don't have > the feeling this should be the right way to do it either. > > Erik >
