Hi Peter, Absolutely. Please read http://incubator.apache.org/shiro/configuration.html Sections 1.2.2 and 1.2.3 are how you define static users, roles and permissions.
Cheers, Les On Mon, Jun 21, 2010 at 1:06 AM, PDiefent <[email protected]> wrote: > > Hi Les, > thanks for your detailed answer. The only thing I don't unsterstand is how > to use permissions and passwords from the tomcat realm? > > In my tomcat/conf folder I have a tomcat-users.xml with users and roles: > > <tomcat-users> > <user name="admin" password="admin" roles="admin,manager" /> > <user username="eoe1" password="eoe1" roles="AarWeb"/> > <user username="eoe" password="zorro" roles="AarWeb"/> > <user username="admin" password="admin" roles="admin,manager"/> > <role rolename="AarWeb"/> > <role rolename="manager"/> > <role rolename="admin"/> > </tomcat-users> > > How can this be matched with shiro security? > > Thanks, Peter > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Basic-authentication-with-tomcat-tp5120604p5203301.html > Sent from the Shiro User mailing list archive at Nabble.com. >
