LDAP auth
Goyman <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.eof,gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have the following code:
/* Changing ldap authentification */
EOModelGroup defModelGroup =
EOModelGroup.defaultGroup();
EOModel ldapModel =
defModelGroup.modelNamed("LDAP");
NSMutableDictionary connDict = new
NSMutableDictionary(ldapModel.connectionDictionary());
connDict.takeValueForKey("uid="+uid+",ou=People,dc=goyman,dc=com",
"username");
connDict.takeValueForKey(userPassword,
"password");
ldapModel.setConnectionDictionary(connDict);
the problem is that work, but only one time, and this is not per
session attribute, I mean that all session will have the same ldap
connection dict after calling this direct action.
Regards
Goyman