public class Credentials extends Object implements Serializable
| Constructor and Description |
|---|
Credentials() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Returns the password associated with this set of credentials.
|
HttpServletRequest |
getRequest()
Returns the HttpServletRequest associated with this set of credentials.
|
HttpSession |
getSession()
Returns the HttpSession associated with this set of credentials.
|
String |
getUsername()
Returns the username associated with this set of credentials.
|
void |
setPassword(String password)
Sets the password associated with this set of credentials.
|
void |
setRequest(HttpServletRequest request)
Sets the HttpServletRequest associated with this set of credentials.
|
void |
setSession(HttpSession session)
Sets the HttpSession associated with this set of credentials.
|
void |
setUsername(String username)
Sets the username associated with this set of credentials.
|
public String getPassword()
public void setPassword(String password)
password - The password to associate with this username/password
pair.public String getUsername()
public void setUsername(String username)
username - The username to associate with this username/password
pair.public HttpServletRequest getRequest()
public void setRequest(HttpServletRequest request)
request - The HttpServletRequest to associated with this set of
credentials.public HttpSession getSession()
public void setSession(HttpSession session)
session - The HttpSession to associated with this set of
credentials.Copyright © 2015. All rights reserved.