org.apache.ivy.util

Class Credentials

public class Credentials extends Object

Constructor Summary
Credentials(String realm, String host, String userName, String passwd)
Method Summary
static StringbuildKey(String realm, String host)
booleanequals(Object o)
StringgetHost()
StringgetKey()
StringgetPasswd()
StringgetRealm()
StringgetUserName()
inthashCode()
StringtoString()
Return a string that can be used for debug purpose.

Constructor Detail

Credentials

public Credentials(String realm, String host, String userName, String passwd)

Method Detail

buildKey

public static String buildKey(String realm, String host)

equals

public boolean equals(Object o)

getHost

public String getHost()

getKey

public String getKey()

getPasswd

public String getPasswd()

getRealm

public String getRealm()

getUserName

public String getUserName()

hashCode

public int hashCode()

toString

public String toString()
Return a string that can be used for debug purpose. It contains only stars for each password character.