examples.authorization
Class UserCredentialsImpl
java.lang.Object
examples.authorization.UserCredentialsImpl
- All Implemented Interfaces:
- UserCredentials
public class UserCredentialsImpl
- extends Object
- implements UserCredentials
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 |
UserCredentialsImpl
public UserCredentialsImpl(String userName,
String sipDomain,
String password)
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.