com.novell.security.sso.ncp
Class NCPSecret

java.lang.Object
  |
  +--com.novell.security.sso.Secret
        |
        +--com.novell.security.sso.ncp.NCPSecret
All Implemented Interfaces:
Serializable

public final class NCPSecret
extends Secret

Class that represents a secret in SecretStore. This implementation communicated to SecretStore by calling the SecretStore C API in nwsso.dll through the JNI layer. This class is dependent on the Novell NetWare client for the connection to SecretStore and on Novell International Cryptographic Infrastructure (NICI) for the cryprography. It is also dependent on the nwsso.dll file to be located on the system.

In order to increase performance, a secret is not retrieved via the network when instantiating an object of this Secret class. Network operations are not performed until a method of this Secret class is invoked.

Invoking the accessor methods getAccessTime, getCreateTime, getModifyTime, getSecret, getStatus will cause the read function to be called. Only the read method results in a network call.

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 Secret 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 Secret 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.