Mantis - Resin
Viewing Issue Advanced Details
6284 minor always 09-25-19 17:46 10-11-19 13:36
nam  
 
normal  
closed 4.0.62  
no change required  
none    
none  
0006284: BasicLogin and Allow tags are allowed in host tag, but doesn't do anything
(rep by KQJ)

<resin:BasicLogin> and/or <resin:Allow> tags are allowed in <host>, but doesn't do anything. They work if they are inside <web-app>.

<host id="" root-directory=".">
  <resin:BasicLogin/>
  <resin:Allow url-pattern="/*">
    <resin:IfUserInRole role="expert"/>
  </resin:Allow>

  <resin:XmlAuthenticator password-digest="none">
   <resin:user name="bar" password="foo123" group="expert"/>
  </resin:XmlAuthenticator>

  <web-app id="/" root-directory="webapps/ROOT"/>
</host>

There are no notes attached to this issue.