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> |
<auth-constraint>
<role-name>name</role-name> </auth-constraint> |
For accessing . . .
|
The resulting security-constraintmight look like this . . .
|
Web services
|
<security-constraint>
<web-resource-collection> <url-pattern>/wsa1/</url-pattern> <auth-constraint> <role-name>WSUser1</role-name> <role-name>WSUser2</role-name> </auth-constraint> </web-resource-collection> </security-constraint> |
WSDL
|
<security-constraint>
<web-resource-collection> <url-pattern>/wsa1/wsdl/*</url-pattern> <auth-constraint> <role-name>WSDLUser1</role-name> <role-name>WSDLUser2</role-name> </auth-constraint> </web-resource-collection> </security-constraint> |
WSA administration
|
<security-constraint>
<web-resource-collection> <url-pattern>/wsa1/admin/*</url-pattern/*> <auth-constraint> <role-name>WSAdminUser1</role-name> <role-name>WSAdminUser2</role-name> </auth-constraint> </web-resource-collection> </security-constraint> |