com.multisoftgroup.jerry.jabber.domain
Class Account

java.lang.Object
  extended by com.multisoftgroup.common.dao.util.AbstractDomainObject
      extended by com.multisoftgroup.jerry.jabber.domain.Account
All Implemented Interfaces:
Serializable

public class Account
extends com.multisoftgroup.common.dao.util.AbstractDomainObject
implements Serializable

See Also:
Serialized Form

Field Summary
static int AUTH_TYPE_DIGEST
           
static int AUTH_TYPE_PLAIN
           
 
Constructor Summary
Account()
           
 
Method Summary
 void authenticate(int type, String value, String sessionId)
           
 String getName()
           
 String getPassword()
           
 boolean isAuthenticationTypeSupported(int type)
           
 void setName(String name)
           
 void setPassword(String password)
           
 String toString()
           
 
Methods inherited from class com.multisoftgroup.common.dao.util.AbstractDomainObject
equals, getId, hashCode, isNew, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTH_TYPE_PLAIN

public static final int AUTH_TYPE_PLAIN
See Also:
Constant Field Values

AUTH_TYPE_DIGEST

public static final int AUTH_TYPE_DIGEST
See Also:
Constant Field Values
Constructor Detail

Account

public Account()
Method Detail

setName

public final void setName(String name)

getName

public final String getName()

setPassword

public final void setPassword(String password)

getPassword

public final String getPassword()

isAuthenticationTypeSupported

public boolean isAuthenticationTypeSupported(int type)

authenticate

public final void authenticate(int type,
                               String value,
                               String sessionId)
                        throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object