Christy Christy [
http://community.jboss.org/people/christy] replied to the discussion
"web-service authentication problem"
To view the discussion, visit:
http://community.jboss.org/message/549048#549048
--------------------------------------------------------------
I found the solution here, on this forum :) . To secure only endpoint but not wsdl you
need to secure only POST method:
<security-constraint>
<web-resource-collection>
<web-resource-name>TestFormatsService</web-resource-name>
<url-pattern>/TestFormatsService</url-pattern>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>friend</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<security-role>
<role-name>friend</role-name>
</security-role>
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/549048#549048]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]