Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Guide de l'utilisateur Page 264

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 332
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 263
Chapter 7: Developing Applications
7-24
File Encoding for Security Policy File
When a character other than alphanumeric characters and symbols is used in a security policy file, store
the security policy file with the following file encoding format:
JDK1.3
JavaVM default encoding format
JDK1.4
UTF-8 encoding format format or the default encoding format used by JavaVM
To use the default encoding format, the system property com.sun.security.policy.utf8 should be
assigned the value false.
Granting Permission for Each Distinguished Name that is Unique Within the User SSO
Repository
JDK1.3
Insert a space after each comma between the attributeType=attributeValue values making up a
principal name.
Example
grant codeBase "file:isssoaction.jar" ,principal
com.sun.security.auth.X500Principal "CN=user001, OU=User, OU=interstage,
O=fujitsu, DC=com" {
permission java.util.PropertyPermission "java.home","read";
};
JDK1.4
Do not insert a space after each comma between the attributeType=attributeValue values making
up a principal name.
Example
grant codeBase "file:isssoaction.jar" , principal
javax.security.auth.x500.X500Principal "CN=
user001,OU=User,OU=interstage,O=fujitsu,DC=com" {
permission java.util.PropertyPermission "java.home","read";
};
Note
JDK1.3 cannot be used for JAAS authorization using a distinguished name unique within an SSO
repository where a value other than alphanumeric characters and symbols is used. In this situation, use
JDK1.4.
File Description
Specifying a security policy file used in an application that executes JAAS authorization is explained
below. To use the JAAS authorization function, the codes to be processed for each principal and other
codes must be set in different jar files as described in Table 7-14.
Vue de la page 263
1 2 ... 259 260 261 262 263 264 265 266 267 268 269 ... 331 332

Commentaires sur ces manuels

Pas de commentaire