examples.authorization
Class UserCredentialsImpl

java.lang.Object
  extended by examples.authorization.UserCredentialsImpl
All Implemented Interfaces:
UserCredentials

public class UserCredentialsImpl
extends Object
implements UserCredentials


Constructor Summary
UserCredentialsImpl(String userName, String sipDomain, String password)
           
 
Method Summary
 String getPassword()
          Returns a password associated with this set of credentials.
 String getSipDomain()
          Returns the SIP Domain for this username password combination.
 String getUserName()
          Returns the name of the user that these credentials relate to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserCredentialsImpl

public UserCredentialsImpl(String userName,
                           String sipDomain,
                           String password)
Method Detail

getPassword

public String getPassword()
Description copied from interface: UserCredentials
Returns a password associated with this set of credentials.

Specified by:
getPassword in interface UserCredentials
Returns:
a password associated with this set of credentials.

getSipDomain

public String getSipDomain()
Description copied from interface: UserCredentials
Returns the SIP Domain for this username password combination.

Specified by:
getSipDomain in interface UserCredentials
Returns:
the sip domain

getUserName

public String getUserName()
Description copied from interface: UserCredentials
Returns the name of the user that these credentials relate to.

Specified by:
getUserName in interface UserCredentials
Returns:
the user name.


Copyright © 2012. All Rights Reserved.