Chapter 9 Using the JAAS API


JAAS on the client

EAServer 4.0 includes a login module that implements com.sybase.jaguar.security.auth.module.JaguarLoginModule. It uses the JAAS callback mechanism to obtain the client's user name and password and generate credentials.The credentials are passed to the server when the client attempts to invoke any component on the server.

To enable JAAS on the client, set the name of the JAAS configuration file in the Java interpreter's -Djava.security.auth.login.config property on the client's machine. During Java interpreter initialization, JAAS locates the login module based on this setting. For example, you could use the jaas.cfg as the JAAS configuration file that identifies com.sybase.jaguar.security.auth.module.JaguarLoginModule as the login module.

 


Copyright © 2002 Sybase, Inc. All rights reserved.