Administration Guide › SPS APIs › Session Scheme API › Implement a Custom Session Scheme
Implement a Custom Session Scheme
Use the following procedure to implement a custom session scheme.
Follow these steps:
- Review the sample code for the IP address session scheme in IP Address Session Scheme.
- Write source code for your session scheme.
- If you are creating a rewritable session scheme, implement the rewritable interface.
- Ensure that your system CLASSPATH includes the following content:
- proxycore.jar which contains the session scheme API
- JDK version 1.6.0_30 or higher jar files
- sps_home/Tomcat/server/lib jar files
- Compile the session scheme.
- Do one of the following steps:
- Create a .jar file that contains your custom session schemes then copy the .jar file to the directory sps_home/Tomcat/server/lib.
- Add the class files for your custom session scheme to the sps_home/Tomcat/server/classes directory then configure scheme in the SPS server.conf file.
- Restart the SPS.
|
Copyright © 2012 CA.
All rights reserved.
|
|