[jboss-user] [JBoss Portal] - Help with portlet authentication

2008-02-27 Thread dcollodel
Hi,

I am currently deploying Documentum portlets to Jboss portal. I've been 
successful in getting them to work with a separate login, but not using the 
Portal's security principal. The documentation is leaving me hanging on the 
Jboss configuration side, so any help would be greatly appreciated.

I've configured the portlet application on the backend for trusted 
authentication, but it seems that the security principal is not being passed 
from Jboss to the WDK portlet applications.

The portlet documentation states:
anonymous wrote : 
  | Set up J2EE principals in the application deployment description web.xml 
and in application server-specific files...
  | 
  | To set up J2EE principals:
  | To enable J2EE principals to log in to repositories (single login), you 
must modify the deployment descriptor file (/WEB-INF/web.xml) and follow the 
procedures that are specific to your portal server.
  | 
  | 1. In /WEB-INF/web.xml, remove the comments around the security constraints 
element. This sets up a user role called œeveryone. The web-resource-name 
value should match the context name of the Web application. For example:
  | 
  |   |  security-constraint
  |   |  web-resource-collection
  |   |   web-resource-name/web-resource-name
  |   |   url-pattern/*/url-pattern
  |   |   http-methodPOST/http-method
  |   |   http-methodGET/http-method
  |   |  /web-resource-collection
  |   |  auth-constraint
  |   |   role-nameeveryone/role-name
  |   |  /auth-constraint
  |   |  /security-constraint
  |   | login-config
  |   |  auth-methodBASIC/auth-method
  |   |  /login-config
  |   | 
  | 
  | 2. Follow the portal server procedure for setting up J2EE principals. Each 
portal server has its own procedure for enabling single login.
For Step 1, it's referring to the web.xml of the Documentum portlets. I'm 
unsure what the context name should be.

Step 2 seems to be where the real trouble is though. If I can get J2EE 
principals set up, I think I can get the above XML correctly configured.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4132622#4132622

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132622

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Help with portlet authentication

2008-02-27 Thread dcollodel
On the Documentum side, the portlet is configured as trusted. A Documentum 
superuser makes the initial connection, and compares the Jboss-supplied user 
principal with the users in Documentum. Assuming the principal authenticates 
with Jboss, and matches a Documentum user, the Documentum module creates a 
session for that user.

The trouble is that I don't know how to set up the authentication to pass the 
logged-in principal to Documentum. 

I'll peruse that link though. Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4132646#4132646

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4132646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user