Help in LDAP authentication (jsf)

View: New views
1 Messages — Rating Filter:   Alert me  

Help in LDAP authentication (jsf)

by j_vb4u :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i m very new in JSF and i m having problem in LDAP authentication. using the steps in this article http://www.netbeans.org/kb/60/web/ldap.html i added component library (LDAP_DataProviders_jdk1.5.complib. ) in my netbeans 6.1 IDE. its properlly installed , and i drag and droped a LdapConnection1 compnent on page and given a ldap server address and port 389, but i cant able to connect to ldap directory service. my code is like this: private void _init() throws Exception { ldapConnection1.setUrl("ldap://10.144.135.205:389"); ldapQuery1.setConnection((com.sun.rave.examples.ldap.LDAPConnection) getValue("#{Page1.ldapConnection1}")); ldapTableDataProvider1.setQuery((com.sun.rave.examples.ldap.LDAPQuery) getValue("#{Page1.ldapQuery1}")); ldapQuery1.setResultAttributes(new String[]{"uid", "userPassword"}); } please help me ...! thanks
LightInTheBox - Buy quality products at wholesale price