Class ProviderManager

java.lang.Object
com.codename1.backend.security.ProviderManager
All Implemented Interfaces:
AuthenticationManager

public class ProviderManager extends Object implements AuthenticationManager
An AuthenticationManager that asks a list of AuthenticationProviders in order and takes the first answer. A refusal that says the account itself is unusable -- locked, disabled, expired -- ends the search; any other is remembered while the remaining providers are tried, and thrown when none accepts.