These projects are to provide example usage for invoking T24 Enterprise components to communicate with T24 hosted with Temenos Application Framework C/J
Navigate to the PROJECT_HOME (directory where you have loaded the Git repository) and setup build and run environment by executing the bat file (Please update the TAFJ_MB_DIR in the file according to your machine path)
$ dev
This is T24 component to wrap OFS.BULK.MANAGER calls into component framework. This component should be available in T24 environment by default
As few of the following samples will be using secure component api's, you will be required to configured jBoss for the same to provide the security domain, users etc. Note: We will be using jboss default login modules to serve our need, but same can be achieved using industry standard LDAP server's, all you need to make sure that USER context and role is available.
Lets define a new jBoss Secutiry domain by adding following xml in 'JBOSS_HOME/server/<profile>/conf/login-config.xml' file;
<application-policy name="T24App"> <authentication> <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required"> <module-option name="usersProperties">props/jbossws-users.properties</module-option> <module-option name="rolesProperties">props/jbossws-roles.properties</module-option> <module-option name="unauthenticatedIdentity">anonymous</module-option> </login-module> </authentication> </application-policy>
Above configurations defines a new security domain in jboss as 'T24App' with user configuration file located at './props/jbossws-users.properties' and user rols configuration file located at './props/jbossws-roles.properties'
Now add a new user in jboss as 'SSOUSER' with password '123456' by adding following line in 'JBOSS_HOME/server/<profile>/conf/props/jbossws-users.properties';
SSOUSER=123456
And define a role for the above user SSOUSER as 't24user' by adding the following line in 'JBOSS_HOME/server/<profile>/conf/props/jbossws-roles.properties';
SSOUSER=t24user
NOTE: As you can see we have defined a jBoss user called SSOUSER, once authenticated 'SSOUSER' will be our PRINCIPAL and T24 needs to load the context for this user to execute the request. For that we need to define user profile within T24 as SIGN.ON.NAME = SSOUSER (password can be antyhing for this user as it will be ignored during JF.VALIDATE.SIGN.ON) and one of the ATTRIBUTES of this user profile must be set to 'PREAUTHENTICATED'.
Make sure Databse configured with TAFJ MB is up and running
ofsconn-standalone-provider-test
ofsconn-standalone-proxy-tafj-test
Make sure tafc_agent is up and running correctly
ofsconn-standalone-provider-tafc-test