com.sun.security.auth (Java SE 10 & JDK 10 )
Keywords: com.sun.security.auth package

Module jdk.security.auth

# Package com.sun.security.auth

Provides implementations of `Principal`.

Since:
  1.4

- Interface Summary
  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 Summary
  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.
  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.