then the question is.
Where to put the page?

with the other pages: getApplicationSettings().getAccessDeniedPage());
or with security: getSecuritySettings().getAccessDeniedPage());

johan


On 1/10/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
We should introduce a AccessDeniedPage then.
Has one a nice default for me? :)

i am not a big fan or return a Page because what to do then? Always use redirectToIntercept?
Now a developer can choose what he wants to do..
But then we need a boolean because that way we know that we need to check if a different page is set.
If not then we set the AccessDeniedPage.

johan




On 1/10/06, Maurice Marrink <[EMAIL PROTECTED]> wrote:
Maybe you remember johan and i worked on introducing a security
framework into wicket. One of the things we had (still do actually :))
was an access denied page that could be overridden by the developper.

Maurice

2006/1/10, Igor Vaynberg <[EMAIL PROTECTED]>:
> im not a big fan of the null = continue idea since its very implicit.
>
> -Igor
>
>
>
> On 1/9/06, Juergen Donnerstag < [EMAIL PROTECTED]> wrote:
> > May that is how we should change it. Instead of return a boolean a
> > Page. If null than go on, else goto the page provided.
> >
> > Juergen
> >
> > On 1/9/06, Johan Compagner < [EMAIL PROTECTED] > wrote:
> > > What do you expect it should do?
> > > Just an empty page? Or an internal error page?
> > >
> > > If you look at the signin examples you see that we set a response page:
> > > redirectToInterceptPage(newPage(SignIn2.class));
> > >
> > >  So if you don't set any response page but do return false.
> > > What should the framework do?
> > >
> > > johan
> > >
> > >
> > > On 1/9/06, pepone pepone < [EMAIL PROTECTED]> wrote:
> > > > wicket-1.2-20060108
> > > > Page renders when checkAccess returns false
> > > >
> > > >
> > >
> http://sourceforge.net/tracker/index.php?func=detail&aid=1400643&group_id=119783&atid=684975
> > > > --
> > > > play tetris http://pepone.on-rez.com/tetris
> > > >
> > > >
> > > >
> -------------------------------------------------------
> > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > > files
> > > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > > searching your log files as easy as surfing the  web.  DOWNLOAD
> SPLUNK!
> > > > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > [email protected]
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user


Reply via email to