org.owasp.webscarab.plugin
Class CredentialManager
java.lang.Object
org.owasp.webscarab.plugin.CredentialManager
- All Implemented Interfaces:
- Authenticator
public class CredentialManager
- extends java.lang.Object
- implements Authenticator
- Author:
- rdawes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CredentialManager
public CredentialManager()
- Creates a new instance of CredentialManager
setUI
public void setUI(CredentialManagerUI ui)
getCredentials
public java.lang.String getCredentials(HttpUrl url,
java.lang.String[] challenges)
- Specified by:
getCredentials
in interface Authenticator
getProxyCredentials
public java.lang.String getProxyCredentials(java.lang.String hostname,
java.lang.String[] challenges)
- Specified by:
getProxyCredentials
in interface Authenticator
addBasicCredentials
public void addBasicCredentials(BasicCredential cred)
addDomainCredentials
public void addDomainCredentials(DomainCredential cred)
getBasicCredentialCount
public int getBasicCredentialCount()
getBasicCredentialAt
public BasicCredential getBasicCredentialAt(int index)
deleteBasicCredentialAt
public void deleteBasicCredentialAt(int index)
getDomainCredentialCount
public int getDomainCredentialCount()
getDomainCredentialAt
public DomainCredential getDomainCredentialAt(int index)
deleteDomainCredentialAt
public void deleteDomainCredentialAt(int index)