The Java EE 5 Tutorial

Using Programmatic Login

Programmatic login enables the client code to supply user credentials. If you are using an EJB client, you can use the class with their convenient login and logout methods.

Because programmatic login is specific to a server, information on programmatic login is not included in this document, but is included in the Sun Java System Application Server 9.1 Developer’s Guide.