jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From illusions2...@gmx.net
Subject Get Username
Date Sun, 05 Oct 2008 09:58:47 GMT
Hi,

although I am still not able to login via JSPWiki using JBoss, I am trying to get the username
of the currently logged in user by using a Plugin.

So I tried:
WikiSession session =context.getWikiSession();
String name =context.getEngine().getUserManager().getUserProfile(session).getLoginName();

But I also get "null", although I am logged in as a Guest.

Any ideas?

Regards
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

Mime
View raw message