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 gus <gu...@gmx.net> on 2002/05/09 23:53:41 UTC

psml and ldap authentication (error fetching pane)

Hi!

I finally managed to authenticate with Jetspeed against 
ActiveDirectory via my own LDAP UserManager.

But now I get a NullPointerException in JetspeedTool.getPane (stack 
trace below). I assume it's because the logged in user doesn't have a 
psml directory.

Can anybody please point me out where to start to (programatically) 
create a psml directory or link the user to an existing psml directory?

Thanks in advance
    gus



[Thu May 09 23:42:54 CEST 2002] -- DEBUG -- Profiler fallback called 
with: BaseProfile[:{},null,null,html,,de,default.psml]
[Thu May 09 23:42:54 CEST 2002] -- INFO -- PSML-Man: calculated 
resource:user\test\html\de\\default.psml. Base: 
F:\Programme\ApacheTomcat4_0\webapps\jetspeed\WEB-INF\psml
[Thu May 09 23:42:54 CEST 2002] -- INFO -- CastorPsmlManager: about to 
return null doc:
[Thu May 09 23:42:54 CEST 2002] -- INFO -- PSML-Man: calculated 
resource:user\test\html\de\default.psml. Base: 
F:\Programme\ApacheTomcat4_0\webapps\jetspeed\WEB-INF\psml
[Thu May 09 23:42:54 CEST 2002] -- INFO -- CastorPsmlManager: about to 
return null doc:
[Thu May 09 23:42:54 CEST 2002] -- INFO -- PSML-Man: calculated 
resource:user\test\html\default.psml. Base: 
F:\Programme\ApacheTomcat4_0\webapps\jetspeed\WEB-INF\psml
[Thu May 09 23:42:54 CEST 2002] -- INFO -- CastorPsmlManager: about to 
return null doc:
[Thu May 09 23:42:54 CEST 2002] -- INFO -- PSML-Man: calculated 
resource:user\test\default.psml. Base: 
F:\Programme\ApacheTomcat4_0\webapps\jetspeed\WEB-INF\psml
[Thu May 09 23:42:54 CEST 2002] -- INFO -- CastorPsmlManager: about to 
return null doc:
[Thu May 09 23:42:54 CEST 2002] -- ERROR --
	Exception:  java.lang.NullPointerException
	Stack Trace follows:
	java.lang.NullPointerException
	at 
org.apache.jetspeed.util.template.JetspeedTool.getPane(JetspeedTool.java:164)


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: psml and ldap authentication (error fetching pane)

Posted by David Sean Taylor <da...@bluesunrise.com>.
See
org.apache.jetspeed.services.security.JetspeedSecurityService.addUser(),
which then calls the ProfilerService.createProfile

> -----Original Message-----
> From: gus [mailto:gusmail@gmx.net] 
> Sent: Thursday, May 09, 2002 2:54 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: psml and ldap authentication (error fetching pane)
> 
> 
> Hi!
> 
> I finally managed to authenticate with Jetspeed against 
> ActiveDirectory via my own LDAP UserManager.
> 
> But now I get a NullPointerException in JetspeedTool.getPane (stack 
> trace below). I assume it's because the logged in user doesn't have a 
> psml directory.
> 
> Can anybody please point me out where to start to (programatically) 
> create a psml directory or link the user to an existing psml 
> directory?
> 
> Thanks in advance
>     gus
> 
> 
> 
> [Thu May 09 23:42:54 CEST 2002] -- DEBUG -- Profiler fallback called 
> with: BaseProfile[:{},null,null,html,,de,default.psml]
> [Thu May 09 23:42:54 CEST 2002] -- INFO -- PSML-Man: calculated 
> resource:user\test\html\de\\default.psml. Base: 
> F:\Programme\ApacheTomcat4_0\webapps\jetspeed\WEB-INF\psml
> [Thu May 09 23:42:54 CEST 2002] -- INFO -- CastorPsmlManager: 
> about to 
> return null doc:
> [Thu May 09 23:42:54 CEST 2002] -- INFO -- PSML-Man: calculated 
> resource:user\test\html\de\default.psml. Base: 
> F:\Programme\ApacheTomcat4_0\webapps\jetspeed\WEB-INF\psml
> [Thu May 09 23:42:54 CEST 2002] -- INFO -- CastorPsmlManager: 
> about to 
> return null doc:
> [Thu May 09 23:42:54 CEST 2002] -- INFO -- PSML-Man: calculated 
> resource:user\test\html\default.psml. Base: 
> F:\Programme\ApacheTomcat4_0\webapps\jetspeed\WEB-INF\psml
> [Thu May 09 23:42:54 CEST 2002] -- INFO -- CastorPsmlManager: 
> about to 
> return null doc:
> [Thu May 09 23:42:54 CEST 2002] -- INFO -- PSML-Man: calculated 
> resource:user\test\default.psml. Base: 
> F:\Programme\ApacheTomcat4_0\webapps\jetspeed\WEB-INF\psml
> [Thu May 09 23:42:54 CEST 2002] -- INFO -- CastorPsmlManager: 
> about to 
> return null doc:
> [Thu May 09 23:42:54 CEST 2002] -- ERROR --
> 	Exception:  java.lang.NullPointerException
> 	Stack Trace follows:
> 	java.lang.NullPointerException
> 	at 
> org.apache.jetspeed.util.template.JetspeedTool.getPane(Jetspee
> dTool.java:164)
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>