Hi, I'm fiddling around with wasp and swarm. I was wondering if it is possible to add an EverybodyPrincipal to the current session on session instantiation. The problem is the following: I'd like to let my BasePage (from which ALL pages in my app inherit from) extend SecurePage to be able to control the actions for all pages with the hive file. But as a SecurePage requires an authenticated session, I can't let my basepage extend SecurePage. So I thought, that I could just add a subject containing an EverybodyPrincipal on session creation. I.e. in the session's constructor or in the application's newSession method, sothat the session gets authenticated behind the scenes and the page gets rendered fine. Unfortunately this results in a Stackoverflow as the Session.get() method calls the login method and vice-versa... so what's the best way to handle that?
thanks in advance (to maurice i think ;-)) regards Michael ----- Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/wicket-security%2C-everybodyprincipal-and-only-securepages-tp15413102p15413102.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
