|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a connection to the directory service.
Method Summary | |
void |
activate()
Activates the connection. |
void |
authenticate(String directory,
String userName,
String password,
boolean useSsl)
Authenticates the user given the username and password. |
void |
connect()
Establishes the connection. |
void |
disconnect()
Terminates the connection. |
DirContext |
getDirectoryContext()
Gets the directory context. |
long |
getTimeout()
Gets the connection timeout value. |
String |
getUserName()
Gets the username set into the connection. |
void |
idle()
Allows the connection to go idle. |
boolean |
isAuthenticated()
Tells whether the user has been authenticated. |
boolean |
isDisconnected()
Tells whether the connection has been terminated. |
boolean |
isIdle()
Tells whether the connection is in the idle state. |
void |
setTimeout(long timeout)
Sets the timeout value. |
void |
unauthenticate()
Un-authenticates the user. |
Method Detail |
public void activate()
public void authenticate(String directory, String userName, String password, boolean useSsl) throws EboUnrecoverableSystemException, EboSecurityException
directory
- directory provider nameuserName
- the usernamepassword
- the passworduseSsl
- if true, SSL is usedpublic void connect() throws EboUnrecoverableSystemException, EboSecurityException
public void disconnect() throws EboUnrecoverableSystemException
public DirContext getDirectoryContext() throws EboUnrecoverableSystemException
public long getTimeout()
public String getUserName()
public void idle() throws EboUnrecoverableSystemException
public boolean isAuthenticated()
public boolean isDisconnected()
public boolean isIdle()
public void setTimeout(long timeout)
timeout
- the timeout value, in millisecondspublic void unauthenticate() throws EboUnrecoverableSystemException
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |