resin 配置文件之用户登录

<web-app id="/" root-directory="应用路径">
                <authenticator type="com.caucho.server.security.XmlAuthenticator">
                <init>
                     <user>用户名:密码:user</user>
                     <password-digest>none</password-digest>
                 </init>
             </authenticator>

             <login-config auth-method="basic"/>

             <security-constraint url-pattern="/*" role-name="user"/>
</web-app>

你可能感兴趣的:(Web,resin.conf)