You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Tâm Huynh <ta...@nterra.com> on 2003/08/29 10:07:44 UTC

Re: [bug?] Cannot access my custom JetspeedUser

Should I file a bug report for this one? (I'm using Jetspeed 1.4b4)
Tâm

Tâm Huynh wrote:
> Hi,
> 
> I'm have extended the LDAP implementation of the JetspeedUser interface,
> putting in some methods to access custom LDAP attributes. I put the 
> following lines in JetspeedSecurity.properties:
> 
> #services.JetspeedSecurity.user.class=org.apache.jetspeed.om.security.ldap.LDAPUser 
> 
> services.JetspeedSecurity.user.class=com.[...].MyLDAPUser
> 
> Creating new users works fine -- they are stored in LDAP along with the 
> custom attributes -- but when I want to access my implementation from a 
> request tool, the call to the RunData object
> 
> data.getUser().getClass()
> 
> returns "org.apache.jetspeed.om.security.ldap.LDAPUser". I would have 
> expected to get "com.[...].MyLDAPUser", so that I can access my custom 
> methods.
> 
> What could be wrong?
> Thanks for any hints,
> 
> Tâm
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 

-- 

     Tâm Huynh
     Entwickler und Consultant

     nterra e-strategy & e-solution gmbh
     Im Leuschnerpark 3
     64347 Griesheim
     mailto:tam.huynh@nterra.com