1

I have a Sping roo applicaiton and I want to apply authentication through LDAP and authorization on (e.g. read only/ admin) screens through database tables User/UserRole. Can someone point me to a sample application ?

I have gone through documentation on http://docs.spring.io/spring-roo/reference/html/beginning.html for Securing the Application. However I am looking for ldap and database together.

Thanks Amber

2 Answers 2

0

There's a tutorial with the LDAP piece here

For the Authorization piece, you can solve that by implementing a UserDetailService (the piece that looks up a users authorization in a database and assigns it, allowing you to put fences around pieces of your application), and adding it to your authentication provider

Here's another (probably better) example of LDAP authentication

0

gvNIX includes the Typical Security addon that setups Spring Security and adds default security settings to your project. Then you only have to customize it using Spring Security docs and tutorial.

Take a look at http://code.google.com/p/gvnix/wiki/TypicalSecurity

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.