Package org.apache.shiro.authc.pam
package org.apache.shiro.authc.pam
Support for PAM, or Pluggable Authentication Modules, which is
the capability to authenticate a user against multiple configurable (pluggable) modules (Shiro
calls these
Realms).
The primary class of interest here is the
ModularRealmAuthenticator
* which is an Authenticator implementation that coordinates authentication attempts across
one or more Realm instances.
How the ModularRealmAuthenticator actually coordinates this behavior is configurable based on your
application's needs using an injectable
AuthenticationStrategy.-
ClassDescriptionAbstract base implementation for Shiro's concrete
AuthenticationStrategyimplementations.AuthenticationStrategy implementation that requires all configured realms to successfully process the submitted AuthenticationToken during the log-in attempt.AuthenticationStrategy implementation that requires at least one configured realm to successfully process the submitted AuthenticationToken during the log-in attempt.AAuthenticationStrategyimplementation assists theModularRealmAuthenticatorduring the log-in process in a pluggable realm (PAM) environment.AuthenticationStrategyimplementation that only accepts the account data from the first successfully consulted Realm and ignores all subsequent realms.AModularRealmAuthenticatordelegates account lookups to a pluggable (modular) collection ofRealms.Exception thrown during the authentication process usingFirstSuccessfulStrategy, withstopAfterFirstSuccessset.Exception thrown during the authentication process when anAuthenticationTokenimplementation is encountered that is not supported by one or more configuredRealms.