tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Propes, Barry L " <>
Subject RE: security-role-ref doesn't work
Date Fri, 19 Apr 2013 20:37:23 GMT
What version are you using?

 Mine doesn't contain this attribute pair at all...


-----Original Message-----
From: Jakub 1983 [] 
Sent: Thursday, April 18, 2013 8:51 PM
To: Tomcat Users List
Subject: security-role-ref doesn't work

my tomcat users:
  <role rolename="tomcat"/>
  <role rolename="role1"/>
   <role rolename="manager-gui"/>
   <role rolename="admin"/>
  <user username="tomcat" password="tomcat"
  <user username="both" password="tomcat" roles="tomcat,role1"/>
  <user username="role1" password="tomcat" roles="role1"/>

following code fails:
        <web-resource-name>Sample Application</web-resource-name>
        <description>Require users to authenticate</description>

if I change security-role.role-name to admin, and in auth-constraint.role-name also to admin,
than I can login,

but why doesnt' it work with <security-role-ref>  ?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message