Jump to content
We've recently updated our Privacy Statement, available here ×

What Version of the Spring LDAP jar?


shmee

Recommended Posts

What version of the Spring LDAP jar should I be using with JasperServer-3.70-CE?  I tried the 1.30 version but JasperServer will not start. 

I know that Spring has been changing things, so I was just wondering which version I should be using?

Also is there a good how-to for LDAP Active Directory and JapserServer-3.70?

Thanks for your time.

 

-Ryan Partlow

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

So after quite a bit of looking though the Spring forums I found my answer.

In new version there is no class:
"org.springframework.security.providers.ldap.populator.DefaultLdapAuthoritiesPopulator"
there is a class:
class="org.springframework.security.ldap.populator.DefaultLdapAuthoritiesPopulator"

Change those classes in the "applicationContext-security.xml" file and then it should be good to go.

 

I found this answer at: http://forum.springsource.org/showthread.php?t=83487

 

Thanks,

-Ryan Partlow

Code:
     <constructor-arg>       <bean class="org.springframework.security.providers.ldap.populator.DefaultLdapAuthoritiesPopulator">          <constructor-arg index="0"><ref local="initialDirContextFactory"/></constructor-arg>          <constructor-arg index="1"><value></value></constructor-arg>          <property name="groupRoleAttribute">                        <value>ou=Groups,dc=xxx,dc=xxx,dc=xxx</value></property><!--          <property name="groupSearchFilter"><value>(&(uniqueMember={0})(objectclass=groupofuniquenames))</value></property> -->          <property name="searchSubtree"><value>false</value></property>                   </bean>     </constructor-arg>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...