OpenKM 6.2 - getSystemToken()
PostPosted:Tue Nov 13, 2012 10:14 am
Is there a new way to get the token/session in OpenKM 6.2?
Executing:
Executing:
Code: Select all
Error:
import com.openkm.module.*;
String token = JcrSessionManager.getInstance().getSystemToken();
session session = JcrSessionManager.getInstance().get(token);
Code: Select all
Thanks in advance.Sourced file: inline evaluation of: ``import com.openkm.module.*; String tokenNew = JcrSessionManager.getInstance . . . '' : Typed variable declaration : Attempt to resolve method: getInstance() on undefined variable or class name: JcrSessionManager : at Line: 4 : in file: inline evaluation of: ``import com.openkm.module.*; String tokenNew = JcrSessionManager.getInstance . . . '' : JcrSessionManager .getInstance ( )