版權聲明:本文為部落客原創文章,未經部落客允許不得轉載。 https://blog.csdn.net/inforstack/article/details/85245946
URL: "http://<hostname>:<port>/BOE/BI/logon/start.do?ivsLogonToken="+logonTokenValue
ivsLogonToken:
String host = ServerUtil.getSystemProperty(Constants.HOST);
String port = ServerUtil.getSystemProperty(Constants.PORT);
String security = ServerUtil.getSystemProperty(Constants.SECURITY);;
IEnterpriseSession instance = CrystalEnterprise.getSessionMgr().logon(userName, pwd, host + ":" + port, security);
String token = instance.getLogonTokenMgr().createLogonToken("", 60, Integer.MAX_VALUE);
相關資料1 相關資料2