クラス
java.security.ProtectionDomainの使用
-
ProtectionDomainを使用しているパッケージ パッケージ 説明 java.lang Javaプログラミング言語の設計にあたり基本的なクラスを提供します。java.lang.instrument Javaプログラミング言語エージェントによりJVMで実行中のプログラムを計測するサービスを提供します。java.security セキュリティ・フレームワークのクラスとインタフェースを提供します。javax.security.auth このパッケージは、認証と承認に関するフレームワークを提供します。 -
-
java.langでのProtectionDomainの使用
ProtectionDomainを返すjava.langのメソッド 修飾子と型 メソッド 説明 ProtectionDomain
Class. getProtectionDomain()
このクラスのProtectionDomain
を返します。ProtectionDomain型のパラメータを持つjava.langのメソッド 修飾子と型 メソッド 説明 protected Class<?>
ClassLoader. defineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain)
指定されたProtectionDomain
を使用して、バイトの配列をクラスClass
のインスタンスに変換します。protected Class<?>
ClassLoader. defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain)
指定されたProtectionDomain
を使用して、ByteBuffer
をクラスClass
のインスタンスに変換します。 -
java.lang.instrumentでのProtectionDomainの使用
ProtectionDomain型のパラメータを持つjava.lang.instrumentのメソッド 修飾子と型 メソッド 説明 default byte[]
ClassFileTransformer. transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
指定されたクラス・ファイルを変換し、新しい置換クラス・ファイルを返します。default byte[]
ClassFileTransformer. transform(Module module, ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
指定されたクラス・ファイルを変換し、新しい置換クラス・ファイルを返します。 -
java.securityでのProtectionDomainの使用
ProtectionDomainを返すjava.securityのメソッド 修飾子と型 メソッド 説明 ProtectionDomain[]
DomainCombiner. combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
指定されたProtectionDomainsを変更または更新します。ProtectionDomain型のパラメータを持つjava.securityのメソッド 修飾子と型 メソッド 説明 ProtectionDomain[]
DomainCombiner. combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
指定されたProtectionDomainsを変更または更新します。protected PermissionCollection
PolicySpi. engineGetPermissions(ProtectionDomain domain)
指定されたProtectionDomainに付与されたアクセス権のセットを含むPermissionCollectionオブジェクトを返します。protected abstract boolean
PolicySpi. engineImplies(ProtectionDomain domain, Permission permission)
ポリシーがProtectionDomainのPermissionを付与されているかどうかをチェックします。PermissionCollection
Policy. getPermissions(ProtectionDomain domain)
指定されたProtectionDomainに付与されたアクセス権のセットを含むPermissionCollectionオブジェクトを返します。boolean
Policy. implies(ProtectionDomain domain, Permission permission)
ProtectionDomainに許可されたアクセス権についてグローバル・ポリシーを評価し、そのアクセス権が許可されているかどうかを判定します。ProtectionDomain型のパラメータを持つjava.securityのコンストラクタ コンストラクタ 説明 AccessControlContext(ProtectionDomain[] context)
指定されたProtectionDomainの配列でAccessControlContextを作成します。 -
javax.security.authでのProtectionDomainの使用
ProtectionDomainを返すjavax.security.authのメソッド 修飾子と型 メソッド 説明 ProtectionDomain[]
SubjectDomainCombiner. combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
このSubjectDomainCombiner
に関連付けられたSubject
のPrincipalを使用して、関連するProtectionDomainsを更新します。ProtectionDomain型のパラメータを持つjavax.security.authのメソッド 修飾子と型 メソッド 説明 ProtectionDomain[]
SubjectDomainCombiner. combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
このSubjectDomainCombiner
に関連付けられたSubject
のPrincipalを使用して、関連するProtectionDomainsを更新します。
-