Uses of Interface
java.security.Principal
Package
Description
Provides the classes for implementing networking applications.
Interfaces and classes providing access to file and file system attributes.
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
Interfaces for remote access to
JMX MBean servers.
Provides classes for the secure socket package.
This package provides a framework for authentication and
authorization.
This package contains utility classes related to the Kerberos network
authentication protocol.
This package contains the classes that should be used to store
X500 Principal and X500 Private Credentials in a
Subject.
Provides classes for public key certificates.
-
Uses of Principal in java.net
Modifier and TypeMethodDescriptionabstract 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. -
Uses of Principal in java.nio.file.attribute
Modifier and TypeInterfaceDescriptioninterface
AUserPrincipal
representing a group identity, used to determine access rights to objects in a file system.interface
APrincipal
representing an identity used to determine access rights to objects in a file system. -
Uses of Principal in java.security
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.class
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.class
Deprecated, for removal: This API element is subject to removal in a future version.This class is deprecated and subject to removal in a future version of Java SE.Modifier and TypeMethodDescriptionCertificate.getGuarantor()
Deprecated, for removal: This API element is subject to removal in a future version.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.Certificate.getPrincipal()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the principal of the principal-key pair being guaranteed by the guarantor.final Principal[]
ProtectionDomain.getPrincipals()
Returns an array of principals for this domain.Modifier and TypeMethodDescriptionIdentityScope.getIdentity
(Principal principal) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves theIdentity
whose name is the same as that of the specified principal.ModifierConstructorDescriptionProtectionDomain
(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals) Creates a newProtectionDomain
qualified by the givenCodeSource
, permissions,ClassLoader
and array of principals. -
Uses of Principal in java.security.cert
Modifier and TypeMethodDescriptionabstract Principal
X509Certificate.getIssuerDN()
Deprecated.UseX509Certificate.getIssuerX500Principal()
instead.abstract Principal
X509CRL.getIssuerDN()
Deprecated.UseX509CRL.getIssuerX500Principal()
instead.abstract Principal
X509Certificate.getSubjectDN()
Deprecated.UseX509Certificate.getSubjectX500Principal()
instead. -
Uses of Principal in javax.management.remote
Modifier and TypeClassDescriptionclass
The identity of a remote client of the JMX Remote API. -
Uses of Principal in javax.net.ssl
Modifier and TypeMethodDescriptionHandshakeCompletedEvent.getLocalPrincipal()
Returns the principal that was sent to the peer during handshaking.HttpsURLConnection.getLocalPrincipal()
Returns the principal that was sent to the server during handshaking.SSLSession.getLocalPrincipal()
Returns the principal that was sent to the peer during handshaking.HandshakeCompletedEvent.getPeerPrincipal()
Returns the identity of the peer which was established as part of defining the session.HttpsURLConnection.getPeerPrincipal()
Returns the server's principal which was established as part of defining the session.SSLSession.getPeerPrincipal()
Returns the identity of the peer which was established as part of defining the session.Modifier and TypeMethodDescriptionX509KeyManager.chooseClientAlias
(String[] keyType, Principal[] issuers, Socket socket) 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).X509ExtendedKeyManager.chooseEngineClientAlias
(String[] keyType, Principal[] issuers, SSLEngine engine) Choose an alias to authenticate the client side of anSSLEngine
connection given the public key type and the list of certificate issuer authorities recognized by the peer (if any).X509ExtendedKeyManager.chooseEngineServerAlias
(String keyType, Principal[] issuers, SSLEngine engine) Choose an alias to authenticate the server side of anSSLEngine
connection given the public key type and the list of certificate issuer authorities recognized by the peer (if any).X509KeyManager.chooseServerAlias
(String keyType, Principal[] issuers, Socket socket) 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 keyType, Principal[] issuers) 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 keyType, Principal[] issuers) 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). -
Uses of Principal in javax.security.auth
Modifier and TypeMethodDescriptionSubject.getPrincipals
(Class<T> c) Return aSet
of Principals associated with thisSubject
that are instances or subclasses of the specifiedClass
.Modifier and TypeMethodDescriptionSubject.getPrincipals()
Return theSet
of Principals associated with thisSubject
. -
Uses of Principal in javax.security.auth.kerberos
Modifier and TypeClassDescriptionfinal class
This class encapsulates a Kerberos principal. -
Uses of Principal in javax.security.auth.x500
Modifier and TypeClassDescriptionfinal class
This class represents an X.500Principal
. -
Uses of Principal in javax.security.cert
Modifier and TypeMethodDescriptionabstract Principal
X509Certificate.getIssuerDN()
Deprecated, for removal: This API element is subject to removal in a future version.Gets theissuer
(issuer distinguished name) value from the certificate.abstract Principal
X509Certificate.getSubjectDN()
Deprecated, for removal: This API element is subject to removal in a future version.Gets thesubject
(subject distinguished name) value from the certificate.