Uses of Interface
java.security.Principal
Package
Description
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
Provides implementations of
Principal
.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 com.sun.net.httpserver
Modifier and TypeClassDescriptionclass
Represents a user authenticated by HTTP Basic or Digest authentication. -
Uses of Principal in com.sun.security.auth
Modifier and TypeClassDescriptionfinal class
A principal identified by a distinguished name as specified by RFC 2253.class
This class implements thePrincipal
interface and represents the name of the Windows NT domain into which the user authenticated.class
This class implements thePrincipal
interface and represents information about a Windows NT user, group or realm.class
This class extendsNTSid
and represents a Windows NT user's domain SID.class
This class extendsNTSid
and represents one of the groups to which a Windows NT user belongs.class
This class extendsNTSid
and represents a Windows NT user's primary group SID.class
This class extendsNTSid
and represents a Windows NT user's SID.class
This class implements thePrincipal
interface and represents a Windows NT user.class
This class implements thePrincipal
interface and represents a user's Unix group identification number (GID).class
This class implements thePrincipal
interface and represents a user's Unix identification number (UID).class
This class implements thePrincipal
interface and represents a Unix user.final class
A user principal identified by a username or account name. -
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.