<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#339999" bgcolor="#ffffff">
    <font color="#990000">Dear Lukas<br>
      <br>
      Since I see the use of FileBasedAuthenticator2, you are probably
      using the more recent version of Swingset Interactive that I
      worked on just a few weeks ago. The FileBasedAuthenticator is in
      deed the one big issue remaining to be worked on in the Swingset,
      which is not as finished as it may sound like at first. I have a
      report on my work on the Swingset if you are interested. But since
      you probably just want to get it working, I recommend following
      the instruction manual located in the <a
href="http://code.google.com/p/owasp-esapi-swingset-interactive/source/browse/trunk/README.txt">http://code.google.com/p/owasp-esapi-swingset-interactive/source/browse/trunk/README.txt</a>
      file, i.e. put both the .esapi/ folder and the .keystore file in
      your home directory, and put the SwingSet/ and apache*/ folders in
      your Eclipse workspace and import from there. That's the way I
      tested it.<br>
      <br>
      Sorry for what looks like a bug in FileBasedAuthenticator2.<br>
      <br>
      Cheers<br>
      <br>
      Chris<br>
    </font><br>
    on 06/09/2011 10:48 PM Lukas, Ray wrote :
    <blockquote
cite="mid:8BECD230594A5044A455AE42C8147CF78489150DC0@DFW2W2CMAIL2.corp.pvt"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
      <style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1031" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
      <div class="Section1">
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size: 12pt;">Hi Guys.. <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size: 12pt;"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size: 12pt;">I can not seem to create a user
              in the users.txt file.. I think that I have everything is
              setup correctly.. I had to change the port number but, no
              big deal.. the code seems to run great.. but no user
              account ever gets created inside of users.txt other than
              the user admin, which I think was always there.. … <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size: 12pt;">I can create (at least it looks
              that way on the web page) an account ray_lukas with
              password Corvette!#2010<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size: 12pt;">But trying to log into that
              account produces<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size: 12pt;"><o:p> </o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">- [SECURITY
              SUCCESS Anonymous:574475@unknown -&gt;
              /SwingSetInteractive/SwingSet] Invoked LoginLab.java
              -&amp;gt; LoginLab.jsp (Encoded)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">- [SECURITY
              FAILURE Anonymous:574475@unknown -&gt;
              /SwingSetInteractive/IntrusionDetector] Authentication
              failed because user ray_lukas doesn&amp;#x27;t exist
              (Encoded)</span></font><font face="Courier New" size="2"><span
              style="font-size: 10pt; font-family: &quot;Courier
              New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><u><font face="Courier New"
              size="2" color="navy"><span style="font-size: 10pt;
                font-family: &quot;Courier New&quot;; color: navy;">org.owasp.esapi.errors.AuthenticationCredentialsException</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">: Authentication failed</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">      at
org.owasp.esapi.reference.FileBasedAuthenticator2.loginWithUsernameAndPassword(</span></font><u><font
              face="Courier New" size="2" color="navy"><span
                style="font-size: 10pt;">FileBasedAuthenticator2.java:633</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">      at
              org.owasp.esapi.reference.FileBasedAuthenticator2.login(</span></font><u><font
              face="Courier New" size="2" color="navy"><span
                style="font-size: 10pt;">FileBasedAuthenticator2.java:787</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">      at
              org.owasp.esapi.reference.FileBasedAuthenticator2.login(</span></font><u><font
              face="Courier New" size="2" color="navy"><span
                style="font-size: 10pt;">FileBasedAuthenticator2.java:765</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">      at
              org.apache.jsp.WEB_002dINF.jsp.LoginLab_jsp._jspService(</span></font><u><font
              face="Courier New" size="2" color="navy"><span
                style="font-size: 10pt;">LoginLab_jsp.java:168</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">      at
              org.apache.jasper.runtime.HttpJspBase.service(</span></font><u><font
              face="Courier New" size="2" color="navy"><span
                style="font-size: 10pt;">HttpJspBase.java:70</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">      at
              javax.servlet.http.HttpServlet.service(</span></font><u><font
              face="Courier New" size="2" color="navy"><span
                style="font-size: 10pt;">HttpServlet.java:717</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">      at
              org.apache.jasper.servlet.JspServletWrapper.service(</span></font><u><font
              face="Courier New" size="2" color="navy"><span
                style="font-size: 10pt;">JspServletWrapper.java:377</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">      at
              org.apache.jasper.servlet.JspServlet.serviceJspFile(</span></font><u><font
              face="Courier New" size="2" color="navy"><span
                style="font-size: 10pt;">JspServlet.java:313</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">      at
              org.apache.jasper.servlet.JspServlet.service(</span></font><u><font
              face="Courier New" size="2" color="navy"><span
                style="font-size: 10pt;">JspServlet.java:260</span></font></u><font
            face="Courier New" size="2" color="black"><span
              style="font-size: 10pt;">)</span></font><font
            face="Courier New" size="2"><span style="font-size: 10pt;
              font-family: &quot;Courier New&quot;;"><o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;">           
              so on and so on… … … <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;">When I shut
              down TomCat I get.. <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="maroon"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: maroon;">Seeking
              ESAPI.properties<o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="maroon"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: maroon;">  Not found in
              'org.owasp.esapi.resources' directory or file not
              readable: C:\eclipse\ESAPI.properties<o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="maroon"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: maroon;">  Not found in
              SystemResource Directory/resourceDirectory:
              null/ESAPI.properties<o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="maroon"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: maroon;">  Not found in
              SystemResource Directory/.esapi: .esapi/ESAPI.properties<o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="maroon"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: maroon;">  Not found in
              SystemResource Directory: ESAPI.properties<o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="maroon"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: maroon;">  Not found in <b><span
                  style="font-weight: bold;">'user.home'</span></b>
              directory: <b><span style="font-weight: bold;">C:\eclipse\ESAPI.properties</span></b><o:p></o:p></span></font></p>
        <p class="MsoNormal" style=""><font face="Courier New" size="2"
            color="maroon"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: maroon;">  Not found on
              classpath<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Courier New" size="2"
            color="maroon"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: maroon;">  Not found
              anywhere</span></font><font face="Arial" size="2"
            color="maroon"><span style="font-size: 10pt; font-family:
              Arial; color: maroon;"><o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">Notice that
              user.home now points to my eclipse directory.. that seems
              odd.. when I started the server the  directory was:
              C:\Documents and Settings\v9234s32\.esapi<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font face="Courier New" size="2"
            color="black"><span style="font-size: 10pt; font-family:
              &quot;Courier New&quot;; color: black;">could someone drop
              me a hint.. sorry for the long email.. </span></font><font
            face="Arial" size="2"><span style="font-size: 10pt;
              font-family: Arial;"><o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;">thanks guys..
              <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><strong><b><font face="Arial" size="2"><span
                  style="font-size: 10pt; font-family: Arial;">ray lukas</span></font></b></strong><o:p></o:p></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;">Software Engineer <br>
              SuperMedia LLC</span></font><o:p></o:p></p>
        <p class="MsoNormal"><font face="Arial" size="2"><span
              style="font-size: 10pt; font-family: Arial;"> <strong><b><font
                    face="Arial"><span style="font-family: Arial;">M:</span></font></b></strong> 508.314.4257  <strong><b><font
                    face="Arial" color="silver"><span
                      style="font-family: Arial; color: silver;">   </span></font></b></strong></span></font><o:p></o:p></p>
        <p class="MsoNormal"><strong><b><font face="Arial" size="2"><span
                  style="font-size: 10pt; font-family: Arial;"><a
                    moz-do-not-send="true"
                    href="http://www.supermedia.com">www.supermedia.com</a></span></font></b></strong><o:p></o:p></p>
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size: 12pt;"> <o:p></o:p></span></font></p>
        <p class="MsoNormal"><!--[if gte vml 1]><v:group id="_x0000_s1026" style='position:absolute;
 margin-left:1.5pt;margin-top:2.25pt;width:237pt;height:73.5pt;z-index:1;
 mso-position-horizontal-relative:char;mso-position-vertical-relative:line' 
 coordorigin="30,45" coordsize="4740,1470">
 <v:rect id="_x0000_s1027" href="http://www.twitter.com/supermedia" style='position:absolute;
  left:1440;top:1200;width:300;height:285;mso-position-horizontal-relative:text;
  mso-position-vertical-relative:text' o:button="t" filled="f" stroked="f">
  <v:fill o:detectmouseclick="t" />
 </v:rect><v:rect id="_x0000_s1028" 
  href="http://www.facebook.com/supermediacom" style='position:absolute;left:1035;
  top:1215;width:315;height:300;mso-position-horizontal-relative:text;
  mso-position-vertical-relative:text' o:button="t" filled="f" stroked="f">
  <v:fill o:detectmouseclick="t" />
 </v:rect><v:rect id="_x0000_s1029" href="http://www.superguarantee.com/" 
  style='position:absolute;left:2670;top:60;width:2100;height:645;
  mso-position-horizontal-relative:text;mso-position-vertical-relative:text' 
  o:button="t" filled="f" stroked="f">
  <v:fill o:detectmouseclick="t" />
 </v:rect><v:rect id="_x0000_s1030" href="http://www.superpages.com/" style='position:absolute;
  left:30;top:45;width:2400;height:750;mso-position-horizontal-relative:text;
  mso-position-vertical-relative:text' o:button="t" filled="f" stroked="f">
  <v:fill o:detectmouseclick="t" />
 </v:rect><w:anchorlock/>
</v:group><![endif]--><!--[if !vml]--><span style="position: absolute;
            z-index: 1; margin-left: 2px; margin-top: 3px; width: 316px;
            height: 98px;"><map name="MicrosoftOfficeMap0">
              <area shape="Rect" coords="0, 0, 160, 50"
                href="http://www.superpages.com/">
              <area shape="Rect" coords="176, 1, 316, 44"
                href="http://www.superguarantee.com/">
              <area shape="Rect" coords="67, 78, 88, 98"
                href="http://www.facebook.com/supermediacom">
              <area shape="Rect" coords="94, 77, 114, 96"
                href="http://www.twitter.com/supermedia">
            </map>
            <img src="cid:part1.07050305.02040805@web.de"
              usemap="#MicrosoftOfficeMap0" v:shapes="_x0000_s1026
              _x0000_s1027 _x0000_s1028 _x0000_s1029 _x0000_s1030"
              height="98" width="316" border="0"></span><!--[endif]--><img
            id="_x0000_i1025" src="cid:part2.05070505.06030709@web.de"
            height="119" width="319" align="baseline" border="0"><o:p></o:p></p>
        <p class="MsoNormal"><font face="Times New Roman" size="3"><span
              style="font-size: 12pt;"><o:p> </o:p></span></font></p>
      </div>
    </blockquote>
  </body>
</html>