crafty Posted February 21, 2011 Share Posted February 21, 2011 Configuration: JasperServer 2.1 (Acegi 1.0.1)I am trying to change my webapp to authenticate against Microsoft Active Directory. My external user iscn=admin,cn=users,dc=maxview,dc=testI am having trouble properly configuring DefaultLdapAuthoritiesPopulator.I was trying to use this resource as a guide even though it is for a newer version of JasperServer.http://www.google.com/search?q=jasper+external+cookbook&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-aI also looked at:http://www.eng.utah.edu/~ryant/mediawiki-1.15.4/index.php/Gabriel_Mongefranco%27s_Guide_to_LDAP_Authentication_for_JasperserverMy current error is:17:25:06,270 WARN LoggerListener,http-8082-1:55 - Authentication event AuthenticationFailureBadCredentialsEvent: admin; details: org.acegisecurity.ui.WebAuthenticationDetails@12afc: RemoteIpAddress: 131.199.122.226; SessionId: E92EEFEB55B39282FA1EE321B6959CEE; exception: Bad credentials(I know that I am typing the correct login/password so I am guessing that I have configured something improperly.)The application-Security.xml is attached.I would appreciate some guidance. Link to comment Share on other sites More sharing options...
crafty Posted February 24, 2011 Author Share Posted February 24, 2011 I was able to resolve the issue by specifying the managerDn differently in the initialDirContxtFactory bean. Instead ofproperty name="managerDn"><value>cn=admin,dc=company,dc=test</value></property>use:<property name="managerDn"><value>admin@company.test</value></property> Note: I was using ActiveDirectory Server 2008. I am not sure if this works for other versions.Post Edited by crafty at 02/24/2011 18:33 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now