[JBoss Portal] - Re: LDAP Authentication problem
by Valdier
"Valdier" wrote : I am currently in the process of evaluating JBoss for use as our corporate portal site but seem to be running into a basic issue with authentication and authorization.
|
| After following the documentation regarding ldap setup I get the following error on first attempting to login:
|
| 10:10:20,330 ERROR [IdentityLoginModule] Error when validating password
| org.jboss.portal.common.transaction.NestedException: javax.security.auth.login.L
| oginException: org.jboss.portal.identity.IdentityException: Unable to connect to
| LDAP: Name: null, Host: authserv, Port: 389, Context factory: com.sun.jndi.ldap.Ldap
| CtxFactory, Admin user: cn=testad, Admin password: ***, Authentication: simple, P
| rotocol: null
|
|
| setup is as such:
|
| | <datasources>
| | <datasource>
| | <name>LDAP</name>
| | <config>
| | <option>
| | <name>host</name>
| | <value>x-8</value>
| | </option>
| | <option>
| | <name>port</name>
| | <value>389</value>
| | </option>
| | <option>
| | <name>adminDN</name>
| | <value>cn=tdude</value>
| | </option>
| | <option>
| | <name>adminPassword</name>
| | <value>123456</value>
| | </option>
| | <!--<option>
| | <name>protocol</name>
| | <value>ssl</value>
| | </option>-->
| | </config>
| | </datasource>
| | </datasources>
|
|
| | <option-group>
| | <group-name>common</group-name>
| | <option>
| | <name>userCtxDN</name>
| | <value>ou=wss,dc=wss,dc=com</value>
| | </option>
| | <option>
| | <name>roleCtxDN</name>
| | <value>ou=wss,dc=wss,dc=com</value>
| | </option>
| | </option-group>
| |
|
|
| Any assistance on this would be appreciated...
As a note the posted config is from our first older setup, the error message above reflects changes made to point to a non-temp virtual auth server.
the proper host is:
authserv
and
cn=testad
please ignore the other values (they were temporary here and now gone).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074129#4074129
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074129
18Â years, 11Â months
[EJB 3.0] - Re: EJBAccessException not marshalled?
by valtoni
"domyalex" wrote :
|
| | Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
| | at $Proxy0.testSecurity(Unknown Source)
| | at security.SecurityTest.main(SecurityTest.java:31)
| |
| | Caused by: java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:
| | java.io.InvalidClassException: javax.ejb.EJBAccessException; local class incompatible: stream classdesc serialVersionUID = -3982037377455977398, local class serialVersionUID = 4923220329322198628
| |
|
Alejandro,
Sorry for the late post, but i'm in trouble with this in this morning and i'll share with you the solution: simply put off your jarfile containing class "javax.ejb.EJBAccessException" and put the jar from your container. Class compiling generate diferents serialVersionID and appear wich your class is diferent in client or you have 2 classes in your jboss container (1 with your application and the other from the container).
Hope this was help you!
Regards,
Valtoni Boaventura
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074126#4074126
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074126
18Â years, 11Â months