[JBoss Portal] - Re: LDAP Authentication & Authorization to eDirectory
by arnieAustin
I tweaked a setting and now get:
| 2007-05-23 10:08:39,765 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] findUserByUserName(): username = admin
| 2007-05-23 10:08:39,765 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search filter: (cn={0})
| 2007-05-23 10:08:39,765 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search filter: (cn={0})
| 2007-05-23 10:08:39,765 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search filterArg: {0}: admin
| 2007-05-23 10:08:39,765 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search ctx: ou=People,o=idv
| 2007-05-23 10:08:39,765 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] user uid: cn=admin,ou=APPS,ou=PEOPLE,o=IDV
| 2007-05-23 10:08:39,765 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] user dn: cn=admin,ou=APPS,ou=PEOPLE,o=IDV
| 2007-05-23 10:08:39,765 DEBUG [org.jboss.portal.identity.ldap.LDAPStaticRoleMembershipModuleImpl] findRoles(): role = cn=admin,ou=APPS,ou=PEOPLE,o=IDV
| 2007-05-23 10:08:39,781 DEBUG [org.jboss.portal.identity.ldap.LDAPRoleModule] findRoleByDN(): DN = cn=Administrators,ou=JBossPortal,ou=APPS,ou=GROUPS,o=IDV
| 2007-05-23 10:08:39,781 DEBUG [org.jboss.portal.identity.ldap.LDAPRoleModule] role uid: cn=Administrators,ou=JBossPortal,ou=APPS,ou=GROUPS,o=IDV
| 2007-05-23 10:08:39,781 DEBUG [org.jboss.portal.identity.ldap.LDAPRoleModule] role dn: cn=Administrators,ou=JBossPortal,ou=APPS,ou=GROUPS,o=IDV
| 2007-05-23 10:08:39,875 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] findUserByUserName(): username = admin
| 2007-05-23 10:08:39,875 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search filter: (cn={0})
| 2007-05-23 10:08:39,875 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search filter: (cn={0})
| 2007-05-23 10:08:39,875 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search filterArg: {0}: admin
| 2007-05-23 10:08:39,875 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search ctx: ou=People,o=idv
| 2007-05-23 10:08:39,921 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] user uid: cn=admin,ou=APPS,ou=PEOPLE,o=IDV
| 2007-05-23 10:08:39,921 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] user dn: cn=admin,ou=APPS,ou=PEOPLE,o=IDV
|
|
| But still no "Admin" link when admin logs in.
|
| I still get "Your account is disabled" when ACM3 tries to log in. Log shows:
|
|
| | 2007-05-23 10:12:57,609 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] findUserByUserName(): username = acm3
| | 2007-05-23 10:12:57,609 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search filter: (cn={0})
| | 2007-05-23 10:12:57,609 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search filter: (cn={0})
| | 2007-05-23 10:12:57,609 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search filterArg: {0}: acm3
| | 2007-05-23 10:12:57,609 DEBUG [org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] Search ctx: ou=People,o=idv
| | 2007-05-23 10:12:57,625 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] user uid: cn=ACM3,ou=AL,ou=EMPLOYEES,ou=PEOPLE,o=IDV
| | 2007-05-23 10:12:57,625 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] user dn: cn=ACM3,ou=AL,ou=EMPLOYEES,ou=PEOPLE,o=IDV
| | 2007-05-23 10:12:57,625 DEBUG [org.jboss.portal.identity.DelegatingUserProfileModuleImpl] getProperty: portal.user.enabled
| | 2007-05-23 10:12:57,625 DEBUG [org.jboss.portal.identity.DelegatingUserProfileModuleImpl] Delegating to DB module
| | 2007-05-23 10:12:57,625 DEBUG [org.jboss.portal.identity.db.HibernateUserProfileModuleImpl] Processing non HibernateUserImpl object: class org.jboss.portal.identity.ldap.LDAPUserImpl
| |
|
| So I guess the next questions are:
|
| 1) Can the "role" membership records that the portal uses in authorization be moved to LDAP group Objects?
|
| 2) If I descend my own versions the org.jboss.portal.identity.RoleModule interface, where do my .class files have to be for JBoss to see them during boot and where do i reference them in the configuration files? ldap_identity-config.xml perhaps?
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047948#4047948
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047948
18 years, 11 months
[JBoss jBPM] - ADF Faces with Facelets in jBPM 3.2GA
by webjavier
Friends:
I've install adf faces for using with facelets in jbpm start kit 3.2GA
I need to change the interface to ADF Faces but i have a problem with the FaceletViewHandler, because this class is in web.xml and faces-config.xml and generate conflict.
faces-config.xml
<application>
| <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
| <navigation-handler>org.jbpm.webapp.application.JbpmNavigationHandler</navigation-handler>
| </application>
|
web.xml
<context-param>
| <param-name>oracle.adf.view.faces.ALTERNATE_VIEW_HANDLER</param-name>
| <param-value>com.sun.facelets.FaceletViewHandler</param-value>
| </context-param>
Searching in google one solution is comment that handler in faces-config.
but...
If i comment that handler in faces-config i can't navigate for xhtml's of tasks flow.
If i comment that handler in web.xml i can't use adf faces.
Someone help me plz.
How to obvious this handler in faces-config.xml for working fine.
PD: I have applications by running with adf faces in jbpm-suite.
Sorry with my english.....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047943#4047943
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047943
18 years, 11 months
[JBoss Portal] - Deploying JBoss Portal 2.6 on JBoss AS 4.2.0
by andreas.wiesauer
Hello,
i tried deploying JBoss Portal 2.6 CR2 on JBoss AS 4.2.0. I get some strange errors (see log). I configured JBoss AS to work with MySQL 5.0 as default database which works fine without any errors. I configured a seperate datasource ("PortalDS"; also MySQL 5.0 but a different scheme) for the portal (of course I copied the *-ds.xml file to server/default/deploy).
The errors occur if i use the portal binary and if i build from SVN (trunk and 2.6. CR2 tag).
Do you have any ideas what's wrong?
Thanks for your help.
Best regards,
Andy
Log:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@7ceb3e02 { url=file:/C:/jboss/server/default/deploy/jboss-portal.sar }
deployer: org.jboss.deployment.SARDeployer@ec6b00
status: Deployment FAILED reason: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
state: FAILED
watch: file:/C:/jboss/server/default/deploy/jboss-portal.sar
altDD: null
lastDeployed: 1179932068348
lastModified: 1179932064583
mbeans:
PS: Can i attach files to a post (posting the whole log as text would not be readable).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047938#4047938
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047938
18 years, 11 months