public class UnifyingUserDataProvider extends Object implements UserDataProvider
The unifyingUserDataProvider can be used to merge two or more other user data providers into one.
The unifyingUserDataProvider will forward a login attempt (username and password) to each inner user data provider in the order they are specified. After one of the inner user data providers returned a successful login (and returned the user's attributes), the procedure terminates. If no inner user data provider could verify the user, the login attempt fails.
| Constructor and Description |
|---|
UnifyingUserDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
List<UserDataProvider> |
getUserDataProviders() |
void |
init(Router router) |
void |
setUserDataProviders(List<UserDataProvider> userDataProviders) |
Map<String,String> |
verify(Map<String,String> postData) |
public Map<String,String> verify(Map<String,String> postData)
verify in interface UserDataProviderpublic List<UserDataProvider> getUserDataProviders()
public void setUserDataProviders(List<UserDataProvider> userDataProviders)
public void init(Router router)
init in interface UserDataProviderCopyright © 2022. All Rights Reserved.