Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Guida Utente Pagina 262

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 261
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>”;
...
};
Vedere la pagina 261
1 2 ... 257 258 259 260 261 262 263 264 265 266 267 ... 331 332

Commenti su questo manuale

Nessun commento