Hello all,
I have the following code - that allows retrieving the current BO session previously opened by a user via the logon page - running in a custom application hosted on a XI3.1 platform :
IEnterpriseSession iSess = ((CrystalIdentity)request.getSession().getAttribute(InfoViewConstants.INFOVIEW_SESSION)).getSession();
I would like to do the same in BI4... unfortunately I looks like:
- CrystalIdentity is not supported anymore (deprecated)
- InfoViewConstants.INFOVIEW_SESSION neither
Would someone have an idea as to how I could proceed? Keeping in mind that I don't want to ask the user enter any credentials but in the logon page.
I had the following idea in mind but don't know if realizable at all :
- retrieve logon token from flash variables and use the logonWithToken function
- retrieve logon token from cookies (InfoViewPLATFORMSVC_COOKIE_TOKEN? JSESSIONID?) and use the logonWithToken function
Has one of you already tried with success?
Thanks,
Manuel