Git Product home page Git Product logo

cfexamples's Introduction

sandbox-ofsconnectorpoc

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

EB_OFSConnector

This is T24 component to wrap OFS.BULK.MANAGER calls into component framework. This component should be available in T24 environment by default

jBoss Security Config

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'.

TAFJ Only Samples

Make sure Databse configured with TAFJ MB is up and running

ofsconn-standalone-test

ofsconn-standalone-provider-test

ofsconn-appsrv-provider-test

ofsconn-standalone-proxy-tafj-test

TAFC Only Samples

Make sure tafc_agent is up and running correctly

ofsconn-standalone-provider-tafc-test

ofsconn-standalone-provider-tafc-customCXManager-test

TAFC & TAFJ Samples [Applicable for Both]

ofsconn-standalone-ejb-test

cf-wsjavaclient

cf-wsjavaclientDynamic

ofsconn-appserv-ejb-test

cfexamples's People

Contributors

aphethean1 avatar junejosheeraz avatar ssethupathi avatar vorburger avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.