|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.guacamole.net.auth.Credentials
public class Credentials
Simple arbitrary set of credentials, including a username/password pair, the HttpServletRequest associated with the request for authorization (if any) and the HttpSession associated with that request. This class is used along with AuthenticationProvider to provide arbitrary HTTP-based authentication for Guacamole.
| Constructor Summary | |
|---|---|
Credentials()
|
|
| Method Summary | |
|---|---|
String |
getPassword()
Returns the password associated with this set of credentials. |
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the HttpServletRequest associated with this set of credentials. |
javax.servlet.http.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(javax.servlet.http.HttpServletRequest request)
Sets the HttpServletRequest associated with this set of credentials. |
void |
setSession(javax.servlet.http.HttpSession session)
Sets the HttpSession associated with this set of credentials. |
void |
setUsername(String username)
Sets the username associated with this set of credentials. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Credentials()
| Method Detail |
|---|
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 javax.servlet.http.HttpServletRequest getRequest()
public void setRequest(javax.servlet.http.HttpServletRequest request)
request - The HttpServletRequest to associated with this set of
credentials.public javax.servlet.http.HttpSession getSession()
public void setSession(javax.servlet.http.HttpSession session)
session - The HttpSession to associated with this set of
credentials.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||