|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A DataSourceLDAP object is a factory for JNDI DirContext objects. This object mimics the DataSource object used for databases.
Method Summary | |
javax.naming.directory.DirContext |
getDirContext()
Get a new DirContext |
javax.naming.directory.DirContext |
getDirContext(java.lang.String user,
java.lang.String passwd)
Get a new DirContext for this user |
void |
setBinAttribs(java.lang.String v)
Set the list of byte-array attributes for this bean. |
Method Detail |
public void setBinAttribs(java.lang.String v) throws javax.naming.NamingException
javax.naming.NamingException
public javax.naming.directory.DirContext getDirContext() throws javax.naming.NamingException
javax.naming.NamingException
public javax.naming.directory.DirContext getDirContext(java.lang.String user, java.lang.String passwd) throws javax.naming.NamingException
user
- - the user on whose behalf the DirContext will be used
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |