briansey Posted September 11, 2012 Share Posted September 11, 2012 I am having a lot of issues getting LDAP authentication to work with version 4.5. I believe it is in the section <bean id="ldapAuthenticationProvider"When I have this section un-commented I get this in the log file:2012-09-11 15:16:52,317 ERROR ContextLoader,main:307 - Context initialization failedorg.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 805 in XML document from ServletContext resource [/WEB-INF/applicationContext-security.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.3: Element 'beans' cannot have character [children], because the type's content type is element-only.If anyone can help it would really help. Link to comment Share on other sites More sharing options...
shmee Posted September 27, 2012 Share Posted September 27, 2012 There is more to it then just one line. If you read the whole file you will see several lines that need to be uncommented, and configured. Also do not save backup copies of the file in the same location because JasperServer loads all the .xml files in that location.Where are you trying to get your LDAP queries from? Since different LDAP sources have different changes to the file.There are several examples in this forum of people getting this to work, if you look around. 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