public class AuthenticatorConfiguration extends Object implements org.apache.http.auth.Credentials
Constructor and Description |
---|
AuthenticatorConfiguration() |
AuthenticatorConfiguration(String loginUrl,
String method,
String actionUrl,
String site,
String className,
boolean preAuthenticate,
List<org.apache.http.NameValuePair> params,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getActionUrl() |
String |
getClassName() |
String |
getLoginUrl() |
String |
getMethod() |
List<org.apache.http.NameValuePair> |
getParameters() |
String |
getPassword() |
Map<String,String> |
getProperties() |
String |
getSite() |
Principal |
getUserPrincipal() |
int |
hashCode() |
boolean |
isPreAuthenticate() |
void |
setActionUrl(String actionUrl) |
void |
setClassName(String className) |
void |
setLoginUrl(String url) |
void |
setMethod(String method) |
void |
setParameters(List<org.apache.http.NameValuePair> parameters) |
void |
setPreAuthenticate(boolean preAuthenticate) |
void |
setProperties(Map<String,String> properties) |
void |
setSite(String site) |
protected Element |
write(Document doc) |
static void |
writeList(OutputStream out,
List<AuthenticatorConfiguration> list) |
protected Element |
writeNameValue(Document doc,
String name,
String value,
String tagName) |
public List<org.apache.http.NameValuePair> getParameters()
public void setParameters(List<org.apache.http.NameValuePair> parameters)
public void setClassName(String className)
public String getClassName()
public void setSite(String site)
public String getSite()
public String getMethod()
public void setMethod(String method)
public String getLoginUrl()
public void setLoginUrl(String url)
public String getActionUrl()
public void setActionUrl(String actionUrl)
public String getPassword()
getPassword
in interface org.apache.http.auth.Credentials
public Principal getUserPrincipal()
getUserPrincipal
in interface org.apache.http.auth.Credentials
public static void writeList(OutputStream out, List<AuthenticatorConfiguration> list) throws Exception
Exception
protected Element writeNameValue(Document doc, String name, String value, String tagName)
protected Element write(Document doc) throws IOException
IOException
public boolean isPreAuthenticate()
public void setPreAuthenticate(boolean preAuthenticate)
Copyright © 2007, 2017, Oracle and/or its affiliates. All rights reserved.