|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jena.atlas.web.auth.FormLogin
public class FormLogin
Represents form login credentials
| Constructor Summary | |
|---|---|
FormLogin(String loginFormURL,
String loginUserField,
String loginPasswordField,
String username,
char[] password)
Creates new form login credentials |
|
| Method Summary | |
|---|---|
void |
clearCookies()
Clears cookies associated with login, may be useful if you need to force a fresh login attempt for any reason. |
org.apache.http.client.CookieStore |
getCookies()
Gets cookies associated with this login |
org.apache.http.HttpEntity |
getLoginEntity()
Gets the HTTP Entity for the Login request |
String |
getLoginFormURL()
Gets the login form URL |
boolean |
hasCookies()
Gets whether any cookies are associated with this login |
void |
setCookies(org.apache.http.client.CookieStore cookies)
Sets cookies associated with this login |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormLogin(String loginFormURL,
String loginUserField,
String loginPasswordField,
String username,
char[] password)
loginFormURL - Login Form URLloginUserField - Login Form User field nameloginPasswordField - Login Form Password field nameusername - User namepassword - Password| Method Detail |
|---|
public String getLoginFormURL()
public org.apache.http.HttpEntity getLoginEntity()
throws UnsupportedEncodingException
UnsupportedEncodingException - Thrown if the platform does not support UTF-8public boolean hasCookies()
public org.apache.http.client.CookieStore getCookies()
public void setCookies(org.apache.http.client.CookieStore cookies)
cookies - public void clearCookies()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||