public class SpincastHttpAuthIdentityManager extends Object implements ISpincastHttpAuthIdentityManager
| Constructor and Description |
|---|
SpincastHttpAuthIdentityManager()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(String username,
String password)
Adds a user to this identity manager.
|
protected io.undertow.security.idm.Account |
createAccount(String username) |
protected Map<io.undertow.security.idm.PasswordCredential,io.undertow.security.idm.Account> |
getAccounts() |
protected Map<String,io.undertow.security.idm.PasswordCredential> |
getCredentials() |
void |
removeAllUsers()
Removes all users from this identity manager.
|
void |
removeUser(String username)
Removes a user from this identity manager.
|
io.undertow.security.idm.Account |
verify(io.undertow.security.idm.Account account) |
io.undertow.security.idm.Account |
verify(io.undertow.security.idm.Credential credential) |
io.undertow.security.idm.Account |
verify(String username,
io.undertow.security.idm.Credential credential) |
public SpincastHttpAuthIdentityManager()
protected Map<io.undertow.security.idm.PasswordCredential,io.undertow.security.idm.Account> getAccounts()
public void addUser(String username, String password)
ISpincastHttpAuthIdentityManageraddUser in interface ISpincastHttpAuthIdentityManagerprotected io.undertow.security.idm.Account createAccount(String username)
public void removeUser(String username)
ISpincastHttpAuthIdentityManagerremoveUser in interface ISpincastHttpAuthIdentityManagerpublic void removeAllUsers()
ISpincastHttpAuthIdentityManagerremoveAllUsers in interface ISpincastHttpAuthIdentityManagerpublic io.undertow.security.idm.Account verify(io.undertow.security.idm.Account account)
verify in interface io.undertow.security.idm.IdentityManagerpublic io.undertow.security.idm.Account verify(io.undertow.security.idm.Credential credential)
verify in interface io.undertow.security.idm.IdentityManagerpublic io.undertow.security.idm.Account verify(String username, io.undertow.security.idm.Credential credential)
verify in interface io.undertow.security.idm.IdentityManagerCopyright © 2016. All rights reserved.