cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eric.ja...@bell.ca
Subject RE: SpringAndAuthentication - SecurityManager question
Date Wed, 11 May 2005 20:17:08 GMT
What about Acegi (http://acegisecurity.sourceforge.net/) for Spring? I
think you should look at it and see if it can easily be integrated with
Cocoon...

Just my two cents,

Eric


> -----Original Message-----
> From: Sebastien Arbogast [mailto:sebastien.arbogast@gmail.com]
> Sent: Wednesday, May 11, 2005 9:55 AM
> To: users@cocoon.apache.org
> Subject: Re: SpringAndAuthentication - SecurityManager question
> 
> > Must the SecurityManager follow certain rules (implement some
interface
> > I don't know of) or can I write it "freehand"?
> 
> No and it's the main advantage of Spring compared to EJB's : it's
> non-invasive, which means there is no trace of Spring constraint in
> your code. The only "constraint" is that it has to be a POJO (Plain
> Old Java Object) and respect the JavaBean convention : private fields,
> and getter and setter for each field.
> The rest is just a matter of configuration in applicationContext.xml.
> Take a look at applicationContext.xml in CHS sample, and don't forget
> to look for the lines around some "OpenSessionInViewFilter" in
> web.xml. This is very important to understand.
> 
> 
> I'll add an example of my Security manager and the corresponding
> Spring configuration to the wiki page. But in fact as I can't
> introduce my SecurityManager without the surrounding classes, I'll
> make a more complete tutorial about that. I'll keep you notified.
> 
> --
> Sebastien ARBOGAST
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message