I've a security constraint on my app:
<security-constraint>
<display-name>users</display-name>
<web-resource-collection>
<web-resource-name>all</web-resource-name>
<description/>
<url-pattern>/secured</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>HEAD</http-method>
<http-method>PUT</http-method>
<http-method>OPTIONS</http-method>
<http-method>TRACE</http-method>
<http-method>DELETE</http-method>
</web-resource-collection>
<auth-constraint>
<description>Have to be a USER</description>
<role-name>USERS</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<security-role>
<description/>
<role-name>USERS</role-name>
</security-role>
At runtime however there is no realm "USERS":
2009-06-15 10:25:42.536::WARN: Request /secured failed - no realm
- How to define realms under google app engine?
- By using jetty.xml? It is onorated by GAE?