First thanks for working on the error,
I thinks i find a temporary solution:
   deactivate cache for authentification by putting the value of 
services.JetspeedSecurity.caching.enable at false.

when i do that jetspeed work better but bot totaly. I get the folowing error 
when i log as admin
 
org.apache.turbine.util.TurbineException: Error rendering Velocity 
template: /controls/html/jetspeed-tab.vm: Invocation of method 'getContent' in 
class org.apache.jetspeed.portal.BasePortletSet threw exception class 
java.util.MissingResourceException : Can't find resource for bundle 
java.util.PropertyResourceBundle, key SECURITY_NO_ACCESS  
 
i couldn't login as turbine:turbine, and the portlet in the center doesn't 
appear, as anon

but if i create a new user then it works but for the new user only, the others 
still get their error.

if i remove the encryption in the ldap base for password, it work also for 
turine user, but it still doesn't work for admin with the same error

I use the ldif file given with jetspeed 1.5, all works fine with standard 
authentification.


Thanks for your answer

Thomas


Selon Ender Hikmet KILI�O�LU <[EMAIL PROTECTED]>:

> Hi
> I have Isolated error. As you found changes broken old ldap backend. I
> didnot have enough time to finish test or make a true debug. I only solved
> problem on my system which has many difference not on jetspeed cvs so I will
> try to port it to current cvs of course :( if I have enough time.
> 
> Thanks Ender
> 
> 
> -----�zg�n Ileti-----
> Kimden: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Tarih: Monday, May 03, 2004 5:55 PM
> Kime: Jetspeed Users List
> Konu: Re: Jetspeed 1.5 & ldap
> 
> 
> Hello
> I think i find the origine of the error. The class
> org.apache.jetspeed.services.security.CachedAcl has been modified in
> jetspeed
> 1.5 now it use the new class GroupRole that doesn't exist on 1.4 in which
> the
> class Role is use. The probleme is that jetspeed 1.5 still use LDAPRole wich
> extends Role class and not GroupRole. Is there any code to change to correct
> this error.
> 
> Thanks to you if you have any solution for this error
> Thomas
> 
> from [EMAIL PROTECTED]:
> 
> >
> > I'm trying to make Jetspeed work with my openldap, my openldap is normaly
> > running with the jetspeed 1.5 schema and the jetspeed 1.5 ldif user.
> >
> > The probleme is when I run jetspeed with the JetspeedSecurity.properties
> for
> >
> > ldap, it doesn't work due to a ClassCastException:
> >
> > java.lang.ClassCastException
> >     at org.apache.jetspeed.services.security.CachedAcl.setRoles
> > (CachedAcl.java:154)
> >     at org.apache.jetspeed.services.security.SecurityCacheImpl.load
> > (SecurityCacheImpl.java:77)
> >     at org.apache.jetspeed.services.security.JetspeedSecurityCache.load
> > (JetspeedSecurityCache.java:66)
> >     at
> >
> org.apache.jetspeed.services.security.ldap.LDAPAuthentication.getAnonymousUs
> er
> > (LDAPAuthentication.java:154)
> >     at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser
> > (JetspeedAuthentication.java:64)
> >     at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser
> > (JetspeedSecurity.java:134)
> >
> > Thomas
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to