org.mule.transport.legstar.config
Class HostCredentials

java.lang.Object
  extended by org.mule.transport.legstar.config.HostCredentials
All Implemented Interfaces:
org.mule.api.security.Credentials

public class HostCredentials
extends Object
implements org.mule.api.security.Credentials

Represents RACF-style credentials.


Constructor Summary
HostCredentials(String username, char[] password)
          Creates a credential object.
 
Method Summary
 boolean equals(Object obj)
          
 char[] getPassword()
          
 Object getRoles()
          
 String getUserInfo()
           
 String getUsername()
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostCredentials

public HostCredentials(String username,
                       char[] password)
Creates a credential object.

Parameters:
username - the host user ID
password - the host password
Method Detail

getPassword

public char[] getPassword()

Specified by:
getPassword in interface org.mule.api.security.Credentials

getRoles

public Object getRoles()

Specified by:
getRoles in interface org.mule.api.security.Credentials

getUsername

public String getUsername()

Specified by:
getUsername in interface org.mule.api.security.Credentials

getUserInfo

public String getUserInfo()
Returns:
a concatenation of user password HTTP style

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2013 LegSem. All Rights Reserved.