User guide
Chapter 7: Developing Applications
7-22
Execution of a Java Application that Receives a User ID/Password from a Client for Authentication
Business server configuration: Unused
Timeout time: 300 seconds
Connected authentication infrastructure URL: https://auth.fujitsu.com:443
Service ID file: "C:\Interstage\F3FMsso\ssoatzag\sample\javaapi\serviceid"
com.fujitsu.interstage.sso {
com.fujitsu.interstage.sso.auth.module.ISLoginModule required
timeout="300"
authserver="https://auth.fujitsu.com:443/ssoatcag"
serviceidpath="C:\\Interstage\\F3FMsso\\ssoatzag\\sample\\javaapi\\serviceid
"
;
};
Business server configuration: Unused
Timeout time: 300 seconds
Connected authentication infrastructure URL: https://auth.fujitsu.com:443
Service ID file: "/home/jaastest/javaapi/serviceid"
com.fujitsu.interstage.sso {
com.fujitsu.interstage.sso.auth.module.ISLoginModule required
timeout="300"
authserver="https://auth.fujitsu.com:443/ssoatcag"
serviceidpath="/home/jaastest/javaapi/serviceid"
;
};
Creating a Security Policy File
The application operation administrator creates a security policy file when the JAAS authorization
function is used by a Java application. Any file name can be specified for the system property
java.security.policy at execution of the java application. For details on the security policy file, refer to the
J2SDK and JAAS documents provided by Sun Microsystems, Inc.
The three grant entry formats shown below can be used to write a security policy.
To Grant Permission for all Codes
grant{
permission <access-permission-class-name> “<target-name>”, “<action-name>”;
permission <access-permission-class-name> “<target-name>”, “<action-name>”;
...
};