public class NPSFileAuthenticator extends LazyAuthBrokerAuthenticator
iManager is implemented as a LazyAuthBrokerAuthenticator and can therefore use a Properties parameter to pass in a specific URI when the getAPIObject is called. If the URI is not provided at the getAPIObject call the default ldap ip address and sys volume on Netware machines will be used.
This is not being used. Do we want to keep it. If so we should rename it.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NPSFILE_PASSWORD
Deprecated.
NPSFILE_PASSWORD = "NPSFILEAUTH_PASSWORD".
|
static java.lang.String |
NPSFILE_URI
Deprecated.
NPSFILE_URI = "NPSFILEAUTH_URI".
|
static java.lang.String |
NPSFILE_USERNAME
Deprecated.
NPSFILE_USERNAME = "NPSFILEAUTH_USERNAME".
|
static java.lang.String |
NPSFILETYPE_LOCALACCESS
Deprecated.
NPSFILETYPE_LOCALACCESS = "NPSFILEAUTH_USELOCALACCESS".
|
| Constructor and Description |
|---|
NPSFileAuthenticator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
authenticate(java.lang.String ndapName,
java.lang.String password,
java.lang.String ndapAccessDomain,
java.util.Properties properties)
Deprecated.
The getAPIObject(id, prop) call on the AuthenticationBroker will return this NPSFile object.
|
java.lang.Object |
login(java.lang.String name,
java.lang.String password,
java.lang.String accessDomain,
ManagementServiceSet manageSS)
Deprecated.
The implementation of AuthBrokerAuthenticator's login() method.
|
void |
logout(java.lang.Object apiObject)
Deprecated.
The implementation of AuthBrokerAuthenticator's logout method.
|
destroy, initpublic static final java.lang.String NPSFILE_USERNAME
public static final java.lang.String NPSFILE_PASSWORD
public static final java.lang.String NPSFILE_URI
public static final java.lang.String NPSFILETYPE_LOCALACCESS
public java.lang.Object login(java.lang.String name,
java.lang.String password,
java.lang.String accessDomain,
ManagementServiceSet manageSS)
throws AuthBrokerException
login in class AuthBrokerAuthenticatorname - Username to use to loginpassword - Password to use to loginaccessDomain - Location to use to login (tree, server, etc...)manageSS - ManagementServiceSet to use to loginAuthBrokerException - if login was unsuccessfulpublic void logout(java.lang.Object apiObject)
logout in class AuthBrokerAuthenticatorapiObject - containing the Object returned from the login methodpublic java.lang.Object authenticate(java.lang.String ndapName,
java.lang.String password,
java.lang.String ndapAccessDomain,
java.util.Properties properties)
throws AuthBrokerException
The passed in properties object to the authbroker.getAPIOBject() call may or may not be null.
If null, the default values of the logged in user, logged in password, and logged in address/sys
volume will be used. The caller can override any or all of these values by setting up key value
pairs in the passed in property object. Any/all of these values are optional.
NPSFileAuthenticator.NPSFILE_USERNAME - username to authenticate as, passed on to the NPSFILE.
If the username and password are set to NPSFileAuthenticator.NPSFILETYPE_LOCALACCESS, local
Java File access within the running JVM will be used, otherwise CIFS file access is used.
NPSFileAuthenticator.NPSFILE_PASSWORD - password to use for authentication
NPSFileAuthenticator.String NPSFILE_URI - URI address to connect to
authenticate in class LazyAuthBrokerAuthenticatorndapName - String containing the user name in NDAP formatpassword - String containing the passwordndapAccessDomain - String containing the tree to login toproperties - Properties object to use to authenticateAuthBrokerException - if login was unsuccessful
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}.