Defining URL patterns for Rich UI resources
Security constraints define how the content of a web project is protected. To use JEE security to protect a resource, in the security constraints in the deployment descriptor (web.xml) of your deployed project, specify the URLs of the resources to secure.
The following
sections contain information on how to secure the
various components of a Rich UI application:
- Securing the HTML file by using form-based authentication
- Securing the EGL Rich UI Proxy by using basic authentication
- Securing EGL web services by using basic authentication
Those sections also refer to URL patterns.
To secure all the resources that are in the WebContent folder of a deployed project, specify /* as the URL pattern. Specifying /* as your URL pattern secures your HTML page, EGL Rich UI Proxy, and SOAP and REST services.