Programmatically create Users using Jackrabbit Usermanager api
Hello,
Is there a way i could have a java code to create user using jackrabbit usermanager api. I tried using
JackrabbitSession jsession = (JackrabbitSession) session;
and i get the below error,
java.lang.ClassCastException: org.apache.jackrabbit.jcr2spi.SessionImpl cannot be cast to org.apache.jackrabbit.api.JackrabbitSession
Anyone with help?
Regards,
NZ