Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-28 Thread Martin Benda
you are correct that there is an underlying assumption that a user's roles cannot change within a session. to solve that problem right now, you would have to manually call Session.clear(), clearing all pagemaps in the user's session. why do you think that would not work? (aside from

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-28 Thread Jonathan Locke
? This was the original idea that led me to start this thread... -- View this message in context: http://www.nabble.com/Is-IAuthorizationStrategy-isInstantiationAuthorized-prone-to-security-bugs--tf3299965.html#a9201709 Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-28 Thread Martin Benda
Well, you are right. Now I see that there should be no problems with isInstantiationAuthorized when Session.clear() is used consistently... Sorry for my confused arguments :-) Thanks, Bendis On Wednesday 28 of February 2007 11:52:01 Jonathan Locke wrote: you're quoting me a bit out of context

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-28 Thread Johan Compagner
but still: session.invalidate() instead of clear() is a much better solution anyway. johan On 2/28/07, Martin Benda [EMAIL PROTECTED] wrote: Well, you are right. Now I see that there should be no problems with isInstantiationAuthorized when Session.clear() is used consistently... Sorry for

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-28 Thread Jonathan Locke
? This was the original idea that led me to start this thread... -- View this message in context: http://www.nabble.com/Is-IAuthorizationStrategy-isInstantiationAuthorized-prone-to-security-bugs--tf3299965.html#a9206737 Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-28 Thread Jonathan Locke
? This was the original idea that led me to start this thread... -- View this message in context: http://www.nabble.com/Is-IAuthorizationStrategy-isInstantiationAuthorized-prone-to-security-bugs--tf3299965.html#a9206790 Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-28 Thread Igor Vaynberg
isinstatiationauthorized is also very important because sometimes you do things in the constructor that have sideffects. take a stupid example class DeleteAllUsersPage() { public DeleteAllUsersPage() { service.deleteallusers(); add(new label(lbl, all users deleted)); }} by the time enable or

Re: Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-27 Thread Johan Compagner
but instantiation authorized is does just what it says. is the creation of a page/component possible For extra checks you need: /** * @see wicket.authorization.IAuthorizationStrategy#isActionAuthorized( wicket.Component, * wicket.authorization.Action) */

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-27 Thread Jonathan Locke
). Another question: do we need this fine-grained isInstantisationAuthorized(componentClass) at all? WDYT? Regards, Bendis -- View this message in context: http://www.nabble.com/Is-IAuthorizationStrategy-isInstantiationAuthorized-prone-to-security-bugs--tf3299965.html#a9186214 Sent from

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-27 Thread Igor Vaynberg
? Regards, Bendis -- View this message in context: http://www.nabble.com/Is-IAuthorizationStrategy-isInstantiationAuthorized-prone-to-security-bugs--tf3299965.html#a9186998 Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-27 Thread Jonathan Locke
isInstantisationAuthorized(componentClass) at all? WDYT? Regards, Bendis -- View this message in context: http://www.nabble.com/Is-IAuthorizationStrategy-isInstantiationAuthorized-prone-to-security-bugs--tf3299965.html#a9186998 Sent from the Wicket - Dev mailing list archive at Nabble.com

Re: [Vote] Is IAuthorizationStrategy#isInstantiationAuthorized prone to security bugs?

2007-02-27 Thread Jonathan Locke
like isAccessAuthorized(Class? extends Page pageClass). Another question: do we need this fine-grained isInstantisationAuthorized(componentClass) at all? -- View this message in context: http://www.nabble.com/Is-IAuthorizationStrategy-isInstantiationAuthorized-prone-to-security-bugs