0

I already have an existing user base (user, roles,user_roles table in database). How could I create custom authentication and authorization module to use this to interact with Jackrabbit repository which is file system transient repository.

I can create a custom login module extending the AbstractLoginModule but principal, usermanager, userimpl etc how will I get these?

User, Roles etc are nodes in repository so how can I use my user base from data base to create access control based nodes and files ?

Will I able able to achieve this at all?