Article View: borland.public.jbuilder.debugger
Article #101Debug Parameters for Tomcat Security Realm
From: joe
Date: Mon, 09 Aug 2004 22:05
Date: Mon, 09 Aug 2004 22:05
34 lines
2032 bytes
2032 bytes
Does any one know what, possible, debug parameters are needed to get into
the debugger when Tomcat has security settings for a context in the web.xml
file?
If I delete the security settings, e.g:
<security-constraint>
<display-name>admin</display-name>
<web-resource-collection>
<web-resource-name>templates</web-resource-name>
<url-pattern>/templates/*</url-pattern>
</web-resource-collection>
<web-resource-collection>
<web-resource-name>logs</web-resource-name>
<url-pattern>/logs/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>myapp</realm-name>
</login-config>
<security-role>
<role-name>admin</role-name>
</security-role>
And comment out the default memory security realm settings in the server.xml
file, then I can get into the code witht he debugger...
Any comments will be greatly appreciated
Technical Details
Message-ID:
<4117f53c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: ff5c5,1d1fa1e7e86aac21,start X-Google-Attributes: gidff5c5,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "joe" <jose.arrazolo@cgi.com> From: "joe" <jose.arrazolo@cgi.com> Newsgroups: borland.public.jbuilder.debugger Subject: Debug Parameters for Tomcat Security Realm Date: Mon, 9 Aug 2004 17:05:49 -0500 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 204.62.206.252 Message-ID: <4117f53c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1092089148 204.62.206.252 (9 Aug 2004 15:05:48 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail