public class SpincastHttpAuthIdentityManagerDefault extends Object implements SpincastHttpAuthIdentityManager
| Constructor and Description |
|---|
SpincastHttpAuthIdentityManagerDefault()
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 SpincastHttpAuthIdentityManagerDefault()
protected Map<io.undertow.security.idm.PasswordCredential,io.undertow.security.idm.Account> getAccounts()
public void addUser(String username, String password)
SpincastHttpAuthIdentityManageraddUser in interface SpincastHttpAuthIdentityManagerprotected io.undertow.security.idm.Account createAccount(String username)
public void removeUser(String username)
SpincastHttpAuthIdentityManagerremoveUser in interface SpincastHttpAuthIdentityManagerpublic void removeAllUsers()
SpincastHttpAuthIdentityManagerremoveAllUsers in interface SpincastHttpAuthIdentityManagerpublic 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 © 2018. All rights reserved.