Implement the signInOp Operation first, and then you can configure
it.
- To implement the signInOp Operation, do the following:
- Copy the SampleConstants.java from <toolkit_root>\samples\BTTJumpStartSampleEAR.ear\BTTJumpStartSampleServer.jar\com\ibm\btt\jumpstart\sample\util\ to the com.ibm.btt.jumpstart.sample.util package of BTTJumpStartSampleServer
Project. The file defines some constants used in the operation.
- Copy the SignInOp.java from <toolkit_root>\samples\BTTJumpStartSampleEAR.ear\BTTJumpStartSampleServer.jar\com\ibm\btt\jumpstart\sample\operation\ to the com.ibm.btt.jumpstart.sample.operation package of
BTTJumpStartSampleServer Project.
- Copy the Login.java and LoginImpl.java from <toolkit_root>\samples\BTTJumpStartSampleEAR.ear\BTTJumpStartSampleServer.jar\com\ibm\btt\jumpstart\sample\login\ to the com.ibm.btt.jumpstart.sample.login package of BTTJumpStartSampleServer
Project.
They are the interface and implementation of login service in Access
Control component of the business component.
- The operation is called when the client side signinClientOp is
executed. In its execute() method, it uses login service
to validate the right of the user.
- To configure the signInOp Operation, do the following:
BTT provides
the Transaction Editor to create self-define operation configuration file.
Copy the signInOp.xml from <toolkit_root>\samples\BTTJumpStartSampleEAR.ear\BTTJumpStartSampleServer.jar\definitions\ to the definitions package of BTTJumpStartSampleServer Project. For information
about how to configure operation configuration file using Transaction Editor,
see Creating
an operation using the Transaction Editor.