<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<a class="moz-txt-link-freetext" href="http://community.jboss.org/wiki/JBossAS7SecurityDomainModel">http://community.jboss.org/wiki/JBossAS7SecurityDomainModel</a><br>
<br>
There is a section on deploying custom tomcat authenticators.<br>
<br>
On 12/20/2011 02:06 PM, Radoslaw Rodak wrote:
<blockquote cite="mid:5A7392FE-3EA8-49E6-86EA-995B09F2EA6C@gmx.ch"
type="cite">
<div>Hello</div>
<div><br>
</div>
<div>I wrote custom Authenticator Valve which extends
BaseAuthenticator. We have some legacy stuff...</div>
<div><br>
</div>
<div>I also have jboss-web.xml which reference this custome Valve
and the Configured Security Realm in AS7.</div>
<div><br>
</div>
<div>Every thing is working fine, but only if I put in web.xml</div>
<div><br>
</div>
<div><br>
</div>
<div><span class="Apple-style-span" style="font-family:
arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
line-height: 20px;"><auth-method>CLIENT_CERT</auth-method></span></div>
<div><span class="Apple-style-span" style="font-family:
arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
line-height: 20px;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-family:
arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
line-height: 20px;">when I put</span></div>
<div><span class="Apple-style-span" style="font-family:
arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
line-height: 20px;"><br>
</span></div>
<div><span class="Apple-style-span" style="font-family:
arial,FreeSans,Helvetica,sans-serif; font-size: 14px;
line-height: 20px;"><auth-method>CLIENT-CERT</auth-method></span></div>
<div><br>
</div>
<div>My custom Valve is never called.</div>
<div>I see in Jboss AS7 stdout message about "no security
constrain".</div>
<div><br>
</div>
<div>With CLIENT_CERT it works....</div>
<div><br>
</div>
<div>Mabe someone can give me a hint what I'm missing...</div>
<div>I wonder why I need CLIENT_CERT instead of CLIENT-CERT....</div>
<div><br>
</div>
<div>Radek Rodak</div>
<br>
</blockquote>
<br>
</body>
</html>