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

Jasperserver with Active Directory


MohanRao

Recommended Posts

Hi,

 

I have a requirement of making jasperserver work with Active Directory. I am trying my best to find a solution. Posting this question to get the solution faster. If anyone has worked on jasperserver with Active Directory, please give me a detailed information on how to implement jasperserver with Active Directory. Meanwhile I will be trying from my side too.

 

Thanks a lot,

Mohan.

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Hi,

 

i'm try the authentication through Active Directory with OpenI, and have a lot of problems, beacuse active directory in win2k3 doesn't allow the anonymous find, then when you made the conection with AD you must provide a user with domain adminitrator. After this, the only one user what can access was this domain administrator. My question it's you have been trying with AD from w2k3? with a connection like this?

 

Best Regards,

 

Catador.

Link to comment
Share on other sites

This would be done by Acegi. The Acegi forums are your friend! Here is an example I pulled off there:

Code:


<bean id="initialDirContextFactory"
class="org.acegisecurity.ldap.DefaultInitialDirContextFactory">
<constructor-arg value="ldap://10.1.110.190"/>
<property name="managerDn">
<value>CN=LDAP Restricted,CN=Users,DC=MYtest,DC=com</value>
</property>
<property name="managerPassword">
<value>password</value>
</property>
</bean>

<bean id="userSearch" class="org.acegisecurity.ldap.search.FilterBasedLdapUserSearch">
<constructor-arg index="0">
<value>DC=MYtest,DC=com</value>
</constructor-arg>
<constructor-arg index="1">
<value>(sAMAccountName={0})</value>
</constructor-arg>
<constructor-arg index="2">
<ref local="initialDirContextFactory"/>
</constructor-arg>
<property name="searchSubtree">
<value>true</value>
</property>
</bean>

<bean class="org.acegisecurity.providers.ldap.authenticator.PasswordComparisionAuthenticator"> <constructor-arg>
<ref local="initialDirContextFactory"/>
</constructor-arg>
<property name="userSearch" ref="userSearch"/>
</bean>

 

Let us know whether it works.

 

 

Sherman

JasperSoft

Link to comment
Share on other sites

  • 4 years later...
  • 1 year later...

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...