Mantis - Resin
Viewing Issue Advanced Details
475 minor always 12-01-05 14:07 01-26-06 19:51
sam  
ferg  
normal  
closed  
fixed  
none    
none 3.0.18  
0000475: XmlAuthenticator starts failing if passwords.xml is modified
If the <path> directive of XmlAuthenticator is used, modifications to
the file referred to by <path> cause all logins to fail until the server
is restarted.

<login-config>
  <auth-method>DIGEST</auth-method>
</login-config>

   <authenticator type="com.caucho.server.security.XmlAuthenticator">

   <init>
     <password-digest>none</password-digest>
     <path>${server.rootDir}/conf/passwords.xml</path>
   </init>
  </authenticator>
  <security-constraint url-pattern='resin-status' role-name='admin'/>


passwords.xml:

<authenticator>
     <user name='harry' password='XXX' role='admin,user'/>
</authenticator>

Notes
(0000800)
ferg   
01-26-06 19:51   
server/12h5