portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Santonja <gsanto...@unis.fr>
Subject error in ldapauthentication.java
Date Tue, 25 Feb 2003 18:09:44 GMT

Hello, I'am trying to connect jetspeed on a ldap and I've an error in
the LDAPAuthentication.java (cvs version) in the method public
JetspeedUser getAnonymousUser()

around line  195
	    if (cachingEnable)
            {
                JetspeedSecurityCache.load(user.getUserName());
            } 



i've this error when i try to login. If i comment those lines the
horrible exception disappear.

A little help would be appreciate, please :). 
Cordialy


_______________
Horrible Exception:
org.apache.jetspeed.services.security.LoginException: Failed to get
anonymous user: org.apache.jetspeed.services.security.RoleException:
Failed to retrieve groups 	at
org.apache.jetspeed.services.security.ldap.LDAPAuthentication.getAnonym
ousUser(LDAPAuthentication.java:207)	at
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Je
tspeedAuthentication.java:107)	at
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(Jetspeed
Security.java:186)	at
org.apache.jetspeed.modules.actions.JLoginUser.doPerform(JLoginUser.jav
a:259)	at
org.apache.turbine.modules.ActionEvent.perform(ActionEvent.java:148)

I'am using the jetspeed security.default with ldap and the ldap service conf is like this:


_________________________

 #########################################   
 # LDAP Service                          #   
 #########################################   

services.ldap.classname=org.apache.jetspeed.services.ldap.LDAPService   
services.ldap.host=192.168.xxx.xxx
services.ldap.port=389
services.ldap.sslport=636   
services.ldap.basedn=ou/jetspeed%ou/applications%ou/fr%o/unis
services.ldap.managerdn=cn/ldapadmin%ou/admin%o/unis
services.ldap.password=unisunis
services.ldap.anonymousbind=false   
services.ldap.securityauthentication=simple   
#services.ldap.securityprotocol=ssl   
#services.ldap.socketfactory=javax.net.ssl.SSLSocketFactory   
#services.ldap.jndiprovider=com.sun.jndi.ldap.LdapCtxFactory   
#services.ldap.saslclientpckgs=   
services.ldap.limit=0   
services.ldap.timeout=0   
services.ldap.version=3   
#LocalWords:  SHA
LocalWords: crypt
   



Cordialy.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franšais !
Yahoo! Mail : http://fr.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message