# Uses of Interface
javax.security.auth.spi.LoginModule

Packages that use LoginModule
Package
Description
com.sun.security.auth.module
Provides implementations of `LoginModule`.

- ## Uses of LoginModule in com.sun.security.auth.module

  Classes in com.sun.security.auth.module that implement LoginModule
  Modifier and Type
  Class
  Description
  `class`
  `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.
  `class`
  `KeyStoreLoginModule`
  Provides a JAAS login module that prompts for a key store alias and populates the subject with the alias's principal and credentials.
  `class`
  `Krb5LoginModule`
  This `LoginModule` authenticates users using Kerberos protocols.
  `class`
  `LdapLoginModule`
  This `LoginModule` performs LDAP-based authentication.
  `class`
  `NTLoginModule`
  This `LoginModule` renders a user's NT security information as some number of `Principal`s and associates them with a `Subject`.
  `class`
  `UnixLoginModule`
  This `LoginModule` imports a user's Unix `Principal` information (`UnixPrincipal`, `UnixNumericUserPrincipal`, and `UnixNumericGroupPrincipal`) and associates them with the current `Subject`.