cancel
Showing results for 
Search instead for 
Did you mean: 

BO login bypass in BOXIR3.1

Former Member
0 Kudos

Hi ,

we have installed the XI R 3.1 on solaris, we have our own portal, from there we want to redirect the users to the BO info view "Document list" when they click on some link.

we need to bypass the login form in the BO,

can someone help me in doing this.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184995
Active Contributor
0 Kudos

Sample Java Code:

-


<%@ page import="com.crystaldecisions.sdk.exception.SDKException,com.crystaldecisions.sdk.framework.*,com.crystaldecisions.sdk.occa.infostore.*"
%><%

IEnterpriseSession enterpriseSession;
String serializedSession;

/* Set Enterprise Logon credentials. */

final String BO_CMS_NAME  = "MyCMSName";
final String BO_AUTH_TYPE = "secEnterprise";
final String BO_USERNAME  = "MyuserName";
final String BO_PASSWORD  = "MyPassword";

/*Set Java InfoView start page URL */
final String INFOVIEW_URL = "http://<hostname>:<port>/InfoViewApp/logon/start.do";

/* Log onto Enterprise and serialize the Enterprise Session. */ 
enterpriseSession = CrystalEnterprise.getSessionMgr().logon(BO_USERNAME, BO_PASSWORD, BO_CMS_NAME, BO_AUTH_TYPE);
serializedSession = enterpriseSession.getSerializedSession();

/* Redirect to InfoView, passing the serialized Enterprise Session. */
response.sendRedirect(INFOVIEW_URL + "?ivsLogonSession=" + java.net.URLEncoder.encode(serializedSession));

%>

Answers (0)