If you have already included the 0.1.1 release of JSecurity plugin into your
app, upgrading to the new intermediate release is really trivial: in fact the
ony thing you have to do is to stop to extend JsecAuthBase in your
controllers. And recreate the DB realm with a "grails create-db-realm".
That's all! :)
And you can even keep the old system (ie. extending JsecAuthBase) and do..
nothing?
Le vendredi 2008 janvier 4, Michael Kimsal a écrit :
> Hopefully this won't sound too selfish, but can anyone share some sample
> code or
> docs on how this new system is to be used? I've downloaded it, but there's
> no docs,
> and I'm having a devil of a time trying to reverse it to figure out exactly
> how I can best
> make use of it.
>
> Thanks.
>
> On Jan 3, 2008 9:18 PM, Vincent Frison <
turman@...> wrote:
> > Le jeudi 2008 janvier 3, Peter Ledbrook a écrit:
> > > > But have someone a tip for using the flash object from a filter
> > > > (which seems to available for controllers and taglib only)?
> > >
> > > This does seem to be an oversight for filters, although there may be a
> > > good reason for its exclusion. You could try:
> > >
> > > import org.springframework.web.context.request.RequestContextHolder as
> > > RCH ...
> > > def flash = RCH.currentRequestAttributes().flashScope
> >
> > Thanks Peter, that's what I was looking for! :)
> >
> > Anyway I'm going to create an issue on JIRA for that because it really
> > looks
> > like an oversight..
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >
http://xircles.codehaus.org/manage_email---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email