portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <david.sean.tay...@bbc.co.uk>
Subject RE: Implementing PortalAuthentication
Date Fri, 27 Sep 2002 10:09:06 GMT
> org.apache.jetspeed.om.profile.ProfileException: 
> java.lang.ClassCastException: 
> com.sigea.jetspeed.security.SigeaRoleManagement
>         at 
> org.apache.jetspeed.services.profiler.JetspeedProfilerService.
> getProfile(JetspeedProfilerService.java:311)

Looking at line 311 in JetspeedProfilerService, 

            JetspeedUser user = rundata.getJetspeedUser();

If Im reading the exception correctly, it appears that getJetspeedUser() is
returning a com.sigea.jetspeed.security.SigeaRoleManagement ?

>     BaseJetspeedUser user = new BaseJetspeedUser();

use the factory to create users:

            JetspeedUser user = JetspeedUserFactory.getInstance();



BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain 
personal views which are not the views of the BBC unless specifically 
stated.
If you have received it in error, please delete it from your system, do 
not use, copy or disclose the information in any way nor act in 
reliance on it and notify the sender immediately. Please note that the 
BBC monitors e-mails sent or received. Further communication will 
signify your consent to this.


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


Mime
View raw message