4.0 JNDI Implementation

Applications enabled using JNDI implementation connect to SecretStore via LDAP using LDAP v3 extended operations. The library does not provide any connection and/or session management. This is left up to the application.

Figure 4-1 JNDI Implementation

The sample test code demonstrates how to access basic SecretStore functionality by using the NCP implementation. To use this implementation, call the method getInstance (Hashtable env) in the com.novell.security.sso.SecretStore class. The environment property com.novell.sso.secretstore should be set to com.novell.security.sso.ldap.jndi.JNDISecretStore.

The application must provide a java.naming.LdapContext in the form of the com.novell.sso.handle environment property. When accessing SecretStore functionality via LDAP, the connection must be SSL based for security.