Hello, I am trying to configure an external database authentication but my spring knowledge is limited. I assume though that somehow I must provide in the xml file an implementation of the PasswordEncoder (probably Md5PasswordEncoder) as part of the validator to perform the encryption of the clear text and make the comparison. My external password are in the form of {SMD5}xxxxxx
Are there any examples available?
Kind Regards
Y
3 Answers:
Not sure if the scenario is covered, but have you checked the sample configurations that come with the server?
ls jasperreports-server-5.2-bin/samples/externalAuth-sample-config/
The scenario in question is : sample-applicationContext-externalAuth-db-mt.xml but it does not cover SMD5 passwords neither the manual exaplains how to implement other security policies. It just mentions something about Implementing the PasswordEncoder spring security interface. So before I start reading about Spring (which I wouldn't like to be my priority right now) I hope for an answer here.
Regards
Y