Hello everyone,
I need help using session manager. I have created the session and no I need to be able to use the session in order to create a folder. The session is only called from an admin so they will always have the permission to create the folder.
Here is what I have so far.
IDfSession sessionFC = null;
IDfSessionManager sessionManagerFC = null;
DfClientX clientx = new DfClientX();
IDfClient client = clientx.getLocalClient();
sessionManagerFC = client.newSessionManager();
sessionFC = sessionManagerFC.getSession(docbase);
IDfSysObject folder = null;
folder = (IDfSysObject) sessionFC.newObject("dm_folder");
I am currently getting the following error occuring at the underlined part in my code.
DfIdentityException:: THREAD: http-bio-8080-exec-1; MSG: [DFC_BOF_WRONG_IDENTITY
] LoginInfo and Principal for "it_dev" docbase are not defined or wrong.; ERRORC
ODE: 1906; NEXT: null