About this task
Implement the LogoutOp Operation first, and then configure
it.
- To implement the LogoutOp Operation, do the following:
- Copy the LogoutOperation.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.
- The operation is called when the client side operation logoffClientOp is
executed. Its execute() method does the following:
- Logs off from BTT Access Control component.
- Releases BTT session context.
- Marks the session expired, and then BTT channel will release the
session.
- To configure the LogoutOp Operation, do the following:
In the
sample, the configuration of LogoutOp operation is
defined in self-define operation. BTT provides the Transaction Editor
to create self-define operation configuration file. Copy the LogoutOp.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 Defining an operation for the transaction.