Uses of Interface
java.security.Principal
Packages that use 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
Classes in com.sun.net.httpserver that implement PrincipalModifier and TypeClassDescriptionclassRepresents a user authenticated by HTTP Basic or Digest authentication. -
Uses of Principal in com.sun.security.auth
Classes in com.sun.security.auth that implement PrincipalModifier and TypeClassDescriptionfinal classA principal identified by a distinguished name as specified by RFC 2253.classThis class implements thePrincipalinterface and represents the name of the Windows NT domain into which the user authenticated.classThis class implements thePrincipalinterface and represents information about a Windows NT user, group or realm.classThis class extendsNTSidand represents a Windows NT user's domain SID.classThis class extendsNTSidand represents one of the groups to which a Windows NT user belongs.classThis class extendsNTSidand represents a Windows NT user's primary group SID.classThis class extendsNTSidand represents a Windows NT user's SID.classThis class implements thePrincipalinterface and represents a Windows NT user.classThis class implements thePrincipalinterface and represents a user's Unix group identification number (GID).classThis class implements thePrincipalinterface and represents a user's Unix identification number (UID).classThis class implements thePrincipalinterface and represents a Unix user.final classA user principal identified by a username or account name. -
Uses of Principal in java.net
Modifier and TypeMethodDescriptionabstract PrincipalSecureCacheResponse.getLocalPrincipal()Returns the principal that was sent to the server during handshaking in the original connection that retrieved the network resource.abstract PrincipalSecureCacheResponse.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
Subinterfaces of Principal in java.nio.file.attributeModifier and TypeInterfaceDescriptioninterfaceAUserPrincipalrepresenting a group identity, used to determine access rights to objects in a file system.interfaceAPrincipalrepresenting an identity used to determine access rights to objects in a file system. -
Uses of Principal in java.security
Classes in java.security that implement PrincipalModifier and TypeClassDescriptionclassDeprecated, 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.classDeprecated, 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.classDeprecated, 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.Methods in java.security that return PrincipalModifier 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.Methods in java.security with parameters of type PrincipalModifier and TypeMethodDescriptionIdentityScope.getIdentity(Principal principal) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves theIdentitywhose name is the same as that of the specified principal.Constructors in java.security with parameters of type PrincipalModifierConstructorDescriptionProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals) Creates a newProtectionDomainqualified by the givenCodeSource, permissions,ClassLoaderand array of principals. -
Uses of Principal in java.security.cert
Methods in java.security.cert that return PrincipalModifier and TypeMethodDescriptionabstract PrincipalX509Certificate.getIssuerDN()Deprecated.UseX509Certificate.getIssuerX500Principal()instead.abstract PrincipalX509CRL.getIssuerDN()Deprecated.UseX509CRL.getIssuerX500Principal()instead.abstract PrincipalX509Certificate.getSubjectDN()Deprecated.UseX509Certificate.getSubjectX500Principal()instead. -
Uses of Principal in javax.management.remote
Classes in javax.management.remote that implement PrincipalModifier and TypeClassDescriptionclassThe identity of a remote client of the JMX Remote API. -
Uses of Principal in javax.net.ssl
Methods in javax.net.ssl that return PrincipalModifier 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.Methods in javax.net.ssl with parameters of type PrincipalModifier 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 anSSLEngineconnection 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 anSSLEngineconnection 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
Methods in javax.security.auth with type parameters of type PrincipalModifier and TypeMethodDescriptionSubject.getPrincipals(Class<T> c) Return aSetof Principals associated with thisSubjectthat are instances or subclasses of the specifiedClass.Methods in javax.security.auth that return types with arguments of type PrincipalModifier and TypeMethodDescriptionSubject.getPrincipals()Return theSetof Principals associated with thisSubject.Constructor parameters in javax.security.auth with type arguments of type Principal -
Uses of Principal in javax.security.auth.kerberos
Classes in javax.security.auth.kerberos that implement PrincipalModifier and TypeClassDescriptionfinal classThis class encapsulates a Kerberos principal. -
Uses of Principal in javax.security.auth.x500
Classes in javax.security.auth.x500 that implement PrincipalModifier and TypeClassDescriptionfinal classThis class represents an X.500Principal. -
Uses of Principal in javax.security.cert
Methods in javax.security.cert that return PrincipalModifier and TypeMethodDescriptionabstract PrincipalX509Certificate.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 PrincipalX509Certificate.getSubjectDN()Deprecated, for removal: This API element is subject to removal in a future version.Gets thesubject(subject distinguished name) value from the certificate.