# Package org.springframework.security.authentication.jaas

package org.springframework.security.authentication.jaas
An authentication provider for JAAS.

Related Packages
Package
Description
org.springframework.security.authentication
Core classes and interfaces related to user authentication, which are used throughout Spring Security.
org.springframework.security.authentication.jaas.event
JAAS authentication events which can be published to the Spring application context by the JAAS authentication provider.
org.springframework.security.authentication.jaas.memory
An in memory JAAS implementation.
org.springframework.security.authentication.dao
An `AuthenticationProvider` which relies upon a data access object.
org.springframework.security.authentication.event
Authentication success and failure events which can be published to the Spring application context.
org.springframework.security.authentication.ott
org.springframework.security.authentication.password
Class
Description
AbstractJaasAuthenticationProvider
An `AuthenticationProvider` implementation that retrieves user details from a JAAS login configuration.
AuthorityGranter
The AuthorityGranter interface is used to map a given principal to role names.
DefaultJaasAuthenticationProvider
Creates a LoginContext using the Configuration provided to it.
DefaultLoginExceptionResolver
This LoginExceptionResolver simply wraps the LoginException with an AuthenticationServiceException.
JaasAuthenticationCallbackHandler
The JaasAuthenticationCallbackHandler is similar to the javax.security.auth.callback.CallbackHandler interface in that it defines a handle method.
JaasAuthenticationProvider
An `AuthenticationProvider` implementation that retrieves user details from a JAAS login configuration.
JaasAuthenticationToken
UsernamePasswordAuthenticationToken extension to carry the Jaas LoginContext that the user was logged into
JaasGrantedAuthority
`GrantedAuthority` which, in addition to the assigned role, holds the principal that an `AuthorityGranter` used as a reason to grant this authority.
JaasNameCallbackHandler
The most basic Callbacks to be handled when using a LoginContext from JAAS, are the NameCallback and PasswordCallback.
JaasPasswordCallbackHandler
The most basic Callbacks to be handled when using a LoginContext from JAAS, are the NameCallback and PasswordCallback.
LoginExceptionResolver
The JaasAuthenticationProvider takes an instance of LoginExceptionResolver to resolve LoginModule specific exceptions to Spring Security `AuthenticationException`s.
SecurityContextLoginModule
An implementation of `LoginModule` that uses a Spring Security `SecurityContext` to provide authentication.