Sun Java System Access Manager 7 2005Q4 Developer's Guide

Using the Java API

The ClientSDK properties can also be set programmatically using the class: See Using the Java API.

Example 1–1 Setting ClientSDK Properties

import java.util.Properties;
public static void main(String[] args) {
        // To initialize a set of properties
        Properties props = new Properties();
        props.setProperty(”’, ”amAdmin’);
        props.setProperty(”’, ”11111111’);
        SystemProperties.initializeProperties(props) ;

        // To initialize a single property
    // Application specific code ...