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.getAnonymousUser
> (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]

Reply via email to