@Exported
| Interface | Description | 
|---|---|
| PrincipalComparator | 
 An object that implements the  
java.security.Principal
 interface typically also implements this interface to provide
 a means for comparing that object to a specified Subject. | 
| Class | Description | 
|---|---|
| LdapPrincipal | 
 A principal identified by a distinguished name as specified by
 RFC 2253. 
 | 
| NTDomainPrincipal | 
  This class implements the  
Principal interface
 and represents the name of the Windows NT domain into which the
 user authenticated. | 
| NTNumericCredential | 
  This class abstracts an NT security token
 and provides a mechanism to do same-process security impersonation. 
 | 
| NTSid | 
  This class implements the  
Principal interface
 and represents information about a Windows NT user, group or realm. | 
| NTSidDomainPrincipal | 
  This class extends  
NTSid
 and represents a Windows NT user's domain SID. | 
| NTSidGroupPrincipal | 
  This class extends  
NTSid
 and represents one of the groups to which a Windows NT user belongs. | 
| NTSidPrimaryGroupPrincipal | 
  This class extends  
NTSid
 and represents a Windows NT user's primary group SID. | 
| NTSidUserPrincipal | 
  This class extends  
NTSid
 and represents a Windows NT user's SID. | 
| NTUserPrincipal | 
  This class implements the  
Principal interface
 and represents a Windows NT user. | 
| PolicyFile | Deprecated
 As of JDK 1.4, replaced by
              
sun.security.provider.PolicyFile. | 
| SolarisNumericGroupPrincipal | Deprecated
 As of JDK 1.4, replaced by
              
UnixNumericGroupPrincipal. | 
| SolarisNumericUserPrincipal | Deprecated
 As of JDK 1.4, replaced by
              
UnixNumericUserPrincipal. | 
| SolarisPrincipal | Deprecated
 As of JDK 1.4, replaced by
              
UnixPrincipal. | 
| UnixNumericGroupPrincipal | 
  This class implements the  
Principal interface
 and represents a user's Unix group identification number (GID). | 
| UnixNumericUserPrincipal | 
  This class implements the  
Principal interface
 and represents a user's Unix identification number (UID). | 
| UnixPrincipal | 
  This class implements the  
Principal interface
 and represents a Unix user. | 
| UserPrincipal | 
 A user principal identified by a username or account name. 
 | 
| X500Principal | Deprecated
 A new X500Principal class is available in the Java platform. 
 | 
 Copyright © 1998, 2019, Oracle and/or its affiliates.  All rights reserved.