com.e_c_group.bwptk.services
Class Authentication

java.lang.Object
  extended by com.e_c_group.bwptk.services.Authentication

public class Authentication
extends java.lang.Object


Constructor Summary
Authentication()
           
 
Method Summary
static Response userAuthenticationGetRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId)
          Get the user's authentication service information.
static Response userAuthenticationModifyRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId, java.lang.String userName)
          Get the user's authentication service information.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authentication

public Authentication()
Method Detail

userAuthenticationGetRequest

public static Response userAuthenticationGetRequest(BroadWorksServer bws,
                                                    boolean readFromCache,
                                                    java.lang.String userId)
                                             throws BwptkException
Get the user's authentication service information. The response is either a UserAuthenticationGetResponse or an ErrorResponse.

Parameters:
bws - The BroadWorks Server
readFromCache - Whether to pull the request from bwptk cache
userId -
Throws:
BwptkException

userAuthenticationModifyRequest

public static Response userAuthenticationModifyRequest(BroadWorksServer bws,
                                                       boolean readFromCache,
                                                       java.lang.String userId,
                                                       java.lang.String userName)
                                                throws BwptkException
Get the user's authentication service information. The response is either a UserAuthenticationGetResponse or an ErrorResponse.

Parameters:
bws - The BroadWorks Server
readFromCache - Whether to pull the request from bwptk cache
userId -
userName -
Throws:
BwptkException