Java Policies 详解

<TBD>

Using the PolicyTool Program
1,issue cmd
2,issue policytool

Principal类型:
  KerberosPrincipal <javax.security.auth.kerberos.KerberosPrincipal>
  NTDomainPrincipal <com.sun.security.auth.NTDomainPrincipal>
  NTSidDomainPrincipal <com.sun.security.auth.NTSidDomainPrincipal>
  NTSidGroupPrincipal  <com.sun.security.auth.NTSidGroupPrincipal>
  NTSidPrimaryGroupPrincipal <com.sun.security.auth.NTSidPrimaryGroupPrincipal>
  NTSidUserPrincipal  <com.sun.security.auth.NTSidUserPrincipal>
  NTUserPrincipal  <com.sun.security.auth.NTUserPrincipal>
  UnixNumericGroupPrincipal  <com.sun.security.auth.UnixNumericGroupPrincipal>
  UnixNumericUserPrincipal  <com.sun.security.auth.UnixNumericUserPrincipal>
  UnixPrincipal  <com.sun.security.auth.UnixPrincipal>
  X500Principal  <javax.security.auth.x500.X500Principal>

Permission类型:
  java.security.AllPermission
  javax.sound.sampled.AudioPermission
  javax.security.auth.AuthPermission
  java.awt.AWTPermission
  javax.security.auth.kerberos.DelegationPermission
  java.io.FilePermission
  java.util.logging.LoggingPermission
  java.net.NetPermission
  javax.security.auth.PrivateCredentialPermission
  java.util.PropertyPermission
  java.lang.reflect.ReflectPermission
  java.lang.RuntimePermission
  java.security.SecurityPermission
  java.io.SerializablePermission
  javax.security.auth.kerberos.ServicePermission
  java.net.SocketPermission
  java.sql.SQLPermission
  javax.net.ssl.SSLPermission

你可能感兴趣的:(java,sql,.net,Security)