You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by daniel steel <se...@yahoo.com> on 2008/08/06 17:08:37 UTC
Re: tomcat security and window open js
All,
i found some interesting results by changing role defined
under security-constraint. if we defined tomcat as the role-name, then
window.open fails but if i change the role-name to manager, window.open
works. why?
<security-constraint>
<auth-constraint>
<role-name>manager</role-name>
</auth-constraint>
</security-constraint>
thanks
dan
p.s. chris, your reply to earlier email was blank and so i am not sure if you had answered the above question.
--- On Tue, 7/29/08, daniel steel <se...@yahoo.com> wrote:
From: daniel steel <se...@yahoo.com>
Subject: tomcat security and window open js
To: users@tomcat.apache.org
Date: Tuesday, July 29, 2008, 1:10 PM
all,
we are having issues with IE(?) - javascript - window.open
function and tomcat. When we deploy tomcat with basic authentication
security enabled and in our jsp when ever we call
window.open(url,.....), it asks for username / password (authetication) again.
how do we over come this? is this issue with IE or this is how http
basic authentication works? if we try new window (ctrl + N) and paste
the new jsp url, it works fine.
i don't think its relavant to this, i tried setting up valve and it
didn't work.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44527
thanks
dan
Re: tomcat security and window open js
Posted by Mark Thomas <ma...@apache.org>.
daniel steel wrote:
> All,
>
> i found some interesting results by changing role defined
> under security-constraint. if we defined tomcat as the role-name, then
> window.open fails but if i change the role-name to manager, window.open
> works. why?
Get yourself a copy of ieHttpHeaders and see what is gong on at the
request/response level.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org