com.sun.security.auth.module (Java SE 23 & JDK 23)
Description: declaration: module: jdk.security.auth, package: com.sun.security.auth.module
Keywords: com.sun.security.auth.module package

# Package com.sun.security.auth.module

package com.sun.security.auth.module
Provides implementations of `LoginModule`.

Since:
  1.4

- Related Packages
  Package
  Description
  com.sun.security.auth
  Provides implementations of `Principal`.
  com.sun.security.auth.callback
  Provides an implementation of `CallbackHandler`.
  com.sun.security.auth.login
  Provides an implementation of `Configuration`.
- Classes
  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 `LoginModule` authenticates users using Kerberos protocols.
  LdapLoginModule
  This `LoginModule` performs LDAP-based authentication.
  NTLoginModule
  This `LoginModule` renders a user's NT security information as some number of `Principal`s and associates them with a `Subject`.
  NTSystem
  This class implementation retrieves and makes available NT security information for the current user.
  UnixLoginModule
  This `LoginModule` imports a user's Unix `Principal` information (`UnixPrincipal`, `UnixNumericUserPrincipal`, and `UnixNumericGroupPrincipal`) and associates them with the current `Subject`.
  UnixSystem
  This class implementation retrieves and makes available Unix UID/GID/groups information for the current user.