Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-09-01       - By likon

 Back
Hello everybody!

I am rather new to JBoss Portal but I've met my first problem that I can't
solve for a long time... On the forum authorization/authentication theme is one
of the most popular and I've got common goal also.
In couples of words I want to do following:
1) Authenticate user and find possibility to get authenticated user id in each
portlet.
2) Define bindings of roles and permissions for each portlet. (AFAIK this can
be done easily)
3) Resolve permissions for current user in each portlet .
4) Do not render portlet for the defined permissions.

Here are my questions according to the goals:
1) First of all, why there are no examples where login functionality is located
in the separate portlet? Are there any limitations for implemention such
functionality? Can I use JAAS for this goal?
2) Is there possibility to manage this via admin interface?
3,4) Are there any technics or recommendation for manager that will
automatically resolve permissions for logged in user? How this information can
be read from portlet?

If you know smth that can help me and this is already have been written
somewhere then I'll appreciate any links and documents. I think this theme is
interesting and usefull and I want to solve this problem and to create good
wiki document for the future usage.

What have I read:
I have read reference guide and I have found that JBoss has identity modules
implementation. But I haven't found out how can I implement this modules for
working with my business objects. Is it possible?
Also, I have read wiki where I found such a information (may be can be usefull
for smb)
1) Here is how logged in user can be determined. http://wiki.jboss.org/wiki
/Wiki.jsp?page=DeterminePortalLoggedInUser
2) Here is described how to force login or in other words "How to remove any
non-authorized portal usage http://wiki.jboss.org/wiki/Wiki.jsp?page
=ForceLoginPage (instructions for Jboss Portal Server 2.0, they can be not
usefull now)
3) Here is rather big document called LoginPortlet. http://wiki.jboss.org/wiki
/Wiki.jsp?page=PortletLogin For a pity I could't find any information about
PORTLET there. Only jsp/servelt.
4) Here you can find how to secure resources via url-pattern in Jboss AS. http:
//wiki.jboss.org/wiki/Wiki.jsp?page=SecureAWebApplicationUsingACustomForm
5) By the way here is small example how to configure JAAS login module on the
"server" side. http://labs.jboss.com/wiki/JAASSetup
6) Here is something conceptual - authorization manager diagram and permission
matrix. http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalSecurity This was
created for 2.2 version so I don't know the state of this functionality.
7) One more interesting thing - Acegi portlet support. http://wiki.jboss.org
/wiki/Wiki.jsp?page=AcegiPortletSupport. Sounds very encouranging but I had only
quick look on this extension.
8) Jboss Portal Identity API documentation. http://wiki.jboss.org/wiki/Wiki.jsp
?page=Identity_API_in_JBoss_Portal_2_6

Thank you for any help!!!

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4080268
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user