/** * Function to authenticate the user with RemoteUserStoreManager Service * @param type $username * @param type $password */ public function authenticate($username, $password) { $parameters = new Authenticate(); $parameters->userName = $username; $parameters->credential = $password; return $this->serviceStub->authenticate($parameters)->return; }