Posts Tagged ‘ ldap ’
lift-ldap sample_lift_ldap Some code cleanup … Now it’s easier to create the user model object and customize it. The LDAPProtoUser defines now the ldapRoles SessionVar to get the user roles or groups. Also defines the rolesSearchFilter and rolesNameRegex to search and get the roles/groups. trait LDAPProtoUser[T <: LDAPProtoUser[T]] extends MegaProtoUser[T] { self: T =< /** [ READ MORE ]
One of the requisites to start using Lift at my work, was to use LDAP authentification. So i wrote a little module lift-ldap for that and a sample app, it was damn simple ! To use the module, 1. lift-ldap requirements in maven pom.xml <dependency> <groupId>net.liftweb</groupId> <artifactId>lift-ldap</artifactId> <version>1.0.0</version> </dependency> 2. Create the user object in [ READ MORE ]
Playing around with Scala, a very nice jvm language!, found Lift (web framework), looks simple and funny ! I was looking for ldap authentication with lift, i wasn’t able to find nothing . So i started to play with it, Here, I install an openldap server and some simple scala code to play with it. [ READ MORE ]
Get every new post delivered to your Inbox.