net.netheos.pcsapi.credentials
Class PasswordAppInfo

java.lang.Object
  extended by net.netheos.pcsapi.credentials.PasswordAppInfo
All Implemented Interfaces:
AppInfo

public class PasswordAppInfo
extends Object
implements AppInfo

Implementation for login/password authenticated users : in this case application name can be set to 'login'.


Constructor Summary
PasswordAppInfo(String providerName, String appName)
          Constructor for login/password clients
 
Method Summary
 String getAppName()
          Get the application name
 String getProviderName()
          Get the storage provider name
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordAppInfo

public PasswordAppInfo(String providerName,
                       String appName)
Constructor for login/password clients

Parameters:
providerName - lower case name of provider
appName - Name of application, as registered on provider.
Method Detail

getProviderName

public String getProviderName()
Description copied from interface: AppInfo
Get the storage provider name

Specified by:
getProviderName in interface AppInfo
Returns:
The provider name

getAppName

public String getAppName()
Description copied from interface: AppInfo
Get the application name

Specified by:
getAppName in interface AppInfo
Returns:
the application name

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.