com.novell.security.sso.ldap.jndi
Class JNDISecret

java.lang.Object
  |
  +--com.novell.security.sso.Secret
        |
        +--com.novell.security.sso.ldap.jndi.JNDISecret
All Implemented Interfaces:
Serializable

public final class JNDISecret
extends Secret

Class that represents a secret in SecretStore. Operations are performed using JNDI LDAPv3-style extended operations. Regardless of which provider is used on the client, the server must have Novell's SecretStore installed before any of the operations of this class will operate. SecretStore requires that the connection with SecretStore via LDAP be secured by using SSL. SecretStore will reject clear-text requests. See sample code for an example of how to set this up.

This class is immutable in terms of its context. In order to increase performance, a secret is not retrieved via a LDAP operation when instantiating an object of this class. LDAP operations are not performed until a method of this class is invoked.

Invoking the accessor methods getAccessTime, getCreateTime, getModifyTime, getSecret, and getStatus will cause the read method to be called. The read method results in a LDAP operation.

After the read method is called, either directly or as a result of a call to an accessor method, subsequent calls to the accessor methods will not result in another read call to occur. This behavior is used to improve performance. In order to refresh the object, make an explicit call to the read method. The only exception to this is the getStatus method. This method will make subsequent calls to the read method if changes have been made to the object.

Since:
2.1
Version:
3.2
Author:
Steve Kinser
See Also:
Serialized Form

Methods inherited from class com.novell.security.sso.Secret
create, create, delete, delete, equals, exists, exists, getAccessTime, getAutoCreateIDPolicy, getCreateTime, getEnhancedProtectedPolicy, getModifyTime, getStatus, getValue, hashCode, isCheckingSecretIDCollision, isEnhancedProtected, isEnhancedProtectedWithPassword, read, read, setAutoCreateIDPolicy, setCheckingSecretIDCollision, setEnhancedProtected, setEnhancedProtectedPolicy, setEnhancedProtectionPassword, setValue, setValue, sync, toString, unsetEnhancedProtectionPassword, update, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 



Copyright © 1997-2003 Novell, Inc. All Rights Reserved.