Package COM.activesw.api.client
Class BrokerBasicAuthIdentity
- java.lang.Object
-
- COM.activesw.api.client.BrokerBasicAuthIdentity
-
public class BrokerBasicAuthIdentity extends java.lang.Object
This class is a data structure used to describe a broker's Basic auth configuration.
-
-
Constructor Summary
Constructors Constructor Description BrokerBasicAuthIdentity()
BrokerBasicAuthIdentity(BrokerBasicAuthIdentity source)
BrokerBasicAuthIdentity(java.lang.String userName, java.lang.String password)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BrokerBasicAuthIdentity
createFromString(java.lang.String protocol_string)
Parse protocol representation.boolean
equals(java.lang.Object obj)
java.lang.String
getUserName()
int
hashCode()
void
setPassword(java.lang.String password)
void
setUserName(java.lang.String userName)
java.lang.String
toString()
Convert to a string.java.lang.String
toString(int indent_level)
Convert to a string.
-
-
-
Constructor Detail
-
BrokerBasicAuthIdentity
public BrokerBasicAuthIdentity()
-
BrokerBasicAuthIdentity
public BrokerBasicAuthIdentity(BrokerBasicAuthIdentity source)
-
BrokerBasicAuthIdentity
public BrokerBasicAuthIdentity(java.lang.String userName, java.lang.String password)
-
-
Method Detail
-
getUserName
public java.lang.String getUserName()
-
setUserName
public void setUserName(java.lang.String userName)
-
setPassword
public void setPassword(java.lang.String password)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
createFromString
public static BrokerBasicAuthIdentity createFromString(java.lang.String protocol_string)
Parse protocol representation. Returns null if the basic auth configuration isn't set to anything.
-
toString
public java.lang.String toString()
Convert to a string.- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(int indent_level)
Convert to a string. The "indent_level" is the number of 4-space indents that the output should be generated for.
-
-