jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Lustig <tm.lus...@gmail.com>
Subject can not use jackrabbit and usermanagement via JCA
Date Fri, 28 Oct 2016 14:59:21 GMT
Dear jackrabbit users,


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

Thomas

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message