Previous Topic: Session Scheme API Class Files

Next Topic: Session Scheme API Methods

Constructor for Session Scheme API

The constructor for a custom session scheme must consist of the following:

public IPAddrSessionScheme(String name, boolean
				acceptFlag, Hashtable props) {
		// Always call the parent constructor for proper
		// initialization of the scheme

		super(name,acceptFlag,props);

The settings are as follows:

name

String that is populated by the name in the server.conf file associated with your custom session scheme class.

acceptFlag

Boolean value that determines whether or not the custom session scheme accepts SiteMinder’s SMSESSION cookies.

props

List of name/value pairs for any other properties required by the session scheme as specified in the server.conf file.