Create a login.conf file in JAVA_HOMEjrelibsecurity and .

The login.conf file indicates the authentication modules to be used by the SPNEGO client and server.

Note: If your Landmark and LSF environments are on the same server and share the same JDK, you may have already have a login.conf file in your JAVA_HOMEjrelibsecurity directory. If so, skip the steps to create the login.conf and save it to JAVA_HOMEjrelibsecurity.

You must also copy the login.conf file to in your Landmark environment.

  1. Using a text editor, create a file called login.conf with the following contents:

    If you are using the IBM JDK:

    spnego-client{
        com.ibm.security.auth.module.Krb5LoginModule required;
    };
    
    spnego-server {
        com.ibm.security.auth.module.Krb5LoginModule required useDefaultCcache=false credsType=both 
        tryFirstPass=true forwardable=true noAddress=true;
    };
    
    

    If you are using Sun (Oracle) JDK:

    spnego-client {
        com.sun.security.auth.module.Krb5LoginModule required;
    };
    
    spnego-server {
        com.sun.security.auth.module.Krb5LoginModule required;
    };
    
  2. Save the login.conf file to the following locations:

    JAVA_HOMEjrelibsecurity directory in your Landmark environment.

    in your Landmark environment.

  3. Using a text editor, open the JAVA_HOMEjrelibsecurityjava.security file in the Java JDK used by the Landmark environment.

    Add the following line to the end of the java.security file to indicate the location of the login.conf file.

    Example

    login.config.url.1=file:${java.home}/lib/security/login.conf