User guide

Chapter 7: Developing Applications
7-34
Executing Applications
This section explains how to execute a Java application that uses the single sign-on JavaAPI.
(1) Setting System Property
To execute a Java application that uses the single sign-on JavaAPI, the following system property must
be set on JavaVM activation.
Table 7-17 Setting System Properties (JavaAPI)
System Property Value to be Set
java.security.auth.login.config Login configuration file absolute path name
If the Java application uses the JAAS authorization function, the following system properties must also
be set.
Table 7-18 Setting System Properties (JAAS)
System Property Value to be Set
java.security.manager None
java.security.policy Security policy file absolute path name
java.security.auth.policy Absolute path name of the principal base security policy file
(can be written in a security policy file set with
java.security.policy for JDK1.4)
sun.security.policy.utf8 Can be set for JDK1.4 only. Specify "false" to read the
security policy file using the default encoding format. If "true"
or nothing is specified, UTF-8 is read
When a proxy server is used between the Java application and authentication server, the following
system properties must be set:
Table 7-19 Setting System Properties when Proxy Server is used
System Property Value to be Set
http.nonProxyHosts Name of a server that is not to be connected through a proxy
server
Set this value if a proxy server is set but there is a server
that is not to be connected through the proxy server. Insert
the symbol (|) between the server names when specifying
multiple servers. A corresponding wild card character can
also be specified"..
https.proxyHost Name of a proxy server in HTTPS communication
Set this value when the authentication server is in an SSL
environment.
https.proxyPort Port number of a proxy server
Set this value when the authentication server is in an SSL
environment.