软件包 | 描述 |
---|---|
java.lang |
提供对java编程语言的设计基础课。
|
java.lang.instrument |
提供的服务允许java编程语言的代理工具运行在JVM上的程序。
|
java.security |
为安全框架提供类和接口。
|
javax.security.auth |
本软件包提供了一个用于身份验证和授权的框架。
|
Modifier and Type | Method and Description |
---|---|
ProtectionDomain |
Class.getProtectionDomain()
返回该类的
ProtectionDomain 。
|
Modifier and Type | Method and Description |
---|---|
protected 类<?> |
ClassLoader.defineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain)
将字节数组转换为
类类实例,一个可选的
ProtectionDomain。
|
protected 类<?> |
ClassLoader.defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain)
将
ByteBuffer 到
类类实例,一个可选的
ProtectionDomain。
|
Modifier and Type | Method and Description |
---|---|
byte[] |
ClassFileTransformer.transform(ClassLoader loader, String className, 类<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
此方法的实现可能会改变提供的类文件,并返回一个新的替换类文件。
|
Modifier and Type | Method and Description |
---|---|
ProtectionDomain[] |
DomainCombiner.combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
修改或更新提供protectiondomains。
|
Modifier and Type | Method and Description |
---|---|
ProtectionDomain[] |
DomainCombiner.combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
修改或更新提供protectiondomains。
|
ProtectionDomain[] |
DomainCombiner.combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
修改或更新提供protectiondomains。
|
protected PermissionCollection |
PolicySpi.engineGetPermissions(ProtectionDomain domain)
返回一个包含授予指定权限集PermissionCollection客体保护范围。
|
protected abstract boolean |
PolicySpi.engineImplies(ProtectionDomain domain, Permission permission)
检查政策是否已授予的权限来保护范围。
|
PermissionCollection |
Policy.getPermissions(ProtectionDomain domain)
返回一个包含授予指定权限集PermissionCollection客体保护范围。
|
boolean |
Policy.implies(ProtectionDomain domain, Permission permission)
对全球政策的权限授予ProtectionDomain是否授予权限。
|
Constructor and Description |
---|
AccessControlContext(ProtectionDomain[] context)
创建具有给定的数组的一个accesscontrolcontext protectiondomains。
|
Modifier and Type | Method and Description |
---|---|
ProtectionDomain[] |
SubjectDomainCombiner.combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
从这个
SubjectDomainCombiner 相关的
Subject 校长更新相关protectiondomains。
|
Modifier and Type | Method and Description |
---|---|
ProtectionDomain[] |
SubjectDomainCombiner.combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
从这个
SubjectDomainCombiner 相关的
Subject 校长更新相关protectiondomains。
|
ProtectionDomain[] |
SubjectDomainCombiner.combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
从这个
SubjectDomainCombiner 相关的
Subject 校长更新相关protectiondomains。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.