Start a conversation

How do I log into Aurea Process from an External JSP Webpage?

Overview

You have a JSP page that is external to your Aurea Process (formerly known as CX Process, Savvion and SBM) 2021 R1 server's sbm.war folder and would like to know which APIs you need to use to log into Aurea Process from the JSP page.

 


Information

Aurea Process provides a public API called the BizSite API that provides a mechanism for you to incorporate features of the BPM Portal within customized applications and to create your own specialized portals.  The BizSite API can be used to log into Aurea Process from an external JSP page.

To log into Aurea Process, you will need to get access to the BizSite API within your JSP by including BizSite API Bean using the following code:

<jsp:useBean id="bizSite" class="com.savvion.sbm.bpmportal.bizsite.api.BizSiteBean" scope="session"/>

To set your session with a user's username and password, you will need to do the following:

String username = "ebms";
String passwd = "ebms";
com.savvion.sbm.bpmportal.domain.BMUserBean bmbean = new com.savvion.sbm.bpmportal.domain.BMUserBean(username, passwd, false);
session.setAttribute("username",username); session.setAttribute("password",passwd);
boolean b= bizSite.login(bmbean);
For more details on the BizSite API, please refer to Chapter 4: Customizing the Home module in the Aurea Process 2021 R1 - Business Manager Customization Guide on the Aurea Worx community site.

 

Attached is an example JSP that utilizes the code above to log into Aurea Process from an external JSP.

authUser.jsp

  1. 1 KB
  2. View
  3. Download
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments