软件包 | 描述 |
---|---|
java.net |
为实现网络应用程序提供类。
|
java.nio.file.attribute |
提供对文件和文件系统属性的访问的接口和类。
|
java.security |
为安全框架提供类和接口。
|
java.security.acl |
在这个包中的类和接口已取代类在java.security包。
|
java.security.cert |
提供用于解析和管理证书的类和接口,证书撤销列表(CRL),认证路径。
|
javax.management.remote |
用于远程访问JMX MBean服务器接口。
|
javax.net.ssl |
为安全套接字包提供类。
|
javax.security.auth |
本软件包提供了一个用于身份验证和授权的框架。
|
javax.security.auth.kerberos |
此包包含实用类的Kerberos网络认证协议相关。
|
javax.security.auth.x500 |
此包包含要用于存储主和X500 X500在主题私人证书课程。
|
javax.security.cert |
提供公钥证书的类。
|
javax.xml.ws |
这个套件包含核心JAX-WS API。
|
javax.xml.ws.spi.http |
提供HTTP SPI是用于在容器的便携式部署JAX-WS web服务(例如
|
Modifier and Type | Method and Description |
---|---|
abstract Principal |
SecureCacheResponse.getLocalPrincipal()
返回主,是在原有的连接,获取网络资源的握手过程中发送到服务器。
|
abstract Principal |
SecureCacheResponse.getPeerPrincipal()
返回在已检索到网络资源的原始连接期间建立的服务器的一部分,该服务器的主体是定义会话的一部分。
|
Modifier and Type | Interface and Description |
---|---|
interface |
GroupPrincipal
一个
UserPrincipal 代表一组标识,用于确定在一个文件系统对象的访问权限。
|
interface |
UserPrincipal
一个
Principal 表示用来确定在一个文件系统对象的访问权限的身份。
|
Modifier and Type | Class and Description |
---|---|
class |
Identity
过时的。
这个类不再使用。它的功能已经取代了
java.security.KeyStore ,java.security.cert 包,和java.security.Principal 。
|
class |
IdentityScope
过时的。
这个类不再使用。它的功能已经取代了
java.security.KeyStore ,java.security.cert 包,和java.security.Principal 。
|
class |
Signer
过时的。
这个类不再使用。它的功能已经取代了
java.security.KeyStore ,java.security.cert 包,和java.security.Principal 。
|
Modifier and Type | Method and Description |
---|---|
Principal |
Certificate.getGuarantor()
过时的。
返回证书的保证人,也就是说,保证与此证书关联的公钥的主要保证是与此证书关联的主体。
|
Principal |
Certificate.getPrincipal()
过时的。
返回由保证人担保的主密钥对的本金。
|
Principal[] |
ProtectionDomain.getPrincipals()
返回此域的主体数组。
|
Modifier and Type | Method and Description |
---|---|
Identity |
IdentityScope.getIdentity(Principal principal)
过时的。
检索与指定的主体名称相同的身份。
|
Constructor and Description |
---|
ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)
创建一个新的保护范围由给定代码资源,合格的权限,ClassLoader和阵列的校长。
|
Modifier and Type | Interface and Description |
---|---|
interface |
Group
此接口用于表示一组委托人。
|
Modifier and Type | Method and Description |
---|---|
Principal |
AclEntry.getPrincipal()
返回主的权限授予或拒绝该ACL入口。
|
Modifier and Type | Method and Description |
---|---|
Enumeration<? extends Principal> |
Group.members()
返回组中成员的枚举。
|
Modifier and Type | Method and Description |
---|---|
boolean |
Acl.addEntry(Principal caller, AclEntry entry)
添加一个ACL条目这个韧带。
|
boolean |
Group.addMember(Principal user)
将指定的成员添加到组中。
|
boolean |
Owner.addOwner(Principal caller, Principal owner)
增加一个所有者。
|
boolean |
Acl.checkPermission(Principal principal, Permission permission)
检查指定的主体是否已指定的权限。
|
boolean |
Owner.deleteOwner(Principal caller, Principal owner)
删除所有者。
|
Enumeration<Permission> |
Acl.getPermissions(Principal user)
返回指定的主体(表示某个实体,如个人或组)的所允许的权限集的枚举数。
|
boolean |
Group.isMember(Principal member)
如果传递的主体是该组的成员,则返回真。
|
boolean |
Owner.isOwner(Principal owner)
如果给定的主体是ACL的所有者,返回true。
|
boolean |
Acl.removeEntry(Principal caller, AclEntry entry)
删除从该ACL ACL条目。
|
boolean |
Group.removeMember(Principal user)
从组中移除指定的成员。
|
void |
Acl.setName(Principal caller, String name)
设置此ACL的名字。
|
boolean |
AclEntry.setPrincipal(Principal user)
指定委托的权限授予或拒绝该ACL入口。
|
Modifier and Type | Method and Description |
---|---|
abstract Principal |
X509CRL.getIssuerDN()
诋毁,取而代之的
X509CRL.getIssuerX500Principal()。
|
abstract Principal |
X509Certificate.getIssuerDN()
诋毁,取而代之的
X509Certificate.getIssuerX500Principal()。
|
abstract Principal |
X509Certificate.getSubjectDN()
|
Modifier and Type | Class and Description |
---|---|
class |
JMXPrincipal
对JMX远程API远程客户端的身份。
|
Modifier and Type | Method and Description |
---|---|
Principal |
HttpsURLConnection.getLocalPrincipal()
返回主是在握手时发送到服务器。
|
Principal |
HandshakeCompletedEvent.getLocalPrincipal()
返回主是在给同伴握手。
|
Principal |
SSLSession.getLocalPrincipal()
返回主是在给同伴握手。
|
Principal |
HttpsURLConnection.getPeerPrincipal()
返回服务器的主要部分,这是作为定义会话的一部分而建立的。
|
Principal |
HandshakeCompletedEvent.getPeerPrincipal()
返回作为定义会话定义会话的一部分而建立的对等体的身份。
|
Principal |
SSLSession.getPeerPrincipal()
返回作为定义会话定义会话的一部分而建立的对等体的身份。
|
Modifier and Type | Method and Description |
---|---|
String |
X509KeyManager.chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)
选择一个别名来验证给定公钥类型的安全套接字的客户端和由对等方(如果有的话)所识别的证书颁发机构的列表(如果有的话)。
|
String |
X509ExtendedKeyManager.chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)
选择一个别名来验证客户端的
SSLEngine 连接给定的公钥证书发行机构的类型和被同行认可的列表(如果有)。
|
String |
X509ExtendedKeyManager.chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)
选择一个别名来验证服务器端的
SSLEngine 连接给定的公钥证书发行机构的类型和被同行认可的列表(如果有)。
|
String |
X509KeyManager.chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
选择一个别名来验证给定公钥类型的安全套接字的服务器端和对等方(如果有的话)所识别的证书颁发机构的列表(如果有的话)。
|
String[] |
X509KeyManager.getClientAliases(String keyType, Principal[] issuers)
用于验证客户端的安全插座给定的公钥证书发行机构的类型和被同行认可的名单得到匹配的别名(如果有的话)。
|
String[] |
X509KeyManager.getServerAliases(String keyType, Principal[] issuers)
认证服务器端的安全插座给定的公钥证书发行机构的类型和被同行认可的名单得到匹配的别名(如果有的话)。
|
Modifier and Type | Method and Description |
---|---|
<T extends Principal> |
Subject.getPrincipals(类<T> c)
返回一个
Set 与此
Subject 是指定的
类 实例或类相关负责人。
|
Modifier and Type | Method and Description |
---|---|
Set<Principal> |
Subject.getPrincipals()
与此相关的收益
Subject 校长
Set 。
|
Constructor and Description |
---|
Subject(boolean readOnly, Set<? extends Principal> principals, Set<?> pubCredentials, Set<?> privCredentials)
创建一个与校长和凭据
Subject 实例。
|
Modifier and Type | Class and Description |
---|---|
class |
KerberosPrincipal
这个类封装了一个Kerberos委托。
|
Modifier and Type | Class and Description |
---|---|
class |
X500Principal
这类代表一个X.500
Principal 。
|
Modifier and Type | Method and Description |
---|---|
abstract Principal |
X509Certificate.getIssuerDN()
得到
issuer (发行人可分辨名称)从证书的价值。
|
abstract Principal |
X509Certificate.getSubjectDN()
得到
subject (主题可分辨名称)从证书的价值。
|
Modifier and Type | Method and Description |
---|---|
Principal |
WebServiceContext.getUserPrincipal()
返回当前正在服务的请求的发送者的主体。
|
Modifier and Type | Method and Description |
---|---|
abstract Principal |
HttpExchange.getUserPrincipal()
返回表示这
HttpExchange 认证用户的
Principal 。
|
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.