|
|
#91;/email#93;
sn: Bloggs
uid: jbloggs
userPassword: passwordYou appear to have the ucls secured with a role called ROLE_AUTHENTICATED, and the prefix is set as ROLE_. Does the user have an assigned role called quot;authenticatedquot;?
Hi,
I think this is where my problem since the user jbloggs doesn't have any roles at all in OpenLdap, I just want acegi to authenticate his username and password.
Is there a way to do this, and if not is there a quick way to add a role to openldap that will allow me to use acegi.
thanks,
Norman
If you don't want to use roles you could simply replace the RoleVoter with AuthenticatedVoter. You could then secure the ucl with something like IS_AUTHENTICATED_FULLY.
multiprojec...atedVoter.html
fantastic thank you
the authenticated voter worked!
Great, glad it worked! If you want to add roles later you can do that as well. For the time being atleast you have to be authenticated to see the pages. One step at a time .
hello,
i am using acegi with LDAP and it works fine and when client enter username and password acegi check them in the ldap and if exist log it on.but i want to login client automaticaly when session created and acegi receive request from client ,if client login in operating system with ldap ,acegi dont ask username and password and automaticaly log it on.is it possible with acegi? |
|