Hello,
I would like to secure my Wicket application with basic container
authentication. For this reason I have declared following security context
in my WEB.XML file:
<security-constraint>
<web-resource-collection>
<web-resource-name>PtsAarWeb</web-resource-name>
<url-pattern>/app/*</url-pattern>
<http-method>GET</http-method>
<http-method>PUT</http-method>
<http-method>POST</http-method>
<http-method>HEAD</http-method>
<http-method>TRACE</http-method>
<http-method>DELETE</http-method>
<http-method>OPTIONS</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>AarWeb</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login</form-login-page>
<form-error-page>/loginerror</form-error-page>
</form-login-config>
</login-config>
<security-role>
<description>
The role that is required to log in to the Manager Application
</description>
<role-name>AarWeb</role-name>
</security-role>
How can this security realm be mapped with SHIRO ?
Best regards, Peter
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Basic-authentication-with-tomcat-tp5120604p5120604.html
Sent from the Shiro User mailing list archive at Nabble.com.