I am Using jackrabbit 2.12.4 as a JCA (via RAR package) and beside the default JCR operations i would like to use the usermanager to add/remove/edit Users:
Session s = repo.login(...); UserManager umngr = ((JackrabbitSession) s).getUserManager();
*This throws the following exception * java.lang.ClassCastException: org.apache.jackrabbit.jca.JCASessionHandle cannot be cast to org.apache.jackrabbit.api.JackrabbitSession
Is Usermanagement only possible when embedded? using jackrabbit Could I use or build any workaround?
Best regards