Re: Realm issue with Tomcat 9

2021-03-23 Thread Ravi Kumar
Thanks Mark for this , applied the solution and it worked. On Tue, Mar 23, 2021 at 3:58 PM Mark Thomas wrote: > On 23/03/2021 10:05, Ravi Kumar wrote: > > Hello, > > I am migrating my application which is using tomcat 7 currently to tomcat > > 9. As there are a lot of changes in the API, with

Re: Realm issue with Tomcat 9

2021-03-23 Thread Mark Thomas
On 23/03/2021 10:05, Ravi Kumar wrote: Hello, I am migrating my application which is using tomcat 7 currently to tomcat 9. As there are a lot of changes in the API, with tomcat 7 we were setting the Realm for this engine by // set the Realm for this engine //tomcatServer.setDefaultRealm(new

Re: Realm Issue

2009-02-06 Thread André Warnier
Scott wrote: I figured it out. The style sheet just has to be in a directory that isn't locked down. It's a common occurrence with authentication via login pages : the initial access triggers a redirect to a login page, which itself contains items to be retrieved from a protected area, which

Re: Realm Issue

2009-02-05 Thread Scott
Thanks, that seems to have fixed the immediate issue. However, when I put the following in my login.jsp head, tomcat forwards me directly to the contents of the css file for some reason. LINK REL=StyleSheet HREF=/MyApp/css/bbs.css TYPE=text/css In addition, the styles no longer format the

Re: Realm Issue

2009-02-05 Thread Scott
I figured it out. The style sheet just has to be in a directory that isn't locked down. On Thu, Feb 5, 2009 at 5:57 PM, Scott hacktori...@gmail.com wrote: Thanks, that seems to have fixed the immediate issue. However, when I put the following in my login.jsp head, tomcat forwards me directly

RE: Realm Issue

2009-02-04 Thread Caldarale, Charles R
From: Scott [mailto:hacktori...@gmail.com] Subject: Realm Issue Here is my app info: Where is your webapp deployed? Where is the Context element for the webapp (if it has one)? What's in its Context element (if it has one)? url-pattern/MyApp/*/url-pattern The url-pattern is