Uses of Interface
java.security.Principal
-
Packages that use Principal Package Description com.sun.net.httpserver Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.com.sun.security.auth Provides implementations ofPrincipal.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 deprecated.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. -
-
Uses of Principal in com.sun.net.httpserver
Classes in com.sun.net.httpserver that implement Principal Modifier and Type Class Description classHttpPrincipalRepresents 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 Principal Modifier and Type Class Description classLdapPrincipalA principal identified by a distinguished name as specified by RFC 2253.classNTDomainPrincipalThis class implements thePrincipalinterface and represents the name of the Windows NT domain into which the user authenticated.classNTSidThis class implements thePrincipalinterface and represents information about a Windows NT user, group or realm.classNTSidDomainPrincipalThis class extendsNTSidand represents a Windows NT user's domain SID.classNTSidGroupPrincipalThis class extendsNTSidand represents one of the groups to which a Windows NT user belongs.classNTSidPrimaryGroupPrincipalThis class extendsNTSidand represents a Windows NT user's primary group SID.classNTSidUserPrincipalThis class extendsNTSidand represents a Windows NT user's SID.classNTUserPrincipalThis class implements thePrincipalinterface and represents a Windows NT user.classUnixNumericGroupPrincipalThis class implements thePrincipalinterface and represents a user's Unix group identification number (GID).classUnixNumericUserPrincipalThis class implements thePrincipalinterface and represents a user's Unix identification number (UID).classUnixPrincipalThis class implements thePrincipalinterface and represents a Unix user.classUserPrincipalA user principal identified by a username or account name. -
Uses of Principal in java.net
Methods in java.net that return Principal Modifier and Type Method Description abstract 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.attribute Modifier and Type Interface Description interfaceGroupPrincipalAUserPrincipalrepresenting a group identity, used to determine access rights to objects in a file system.interfaceUserPrincipalAPrincipalrepresenting 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 Principal Modifier and Type Class Description classIdentityDeprecated, 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.classIdentityScopeDeprecated, 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.classSignerDeprecated, 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 Principal Modifier and Type Method Description PrincipalCertificate. 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.PrincipalCertificate. 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.Principal[]ProtectionDomain. getPrincipals()Returns an array of principals for this domain.Methods in java.security with parameters of type Principal Modifier and Type Method Description IdentityIdentityScope. getIdentity(Principal principal)Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the identity whose name is the same as that of the specified principal.Constructors in java.security with parameters of type Principal Constructor Description ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)Creates a new ProtectionDomain qualified by the given CodeSource, Permissions, ClassLoader and array of Principals. -
Uses of Principal in java.security.acl
Subinterfaces of Principal in java.security.acl Modifier and Type Interface Description interfaceGroupDeprecated, 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.acl that return Principal Modifier and Type Method Description PrincipalAclEntry. getPrincipal()Deprecated, for removal: This API element is subject to removal in a future version.Returns the principal for which permissions are granted or denied by this ACL entry.Methods in java.security.acl that return types with arguments of type Principal Modifier and Type Method Description Enumeration<? extends Principal>Group. members()Deprecated, for removal: This API element is subject to removal in a future version.Returns an enumeration of the members in the group.Methods in java.security.acl with parameters of type Principal Modifier and Type Method Description booleanAcl. addEntry(Principal caller, AclEntry entry)Deprecated, for removal: This API element is subject to removal in a future version.Adds an ACL entry to this ACL.booleanGroup. addMember(Principal user)Deprecated, for removal: This API element is subject to removal in a future version.Adds the specified member to the group.booleanOwner. addOwner(Principal caller, Principal owner)Deprecated, for removal: This API element is subject to removal in a future version.Adds an owner.booleanAcl. checkPermission(Principal principal, Permission permission)Deprecated, for removal: This API element is subject to removal in a future version.Checks whether or not the specified principal has the specified permission.booleanOwner. deleteOwner(Principal caller, Principal owner)Deprecated, for removal: This API element is subject to removal in a future version.Deletes an owner.Enumeration<Permission>Acl. getPermissions(Principal user)Deprecated, for removal: This API element is subject to removal in a future version.Returns an enumeration for the set of allowed permissions for the specified principal (representing an entity such as an individual or a group).booleanGroup. isMember(Principal member)Deprecated, for removal: This API element is subject to removal in a future version.Returns true if the passed principal is a member of the group.booleanOwner. isOwner(Principal owner)Deprecated, for removal: This API element is subject to removal in a future version.Returns true if the given principal is an owner of the ACL.booleanAcl. removeEntry(Principal caller, AclEntry entry)Deprecated, for removal: This API element is subject to removal in a future version.Removes an ACL entry from this ACL.booleanGroup. removeMember(Principal user)Deprecated, for removal: This API element is subject to removal in a future version.Removes the specified member from the group.voidAcl. setName(Principal caller, String name)Deprecated, for removal: This API element is subject to removal in a future version.Sets the name of this ACL.booleanAclEntry. setPrincipal(Principal user)Deprecated, for removal: This API element is subject to removal in a future version.Specifies the principal for which permissions are granted or denied by this ACL entry. -
Uses of Principal in java.security.cert
Methods in java.security.cert that return Principal Modifier and Type Method Description abstract PrincipalX509Certificate. getIssuerDN()Denigrated, replaced by X509Certificate.getIssuerX500Principal().abstract PrincipalX509CRL. getIssuerDN()Denigrated, replaced by X509CRL.getIssuerX500Principal().abstract PrincipalX509Certificate. getSubjectDN()Denigrated, replaced by X509Certificate.getSubjectX500Principal(). -
Uses of Principal in javax.management.remote
Classes in javax.management.remote that implement Principal Modifier and Type Class Description classJMXPrincipalThe identity of a remote client of the JMX Remote API. -
Uses of Principal in javax.net.ssl
Methods in javax.net.ssl that return Principal Modifier and Type Method Description PrincipalHandshakeCompletedEvent. getLocalPrincipal()Returns the principal that was sent to the peer during handshaking.PrincipalHttpsURLConnection. getLocalPrincipal()Returns the principal that was sent to the server during handshaking.PrincipalSSLSession. getLocalPrincipal()Returns the principal that was sent to the peer during handshaking.PrincipalHandshakeCompletedEvent. getPeerPrincipal()Returns the identity of the peer which was established as part of defining the session.PrincipalHttpsURLConnection. getPeerPrincipal()Returns the server's principal which was established as part of defining the session.PrincipalSSLSession. 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 Principal Modifier and Type Method Description StringX509KeyManager. 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).StringX509ExtendedKeyManager. 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).StringX509ExtendedKeyManager. 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).StringX509KeyManager. 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 Principal Modifier and Type Method Description <T extends Principal>
Set<T>Subject. 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 Principal Modifier and Type Method Description Set<Principal>Subject. getPrincipals()Return theSetof Principals associated with thisSubject.Constructor parameters in javax.security.auth with type arguments of type Principal Constructor Description Subject(boolean readOnly, Set<? extends Principal> principals, Set<?> pubCredentials, Set<?> privCredentials)Create an instance of aSubjectwith Principals and credentials. -
Uses of Principal in javax.security.auth.kerberos
Classes in javax.security.auth.kerberos that implement Principal Modifier and Type Class Description classKerberosPrincipalThis class encapsulates a Kerberos principal. -
Uses of Principal in javax.security.auth.x500
Classes in javax.security.auth.x500 that implement Principal Modifier and Type Class Description classX500PrincipalThis class represents an X.500Principal. -
Uses of Principal in javax.security.cert
Methods in javax.security.cert that return Principal Modifier and Type Method Description abstract PrincipalX509Certificate. getIssuerDN()Deprecated.Gets theissuer(issuer distinguished name) value from the certificate.abstract PrincipalX509Certificate. getSubjectDN()Deprecated.Gets thesubject(subject distinguished name) value from the certificate.
-