use of net.sourceforge.myvd.chain.BindInterceptorChain in project OpenUnison by TremoloSecurity.
the class MyVDConnection method bind.
public void bind(String dn, String password) throws LDAPException {
HashMap<Object, Object> request = new HashMap<Object, Object>();
HashMap<Object, Object> session = new HashMap<Object, Object>();
session.put(SessionVariables.BOUND_INTERCEPTORS, new ArrayList<String>());
session.put("MYVD_BINDDN", new DistinguishedName(""));
session.put("MYVD_BINDPASS", new Password());
BindInterceptorChain chain = new BindInterceptorChain(new DistinguishedName(""), new Password(), 0, core.getGlobalChain(), session, request, core.getRouter());
chain.nextBind(new DistinguishedName(dn), new Password(password), new LDAPConstraints());
}
Aggregations