public interface AuthenticationNamespace
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(ObjectEntry obj)
Authenticates an object.
|
void |
authenticate(java.lang.String obj,
java.lang.String authenticateObject,
java.lang.String password)
Authenticates an object.
|
void |
authenticateServer(java.lang.String serverName)
Authenticates to a particular server.
|
void |
changePassword(ObjectEntry obj)
Changes a password for an object.
|
void |
changePassword(ObjectEntry obj,
java.lang.String oldPassword,
java.lang.String newPassword)
Changes a password for an object.
|
ObjectEntry |
getAuthenticatedIdentity(ObjectEntry obj)
Returns the identity for the current logged in user.
|
NScache |
getLoginCache()
This method is to get the Cache in form of a HashTable to be used in framework to write to the
filesystem.
|
void |
setPassword(ObjectEntry obj)
Sets the password for an object.
|
void |
setPassword(ObjectEntry obj,
boolean showSetException) |
void |
setPassword(ObjectEntry obj,
java.lang.String password)
Sets the password for an object.
|
void |
unAuthenticate(ObjectEntry obj)
UnAuthenticates the object.
|
void |
unAuthenticate(ObjectEntry obj,
java.lang.String password)
UnAuthenticates the object.
|
ObjectEntry getAuthenticatedIdentity(ObjectEntry obj) throws SPIException
obj - Any ObjectEntry in the namespace. Note: For NDS, an ObjectEntry
is used to obtain the tree name for which the user is logged in to.SPIException - Thrown when the service provider returns an error.void changePassword(ObjectEntry obj) throws SPIException
obj - The object whose password will be changed.SPIException - Thrown when the service provider returns an error.void changePassword(ObjectEntry obj, java.lang.String oldPassword, java.lang.String newPassword) throws SPIException
obj - The object whose password will be changed.oldPassword - The old password.newPassword - The new password.SPIException - Thrown when the service provider returns an error.void setPassword(ObjectEntry obj) throws SPIException
obj - The object whose password will be changed.SPIException - Thrown when the service provider returns an error.void setPassword(ObjectEntry obj, boolean showSetException) throws SPIException
SPIExceptionvoid setPassword(ObjectEntry obj, java.lang.String password) throws SPIException
obj - The object whose password will be changed.password - The new password.SPIException - Thrown when the service provider returns an error.void authenticate(ObjectEntry obj) throws SPIException
obj - The object to authenticate.SPIException - Thrown when the service provider returns an error.void authenticate(java.lang.String obj,
java.lang.String authenticateObject,
java.lang.String password)
throws SPIException
obj - The object to authenticate.authenticateObject - The object to authenticate to. In NDS, this would be the tree.password - The password.SPIException - Thrown when the service provider returns an error.void authenticateServer(java.lang.String serverName)
throws SPIException
serverName - The server to authenticate to.SPIException - Thrown when the service provider returns an error.void unAuthenticate(ObjectEntry obj) throws SPIException
obj - The object to unauthenticate.SPIException - Thrown when the service provider returns an error.void unAuthenticate(ObjectEntry obj, java.lang.String password) throws SPIException
obj - The object to unauthenticate.password - The password.SPIException - Thrown when the service provider returns an error.NScache getLoginCache()
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.