| Interface | Description | 
|---|---|
| PrincipalComparator | An object that implements the  java.security.Principalinterface typically also implements this interface to provide
 a means for comparing that object to a specifiedSubject. | 
| Class | Description | 
|---|---|
| LdapPrincipal | A principal identified by a distinguished name as specified by
 RFC 2253. | 
| NTDomainPrincipal |  This class implements the  Principalinterface
 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  Principalinterface
 and represents information about a Windows NT user, group or realm. | 
| NTSidDomainPrincipal |  This class extends  NTSidand represents a Windows NT user's domain SID. | 
| NTSidGroupPrincipal |  This class extends  NTSidand represents one of the groups to which a Windows NT user belongs. | 
| NTSidPrimaryGroupPrincipal |  This class extends  NTSidand represents a Windows NT user's primary group SID. | 
| NTSidUserPrincipal |  This class extends  NTSidand represents a Windows NT user's SID. | 
| NTUserPrincipal |  This class implements the  Principalinterface
 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  Principalinterface
 and represents a user's Unix group identification number (GID). | 
| UnixNumericUserPrincipal |  This class implements the  Principalinterface
 and represents a user's Unix identification number (UID). | 
| UnixPrincipal |  This class implements the  Principalinterface
 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. | 
| Class | Description | 
|---|---|
| TextCallbackHandler | 
 Prompts and reads from the command line for answers to authentication
 questions. | 
| Class | Description | 
|---|---|
| ConfigFile | This class represents a default implementation for
  javax.security.auth.login.Configuration. | 
| Class | Description | 
|---|---|
| JndiLoginModule |  The module prompts for a username and password
 and then verifies the password against the password stored in
 a directory service configured under JNDI. | 
| KeyStoreLoginModule | Provides a JAAS login module that prompts for a key store alias and
 populates the subject with the alias's principal and credentials. | 
| Krb5LoginModule |  This  LoginModuleauthenticates users using
 Kerberos protocols. | 
| LdapLoginModule | This  LoginModuleperforms LDAP-based authentication. | 
| NTLoginModule |  This  LoginModulerenders a user's NT security information as some number ofPrincipals
 and associates them with aSubject. | 
| NTSystem |  This class implementation retrieves and makes available NT
 security information for the current user. | 
| SolarisLoginModule | Deprecated As of JDK1.4, replaced by
  com.sun.security.auth.module.UnixLoginModule. | 
| SolarisSystem |  This class implementation retrieves and makes available Solaris
 UID/GID/groups information for the current user. | 
| UnixLoginModule |  This  LoginModuleimports a user's UnixPrincipalinformation (UnixPrincipal,UnixNumericUserPrincipal,
 andUnixNumericGroupPrincipal)
 and associates them with the currentSubject. | 
| UnixSystem |  This class implementation retrieves and makes available Unix
 UID/GID/groups information for the current user. | 
 Copyright © 1998, 2025, Oracle and/or its affiliates.  All rights reserved.