| Package | Description |
|---|---|
| java.net |
Provides the classes for implementing networking applications.
|
| java.nio.file.attribute |
Interfaces and classes providing access to file and file system attributes.
|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.security.acl |
The classes and interfaces in this package have been superseded by classes in the java.security package.
|
| java.security.cert |
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
|
| javax.management.remote |
Interfaces for remote access to JMX MBean servers.
|
| javax.net.ssl |
Provides classes for the secure socket package.
|
| javax.security.auth |
This package provides a framework for authentication and authorization.
|
| javax.security.auth.kerberos |
This package contains utility classes related to the Kerberos network authentication protocol.
|
| javax.security.auth.x500 |
This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in a
Subject.
|
| javax.security.cert |
Provides classes for public key certificates.
|
| javax.xml.ws |
This package contains the core JAX-WS APIs.
|
| javax.xml.ws.spi.http |
Provides HTTP SPI that is used for portable deployment of JAX-WS web services in containers(for e.g.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Principal |
SecureCacheResponse.getLocalPrincipal()
Returns the principal that was sent to the server during handshaking in the original connection that retrieved the network resource.
|
abstract Principal |
SecureCacheResponse.getPeerPrincipal()
Returns the server's principal which was established as part of defining the session during the original connection that retrieved the network resource.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GroupPrincipal
A
UserPrincipal representing a
group identity, used to determine access rights to objects in a file system.
|
interface |
UserPrincipal
A
Principal representing an identity used to determine access rights to objects in a file system.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Identity
Deprecated.
This class is no longer used. Its functionality has been replaced by
java.security.KeyStore, the java.security.cert package, and java.security.Principal.
|
class |
IdentityScope
Deprecated.
This class is no longer used. Its functionality has been replaced by
java.security.KeyStore, the java.security.cert package, and java.security.Principal.
|
class |
Signer
Deprecated.
This class is no longer used. Its functionality has been replaced by
java.security.KeyStore, the java.security.cert package, and java.security.Principal.
|
| Modifier and Type | Method and Description |
|---|---|
Principal |
Certificate.getGuarantor()
Deprecated.
Returns the guarantor of the certificate, that is, the principal guaranteeing that the public key associated with this certificate is that of the principal associated with this certificate.
|
Principal |
Certificate.getPrincipal()
Deprecated.
Returns the principal of the principal-key pair being guaranteed by the guarantor.
|
Principal |
ProtectionDomain.getPrincipals()
Returns an array of principals for this domain.
|
| Modifier and Type | Method and Description |
|---|---|
Identity |
IdentityScope.getIdentity(Principal
Deprecated.
Retrieves the identity whose name is the same as that of the specified principal.
|
| Constructor and Description | |
|---|---|
ProtectionDomain(CodeSource
Creates a new ProtectionDomain qualified by the given CodeSource, Permissions, ClassLoader and array of Principals.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Group
This interface is used to represent a group of principals.
|
| Modifier and Type | Method and Description |
|---|---|
Principal |
AclEntry.getPrincipal()
Returns the principal for which permissions are granted or denied by this ACL entry.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration |
Group.members()
Returns an enumeration of the members in the group.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Acl.addEntry(Principal
Adds an ACL entry to this ACL.
|
boolean |
Group.addMember(Principal
Adds the specified member to the group.
|
boolean |
Owner.addOwner(Principal
Adds an owner.
|
boolean |
Acl.checkPermission(Principal
Checks whether or not the specified principal has the specified permission.
|
boolean |
Owner.deleteOwner(Principal
Deletes an owner.
|
Enumeration |
Acl.getPermissions(Principal
Returns an enumeration for the set of allowed permissions for the specified principal (representing an entity such as an individual or a group).
|
boolean |
Group.isMember(Principal
Returns true if the passed principal is a member of the group.
|
boolean |
Owner.isOwner(Principal
Returns true if the given principal is an owner of the ACL.
|
boolean |
Acl.removeEntry(Principal
Removes an ACL entry from this ACL.
|
boolean |
Group.removeMember(Principal
Removes the specified member from the group.
|
void |
Acl.setName(Principal
Sets the name of this ACL.
|
boolean |
AclEntry.setPrincipal(Principal
Specifies the principal for which permissions are granted or denied by this ACL entry.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Principal |
X509CRL.getIssuerDN()
Denigrated, replaced by
X509CRL |
abstract Principal |
X509Certificate.getIssuerDN()
Denigrated, replaced by
X509Certificate |
abstract Principal |
X509Certificate.getSubjectDN()
Denigrated, replaced by
X509Certificate |
| Modifier and Type | Class and Description |
|---|---|
class |
JMXPrincipal
The identity of a remote client of the JMX Remote API.
|
| Modifier and Type | Method and Description |
|---|---|
Principal |
HandshakeCompletedEvent.getLocalPrincipal()
Returns the principal that was sent to the peer during handshaking.
|
Principal |
HttpsURLConnection.getLocalPrincipal()
Returns the principal that was sent to the server during handshaking.
|
Principal |
SSLSession.getLocalPrincipal()
Returns the principal that was sent to the peer during handshaking.
|
Principal |
HandshakeCompletedEvent.getPeerPrincipal()
Returns the identity of the peer which was established as part of defining the session.
|
Principal |
HttpsURLConnection.getPeerPrincipal()
Returns the server's principal which was established as part of defining the session.
|
Principal |
SSLSession.getPeerPrincipal()
Returns the identity of the peer which was established as part of defining the session.
|
| Modifier and Type | Method and Description |
|---|---|
String |
X509KeyManager.chooseClientAlias(String
Choose an alias to authenticate the client side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any).
|
String |
X509ExtendedKeyManager.chooseEngineClientAlias(String
Choose an alias to authenticate the client side of an
SSLEngine connection given the public key type and the list of certificate issuer authorities recognized by the peer (if any).
|
String |
X509ExtendedKeyManager.chooseEngineServerAlias(String
Choose an alias to authenticate the server side of an
SSLEngine connection given the public key type and the list of certificate issuer authorities recognized by the peer (if any).
|
String |
X509KeyManager.chooseServerAlias(String
Choose an alias to authenticate the server side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any).
|
String |
X509KeyManager.getClientAliases(String
Get the matching aliases for authenticating the client side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any).
|
String |
X509KeyManager.getServerAliases(String
Get the matching aliases for authenticating the server side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any).
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Principal |
Subject.getPrincipals(Class
Return a
Set of Principals associated with this
Subject that are instances or subclasses of the specified
Class.
|
| Modifier and Type | Method and Description |
|---|---|
Set |
Subject.getPrincipals()
Return the
Set of Principals associated with this
Subject.
|
| Constructor and Description | |
|---|---|
Subject(boolean readOnly, Set
Create an instance of a
Subject with Principals and credentials.
|
| Modifier and Type | Class and Description |
|---|---|
class |
KerberosPrincipal
This class encapsulates a Kerberos principal.
|
| Modifier and Type | Class and Description |
|---|---|
class |
X500Principal
This class represents an X.500
Principal.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Principal |
X509Certificate.getIssuerDN()
Gets the
issuer (issuer distinguished name) value from the certificate.
|
abstract Principal |
X509Certificate.getSubjectDN()
Gets the
subject (subject distinguished name) value from the certificate.
|
| Modifier and Type | Method and Description |
|---|---|
Principal |
WebServiceContext.getUserPrincipal()
Returns the Principal that identifies the sender of the request currently being serviced.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Principal |
HttpExchange.getUserPrincipal()
Returns the
Principal that represents the authenticated user for this
HttpExchange.
|