I would like to clarify what exactly I'm looking for that Acegi offers that I 
do not believe Seam or any extension has integrated into the JSF view tier. But 
feel free to correct me if I have overlooked something.

Acegi offers out of the box Servlet Filters for login authentication with 
suggested table structures that are very simple. The filter will also take care 
of "storing" the Principal where the application has access to it such as the 
Session. However, you don't really have to worry about where it is because you 
just use Acegis helper classes to pull it if required. Acegi also has some 
other filters for things such as forcing https.

So... while Seam does have JAAS capabilities... I don't believe that it has an 
easy to use Servlet Filter for the frontend to use for web site authentication.

There is also a basic Tag library for View display such as:

<authz:authorize ifAnyGranted="ADMIN_ROLE, USER_ROLE">
  Do something here
</authz:authorize>


It is also very easy to create custom code that uses interceptors to kick off  
After Method Invocation security... so you can can create custom code that 
makes security checks on anything brought back from a getter. This is very 
simple too.

All of my security settings are in a fairly clean XML doc and I don't have any 
"security" code inside my application except for the Tags in the views.

>From what little I've read... it seems that Seam could easily accomodate 
>everything that Acegi does because it is all based on Servlet Filters and IoC.

I'm not familiar with the JAAS capabilities within JBoss... does anyone have a 
good link on reading material with regards to what all it can/cannot do? and 
how to use it? I tried Sun first but it is spec and not what is implemented by 
the JBoss container.





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940547#3940547

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940547


-------------------------------------------------------
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
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to