Good to hear, Eric. Dan
On 15 April 2014 12:40, Erik de Hair <[email protected]> wrote: > Hi Dan, > > My application was built from the 1.3.x archetype. I updated it today to > 1.4.x and that worked. > > Erik > > On 04/04/2014 11:42 AM, Dan Haywood wrote: > > On 4 April 2014 10:31, Erik de Hair <[email protected]><mailto:[email protected]> > wrote: > > > > Sorry, will elaborate my question or steps some more next time. > > I reconfigured by using the $iniRealm but that doesn't help. > > What could I have changed that broke the logout button? Reviewed my > changes in svn. Can't find anything suspicious. > > > > > Possibly nothing... not ruling out the fact that there's a subtle bug in > Isis . > > > > > > Running the application in embedded tomcat now instead of jetty-console... > > > > > OK, interesting. > > Can you elaborate what you mean by "jetty-console"; I'm guessing you mean > using the jetty-console.war that we create (runnable via "cd webapp; mvn > antrun:run"?) > > If you create a brand new application from the 1.4.1 archetype and run it > the same way, is it broken then? > > Dan > > > > > > ________________________________________ > From: Dan Haywood [[email protected]<mailto: > [email protected]>] > Sent: Friday, April 04, 2014 10:36 AM > To: users > Subject: Re: logout with wicket logout link > > And if you undo that shiro configuration, does the logout link work? > > > > On 4 April 2014 09:28, Erik de Hair <[email protected]><mailto:[email protected]> > wrote: > > > > 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]<mailto: > [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]><mailto:[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 > > > > > > > > > > > > >
