Use the HTTP basic authentication method to secure a service within a secured network such as HTTPS or an intranet. To enable HTTP basic authentication, edit J2EE deployment descriptors defined in the SOAP binding module.
To add authentication to a service, you edit the EJB deployment descriptor. You can edit the deployment descriptor in the XML file, Alternatively, you can use an assembly tool such as IBM Rational® Application Developer as described in this procedure.