public class UsernamePasswordContext extends BaseContext
AuthenticationContextBaseContext.ContextSetNoRemoveIteratorDecorator| Modifier and Type | Field and Description |
|---|---|
private String |
password
The password associated with the username.
|
private String |
username
The username.
|
| Constructor and Description |
|---|
UsernamePasswordContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Gets the password associated with the username.
|
String |
getUsername()
Gets the username.
|
UsernamePasswordContext |
setPassword(String pass)
Sets the password associated with the username.
|
UsernamePasswordContext |
setUsername(String name)
Sets the username.
|
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParentprivate String username
private String password
@Nonnull public UsernamePasswordContext setUsername(@Nullable String name)
name - the username@Nullable public String getPassword()
@Nonnull public UsernamePasswordContext setPassword(@Nullable String pass)
pass - password associated with the usernameCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.