Try OpenEdge Now
skip to main content
Administration
Web Services Adapter Administration : Web Services Adapter Security Configurations : Alphabetical list of configuration instructions : Controlling access to Web services, WSDL, and WSA administration : Using one Java container security-constraint
 
Using one Java container security-constraint
The WSA provides three different Java container security-constraints (residing in the WSA's web.xml file) to control access to the following:
*Web service applications
*WSDL
*WSA administration
Controlling access to all three with a single constraint is not supported.
To control access, in the WSA instance's web.xml file, uncomment or create a security-constraint for accessing each function in your desired combination, as shown in the following table.
Table 29. Controlling Web service, WSDL, and administration access using Java container security constraints
For accessing . . .
The security-constraint might look like this . . .
Web services
<security-constraint>
  <web-resource-collection>
    <url-pattern>/wsa1/</url-pattern>
  </web-resource-collection>
</security-constraint>
WSDL
<security-constraint>
  <web-resource-collection>
    <url-pattern>/wsa1/wsdl/*</url-pattern>
  </web-resource-collection>
</security-constraint>
WSA administration
<security-constraint>
  <web-resource-collection>
    <url-pattern>/wsa1/admin/*</url-pattern/*>
  </web-resource-collection>
</security-constraint>