Bugs item #972258, was opened at 2004-06-13 13:33
Message generated for change (Comment added) made by remm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=972258&group_id=22866

Category: JBossWeb
Group: v3.2
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Lars Kral (lkral)
Assigned to: Nobody/Anonymous (nobody)
Summary: request.getUserPrincipal() returns null

Initial Comment:
While accessing web resources without an [auth-
constraint] JBoss does not return the remote principal, 
even when the user has already been authenticated.
After a successful login, shouldn't the call to 
request.getUserPrincipal() return the associated 
principal, independent of having an auth-constraint at 
the requested resource? At least in Tomcat v5.0.26 
(standalone) this is the case.

Tested with: JBoss 3.2.4 / SuSE 9.0 / JDK 1.4.2


Regards,
Lars

----------------------------------------------------------------------

>Comment By: Remy Maucherat (remm)
Date: 2004-06-13 13:43

Message:
Logged In: YES 
user_id=24140

Tomcat standalone behavior is the same, and is valid.
There are many entries on that in Tomcat's bug database,
such as:
http://issues.apache.org/bugzilla/show_bug.cgi?id=29537

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=972258&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to