Implementation Guide for Oracle Self-Service E-Billing > Customizing the Customer Service Representative Application >
CSR Application
The CSR application WAR file contains the tiles (*.JSP) for the application. Under the war/src/main/webapp directory are a variety of packages containing tiles that address key CSR view functions such as impersonating and finding a CSR's customer (access-cust), enrolling the CSR and searching for a customer's CSR (manage-csr), enrolling the customer (manage-cust), and searching and managing organizations (manage-org). Under the \web-actions\src\main\java\com\edocs\application\csr (compiled source) directory are action, form, and tag classes which comprise the model and controller of the CSR application. The common package contains a variety of CSR helper classes for logging in, enrolling, authentication, and configuration. See the war/src/main/webapp/WEB-INF for the struts configuration JavaBeans and forwarding actions for this CSR application. The tiles configuration also resides in this file. See the web-actions\src\main\config\csr.xma.xml file for how to configure access to the customer application from the CSR application and the list of CSR roles that are enabled. In the csr.xma.xml file, you must modify properties custAppURL and custLogoutAppURL to the value where the Billing and Payment application is deployed. By default, the property values are:
- https://localhost:7001/ebilling/j_acegi_security_check?
- https://localhost:7001/ebilling/logout.do? respectively
The following properties must point to the I.P. address, for example:
- https://10.1.1.1:7001/ebilling/j_acegi_security_check?
- https://10.1.1.1:7001/ebilling/logout.do?
Contents of csr.xma.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<!-- XMA specific definitions -->
<bean id="GlobalConfigurationBean" class="com.edocs.application.csr.common.CSRConfiguration">
<property name="custAppURL">
<value>http://10.149.189.225:7006/ebilling/j_acegi_security_check?</value>
</property>
<property name="custLogoutAppURL">
<value>http://10.149.189.225:7006/ebilling/logout.do?</value>
</property>
<property name="userNameParam">
<value>j_username</value>
</property>
<property name="passwordParam">
<value>j_password</value>
</property>
<property name="csrParam">
<value>csr</value>
</property>
<property name="activeStatus">
<value>Active</value>
</property>
<property name="inActiveStatus">
<value>Inactive</value>
</property>
</bean>
</beans>
|