com.endeca.itl.web.auth
Class AuthenticatorConfiguration

java.lang.Object
  extended by com.endeca.itl.web.auth.AuthenticatorConfiguration
All Implemented Interfaces:
org.apache.commons.httpclient.Credentials

public class AuthenticatorConfiguration
extends Object
implements org.apache.commons.httpclient.Credentials


Constructor Summary
AuthenticatorConfiguration()
           
AuthenticatorConfiguration(String loginUrl, String method, String actionUrl, String site, String className, boolean preAuthenticate, List<org.apache.commons.httpclient.NameValuePair> params, Map<String,String> properties)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getActionUrl()
           
 String getClassName()
           
 String getLoginUrl()
           
 String getMethod()
           
 List<org.apache.commons.httpclient.NameValuePair> getParameters()
           
 Map<String,String> getProperties()
           
 String getSite()
           
 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.commons.httpclient.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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorConfiguration

public AuthenticatorConfiguration()

AuthenticatorConfiguration

public AuthenticatorConfiguration(String loginUrl,
                                  String method,
                                  String actionUrl,
                                  String site,
                                  String className,
                                  boolean preAuthenticate,
                                  List<org.apache.commons.httpclient.NameValuePair> params,
                                  Map<String,String> properties)
Method Detail

getParameters

public List<org.apache.commons.httpclient.NameValuePair> getParameters()

setParameters

public void setParameters(List<org.apache.commons.httpclient.NameValuePair> parameters)

getProperties

public Map<String,String> getProperties()

setProperties

public void setProperties(Map<String,String> properties)

setClassName

public void setClassName(String className)

getClassName

public String getClassName()

setSite

public void setSite(String site)

getSite

public String getSite()

getMethod

public String getMethod()

setMethod

public void setMethod(String method)

getLoginUrl

public String getLoginUrl()

setLoginUrl

public void setLoginUrl(String url)

getActionUrl

public String getActionUrl()

setActionUrl

public void setActionUrl(String actionUrl)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

writeList

public static void writeList(OutputStream out,
                             List<AuthenticatorConfiguration> list)
                      throws Exception
Throws:
Exception

writeNameValue

protected Element writeNameValue(Document doc,
                                 String name,
                                 String value,
                                 String tagName)

write

protected Element write(Document doc)
                 throws IOException
Throws:
IOException

isPreAuthenticate

public boolean isPreAuthenticate()

setPreAuthenticate

public void setPreAuthenticate(boolean preAuthenticate)


Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.