We could consider adding it as a default implementation. But then
someone would have to make an example too...

Eelco

On 8/24/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> couldnt help yourself could you? :)
>
> -Igor
>
>
>
> On 8/24/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
> >
> Like this:
>
> public class JEERolesStrategy implements IRoleCheckingStrategy {
>
>         public boolean hasAnyRole(Roles roles) {
>                 HttpServletRequest request =
> WebRequestCycle.get().getWebRequest().getHttpServletRequest();
>                 for (String role : roles) {
>                          if (request.isUserInRole(role)) {
>                                 return true;
>                         }
>                 }
>                 return false;
>         }
> }
>
>
> Eelco
>
> On 8/24/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > Should be easy to do: implement a custom IRoleCheckingStrategy and use
> >
> ((WebRequestCycle)RequestCycle()).getHttpServletRequest.isUserInRole.
> >
> > Eelco
> >
> >
> > On 8/24/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > >
> > > I have seen some examples of how to write a wicket login page, but these
> > > examples do not use J2EE declarative security.
> > > Is it possible to use J2EE declarative security with wicket? Does the
> > > wicket-auth framework support this?
> > >
> > > Cheers
> > >   Erik
> > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
>
> -------------------------------------------------------------------------
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to