You can use JEE security and basic authentication to secure EGL Web services that are generated into an EGL Web project. If you are only securing services in your project, specify "BASIC" as your authentication type.
To secure all EGL SOAP services in a Web project, in a security constraint in the web.xml, specify a URL pattern of /services/*. You can replace the asterisk with a specific name to secure a specific SOAP service. To secure a specific function in a SOAP service, specify the service and function name, as in /services/accountService/checkBalance.
To secure all EGL REST services in a Web project, in a security constraint in the web.xml, specify a URL pattern of /restservices/*. You can replace the asterisk with a specific name to secure a specific REST service. To secure a specific function in a REST service, specify the service and function name, as in /restservices/accountService/checkBalance.