[jboss-user] [JBossWS] - Re: JAX-WS Basic authorization?
alessio.soldano@jboss.com
do-not-reply at jboss.com
Mon Nov 19 07:09:46 EST 2007
"rukus" wrote : Looks like only web.xml matters
| security-constraint>
| | <web-resource-collection>
| | <web-resource-name>Server service</web-resource-name>
| | <url-pattern>/*</url-pattern>
| | <http-method>POST</http-method>
| | </web-resource-collection>
| | <auth-constraint>
| | <role-name>testuser</role-name>
| | </auth-constraint>
| | </security-constraint>
| and
| @RolesAllowed
| annotation does no effect
This is because you're using a POJO endpoint. The annotation approach should work with an EJB3 endpoint.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105992#4105992
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105992
More information about the jboss-user
mailing list