org.eclipse.higgins.rpps.webservices
Class RPPSServiceImpl

java.lang.Object
  extended byorg.eclipse.higgins.rpps.webservices.RPPSServiceImpl
All Implemented Interfaces:
Remote, RPPSServiceSEI

public class RPPSServiceImpl
extends Object
implements RPPSServiceSEI

This is the implementation bean class for the RPPSService web service. Created 18.01.2007 10:34:54

Author:
Sergei Yakovlev, Artem Verkhovets

Constructor Summary
RPPSServiceImpl()
           
 
Method Summary
 String acquireICard(String userId, String password, String subscribeURL)
          Web service operation to acquire the i-card from RP site.
 org.eclipse.higgins.rpps.core.tobj.CategoryTO addCategory(String userId, String password, org.eclipse.higgins.rpps.core.tobj.CategoryTO category)
           
 org.eclipse.higgins.rpps.core.tobj.ResponseMessage addUserProfile(String userId, String password, org.eclipse.higgins.rpps.core.tobj.UserProfileTO userProfile)
           
 void addUserProfileFromHBX(String userId, String password)
           
 org.eclipse.higgins.rpps.core.tobj.FormatDescriptorTO checkImportStream(String userId, String password, byte[] crd)
           
 org.eclipse.higgins.rpps.core.tobj.ICardTO clearCardCredential(String userId, String password, String cuid)
           
 boolean clearCardHistory(String userId, String password, String cuid)
           
 void connectionNotify(String userId, String password, String host, String username, boolean success)
          Web service operation Locate the URIICard-type I-Card whose URI matches 'cref'.
 boolean connectionVerify(String userId, String password, String host, String username)
          Web service operation Locate the URIICard-type I-Card whose URI matches 'cref'.
 org.eclipse.higgins.rpps.core.tobj.ICardTO createDuplicateICard(String userId, String password, String cardName, String cuid, String pinCode)
           
 String createICardByArrayProperties(String userId, String password, String id, String[] properties)
          Web service operation creating a new card
 String createICardByProperty(String userId, String password, String id, String properties)
          Web service operation creating a new card
 org.eclipse.higgins.rpps.core.tobj.ICardTO createICardByTemplate(String userId, String password, org.eclipse.higgins.rpps.core.tobj.ICardTemplateTO template)
          Web service operation creating a new card by card template
 String createICardFromHBX(String userId, String password, String cardname)
          Web service operation creating a new card for HBX
 void deleteAllICard(String userId, String password)
          Web service operation.
 void deleteCategory(String userId, String password, String categoryId)
           
 void deleteICard(String userId, String password, String cuid)
          Web service operation.
 boolean deleteUrlCardRelation(String userId, String password, String cuid, String url)
           
 org.eclipse.higgins.rpps.core.tobj.ResponseMessage deleteUserProfile(String userId, String password)
           
 org.eclipse.higgins.rpps.core.tobj.ICardTO editPinCode(String userId, String password, String cuid, String oldPinCode, String newPinCode)
           
 byte[] exportICards(String userId, String password, String formatID, String[] cards, org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO credential)
           
 org.eclipse.higgins.rpps.core.tobj.CardUsageTO[] getCardHistory(String userId, String password, String cuid, int startFrom, int capacity, String orderBy, String orderDirection)
           
 org.eclipse.higgins.rpps.core.tobj.CardInformationTO getCardInformation(String userId, String password, String cuid, int size)
           
 org.eclipse.higgins.rpps.core.tobj.CategoryTO[] getCategory(String userId, String password)
           
 String getFormFillingScript(String page, String username, String form)
          Web service operation Gets a form filling script for the specified site&user
 String[] getHBXUIList(String version, String windowsName)
           
 String getHigginsServiceGlobalIName()
          Web service operation.
 String getHtmlScrapingScript(String page)
          Web service operation Gets an HTML scraping script for the specified site
 org.eclipse.higgins.rpps.core.tobj.ICardTO getICardById(String userId, String password, String cuid)
          Gets the card by id
 org.eclipse.higgins.rpps.core.tobj.ICardTO getICardByIdAndTokenServiceCredential(String userId, String password, String cuid, org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO userCredintial)
          Web service operation.
 org.eclipse.higgins.rpps.core.tobj.UIResponseCardTO getICardClaims(String userId, String password, String cuid, String policy, String typeofCredential, String[] credentialKey, String[] credentialValue)
           
 org.eclipse.higgins.rpps.core.tobj.ICardTemplateTO[] getICardCreationTemplate(String userId, String password)
          Web service operation returns template list for card creating
 org.eclipse.higgins.rpps.core.tobj.ICardTO[] getICards(String userId, String password)
          Gets the card list of the specified user.
 org.eclipse.higgins.rpps.core.tobj.ICardsAndCategoryTO getICardsAndCategoriesByUser(String userId, String password)
          Web service operation.
 org.eclipse.higgins.rpps.core.tobj.ICardTO[] getICardsByFormat(String userId, String password, String formatID)
           
 org.eclipse.higgins.rpps.core.tobj.FormatDescriptorTO[] getOutputFormats(String userId, String password)
           
 org.eclipse.higgins.rpps.core.tobj.ICardTemplateTO getPersonalICardCreationTemplate(String userId, String password)
          Return templates for creating personal card
 org.eclipse.higgins.rpps.core.tobj.TokenResponseTO getTokenByClaims(String sslCert, String claimNameArray, String claimValueArray)
          Web service operation return security token by list claims.
 org.eclipse.higgins.rpps.core.tobj.TokenResponseTO getTokenByUrl(String userId, String password, String policy, String policytype, String sslCert, String url)
          Web service operation.
 org.eclipse.higgins.rpps.core.tobj.ExtraTokenResponseTO getTokenExtraByUrl(String userId, String password, String policy, String policytype, String sslCert, String url)
          Web service operation.
 org.eclipse.higgins.rpps.core.tobj.TokenResponseTO getTokenObject(String userId, String password, String policy, String policytype, String sslCert, String[] cuids, String typeofCredential, String[] credentialKey, String[] credentialValue)
          Web service operation.
 org.eclipse.higgins.rpps.core.tobj.UIResponseTO getUI(String userId, String password, String url, String target, String sslCert, String policytype, String policy)
          Web service operation.
 org.eclipse.higgins.rpps.core.tobj.UserProfileTO getUserProfile(String userId, String password)
           
 org.eclipse.higgins.rpps.core.tobj.ICardTO[] importICardAsByteArray(String userId, String password, byte[] crd)
          Web service operation.
 org.eclipse.higgins.rpps.core.tobj.ICardTO[] importICards(String userId, String password, byte[] crd, String formatID, org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO credential)
           
 void importICardsAsString(String userId, String password, String crd)
          Web service operation.
 org.eclipse.higgins.rpps.core.tobj.ResponseMessage modifyCategories(String userId, String password, org.eclipse.higgins.rpps.core.tobj.CategoryTO[] categories)
           
 org.eclipse.higgins.rpps.core.tobj.CategoryTO modifyCategory(String userId, String password, org.eclipse.higgins.rpps.core.tobj.CategoryTO category)
           
 org.eclipse.higgins.rpps.core.tobj.UserProfileTO modifyUserProfile(String userId, String password, org.eclipse.higgins.rpps.core.tobj.UserProfileTO userProfile)
           
 org.eclipse.higgins.rpps.core.tobj.ICardTO resetPinCode(String userId, String password, String cuid, String oldPinCode)
           
 boolean setCardCredential(String userId, String password, String cuid, org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO tokenCredential)
           
 void setHtmlScrapingScript(String page, String script)
          Web service operation Sets an HTML scraping script for the specified site
 org.eclipse.higgins.rpps.core.tobj.ICardTO setPinCode(String userId, String password, String cuid, String pinCode)
           
 String[] testStringArray(String[] strArray)
          Web service operation.
 org.eclipse.higgins.rpps.core.tobj.ICardTO updateICard(String userId, String password, org.eclipse.higgins.rpps.core.tobj.ICardTO icardTO)
          Web service operation.
 boolean userIdentifierExists(String userIdentifier)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPPSServiceImpl

public RPPSServiceImpl()
Method Detail

acquireICard

public String acquireICard(String userId,
                           String password,
                           String subscribeURL)
                    throws RemoteException
Web service operation to acquire the i-card from RP site.

Parameters:
userId - the id to identify the user.
password - the password to identify the user.
subscribeURL - the URL of the site from where i-card will be acquired
Returns:
a new card id
Throws:
RemoteException

connectionNotify

public void connectionNotify(String userId,
                             String password,
                             String host,
                             String username,
                             boolean success)
                      throws RemoteException
Web service operation Locate the URIICard-type I-Card whose URI matches 'cref'. If no such card exists, create it. Find the Digital Subject whose unique identifier is 'cuid'. On the uniqueIdentifier attribute value itself: (1) if 'success' is true, add/update to "now" the the lastVerifiedFromSource metadata property's timestamp and (2) add/update the lastVerifiedAttempt metadata property's timestamp to "now".

Specified by:
connectionNotify in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
host - the host name of the RP site where user is verified
username - the user name to login to the RP site
success - the verifying result
Throws:
RemoteException

connectionVerify

public boolean connectionVerify(String userId,
                                String password,
                                String host,
                                String username)
                         throws RemoteException
Web service operation Locate the URIICard-type I-Card whose URI matches 'cref'. If no such card exists, create it. Find the Digital Subject whose unique identifier is 'cuid'. On the uniqueIdentifier attribute value itself: (1) if 'success' is true, add/update to "now" the the lastVerifiedFromSource metadata property's timestamp and (2) add/update the lastVerifiedAttempt metadata property's timestamp to "now".

Specified by:
connectionVerify in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
host - the host name of the RP site where user is verified
username - the user name to login to the RP site
Returns:
The result of verification process.
Throws:
RemoteException

createICardByProperty

public String createICardByProperty(String userId,
                                    String password,
                                    String id,
                                    String properties)
                             throws RemoteException
Web service operation creating a new card

Specified by:
createICardByProperty in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
id - the i-card id
properties - the i-card properties
Returns:
a new card id
Throws:
RemoteException

createICardByArrayProperties

public String createICardByArrayProperties(String userId,
                                           String password,
                                           String id,
                                           String[] properties)
                                    throws RemoteException
Web service operation creating a new card

Specified by:
createICardByArrayProperties in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
id - the i-card id
properties - the i-card properties
Returns:
a new card id
Throws:
RemoteException

createICardByTemplate

public org.eclipse.higgins.rpps.core.tobj.ICardTO createICardByTemplate(String userId,
                                                                        String password,
                                                                        org.eclipse.higgins.rpps.core.tobj.ICardTemplateTO template)
                                                                 throws RemoteException
Web service operation creating a new card by card template

Specified by:
createICardByTemplate in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
Returns:
a new card id
Throws:
RemoteException

createICardFromHBX

public String createICardFromHBX(String userId,
                                 String password,
                                 String cardname)
                          throws RemoteException
Web service operation creating a new card for HBX

Specified by:
createICardFromHBX in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
Returns:
a new card cuid
Throws:
RemoteException

createDuplicateICard

public org.eclipse.higgins.rpps.core.tobj.ICardTO createDuplicateICard(String userId,
                                                                       String password,
                                                                       String cardName,
                                                                       String cuid,
                                                                       String pinCode)
                                                                throws RemoteException
Specified by:
createDuplicateICard in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
cardName - name of new card
cuid - cuid of old card
Returns:
a new card
Throws:
RemoteException

deleteICard

public void deleteICard(String userId,
                        String password,
                        String cuid)
                 throws RemoteException
Web service operation. Deletes specified card.

Specified by:
deleteICard in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
cuid - the i-card CUID
Throws:
RemoteException

deleteAllICard

public void deleteAllICard(String userId,
                           String password)
                    throws RemoteException
Web service operation. Deletes all user's card.

Specified by:
deleteAllICard in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
Throws:
RemoteException

getFormFillingScript

public String getFormFillingScript(String page,
                                   String username,
                                   String form)
                            throws RemoteException
Web service operation Gets a form filling script for the specified site&user

Specified by:
getFormFillingScript in interface RPPSServiceSEI
Parameters:
page - the page url where user lands on
username - the user name
form - the HTML form name
Returns:
a form filling script
Throws:
RemoteException

getHigginsServiceGlobalIName

public String getHigginsServiceGlobalIName()
                                    throws RemoteException
Web service operation. Gets the global i-name registered to the Higgins service (e.g. "=parity").

Specified by:
getHigginsServiceGlobalIName in interface RPPSServiceSEI
Returns:
the global i-name.
Throws:
RemoteException

getHtmlScrapingScript

public String getHtmlScrapingScript(String page)
                             throws RemoteException
Web service operation Gets an HTML scraping script for the specified site

Specified by:
getHtmlScrapingScript in interface RPPSServiceSEI
Parameters:
page - the page url
Returns:
an HTML scraping script
Throws:
RemoteException

importICardAsByteArray

public org.eclipse.higgins.rpps.core.tobj.ICardTO[] importICardAsByteArray(String userId,
                                                                           String password,
                                                                           byte[] crd)
                                                                    throws RemoteException
Web service operation. Imports card from a file.

Specified by:
importICardAsByteArray in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
crd - the card as a byte array.
Returns:
list of cards
Throws:
RemoteException

importICards

public org.eclipse.higgins.rpps.core.tobj.ICardTO[] importICards(String userId,
                                                                 String password,
                                                                 byte[] crd,
                                                                 String formatID,
                                                                 org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO credential)
                                                          throws RemoteException
Specified by:
importICards in interface RPPSServiceSEI
Throws:
RemoteException

checkImportStream

public org.eclipse.higgins.rpps.core.tobj.FormatDescriptorTO checkImportStream(String userId,
                                                                               String password,
                                                                               byte[] crd)
                                                                        throws RemoteException
Specified by:
checkImportStream in interface RPPSServiceSEI
Throws:
RemoteException

exportICards

public byte[] exportICards(String userId,
                           String password,
                           String formatID,
                           String[] cards,
                           org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO credential)
                    throws RemoteException
Specified by:
exportICards in interface RPPSServiceSEI
Throws:
RemoteException

getICardsByFormat

public org.eclipse.higgins.rpps.core.tobj.ICardTO[] getICardsByFormat(String userId,
                                                                      String password,
                                                                      String formatID)
                                                               throws RemoteException
Specified by:
getICardsByFormat in interface RPPSServiceSEI
Throws:
RemoteException

getOutputFormats

public org.eclipse.higgins.rpps.core.tobj.FormatDescriptorTO[] getOutputFormats(String userId,
                                                                                String password)
                                                                         throws RemoteException
Specified by:
getOutputFormats in interface RPPSServiceSEI
Throws:
RemoteException

importICardsAsString

public void importICardsAsString(String userId,
                                 String password,
                                 String crd)
                          throws RemoteException
Web service operation. Imports card from a file.

Specified by:
importICardsAsString in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
crd - the card as a string.
Returns:
list of cards
Throws:
RemoteException

setHtmlScrapingScript

public void setHtmlScrapingScript(String page,
                                  String script)
                           throws RemoteException
Web service operation Sets an HTML scraping script for the specified site

Specified by:
setHtmlScrapingScript in interface RPPSServiceSEI
Parameters:
page - the page url
script - the script body
Throws:
RemoteException

testStringArray

public String[] testStringArray(String[] strArray)
                         throws RemoteException
Web service operation. The test method that returns inputed string array.

Specified by:
testStringArray in interface RPPSServiceSEI
Parameters:
strArray - the string array to be returned.
Returns:
the string array inputed as a parameter.
Throws:
RemoteException

getPersonalICardCreationTemplate

public org.eclipse.higgins.rpps.core.tobj.ICardTemplateTO getPersonalICardCreationTemplate(String userId,
                                                                                           String password)
                                                                                    throws RemoteException
Description copied from interface: RPPSServiceSEI
Return templates for creating personal card

Specified by:
getPersonalICardCreationTemplate in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
Returns:
a template list
Throws:
RemoteException

getUI

public org.eclipse.higgins.rpps.core.tobj.UIResponseTO getUI(String userId,
                                                             String password,
                                                             String url,
                                                             String target,
                                                             String sslCert,
                                                             String policytype,
                                                             String policy)
                                                      throws RemoteException
Web service operation. This method takes as input a policy---for example, one that has been retrieved from the Relying Party Agent (called here the 'Requester')---as well as a description of the Requester. The UserInterfaceResponse object should contain all information necessary to display both (a) a user interface which shares the same card metaphor, sequences of experiences and decision points (the ceremony) of CardSpace and (b) other interface paradigms to be developed in the future

Specified by:
getUI in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
url - the URL to the html page with tag
target -
sslCert - the SSL certificate
policy - the RP Agent's Relying Party Security Policy
Returns:
the UIResponseTO transfer object.
Throws:
RemoteException

getTokenByClaims

public org.eclipse.higgins.rpps.core.tobj.TokenResponseTO getTokenByClaims(String sslCert,
                                                                           String claimNameArray,
                                                                           String claimValueArray)
                                                                    throws RemoteException
Web service operation return security token by list claims.

Specified by:
getTokenByClaims in interface RPPSServiceSEI
Parameters:
sslCert - the SSL certificate
claimNameArray - list of claim's names
claimValueArray - list of claim's values
Returns:
the security token as a String
Throws:
RemoteException

getTokenObject

public org.eclipse.higgins.rpps.core.tobj.TokenResponseTO getTokenObject(String userId,
                                                                         String password,
                                                                         String policy,
                                                                         String policytype,
                                                                         String sslCert,
                                                                         String[] cuids,
                                                                         String typeofCredential,
                                                                         String[] credentialKey,
                                                                         String[] credentialValue)
                                                                  throws RemoteException
Web service operation. Given the Relying Party Agent (aka 'Requester')'s policy, identity information about the requester, and the set of one or more selections that the user has just made in the ISS Web UI (see userInterfaceRequest), AND presuming that the protocol involved in interacting with the RPA requires a security token, request the token that corresponds to the user's selection(s).

Specified by:
getTokenObject in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
policy - the RP Agent's Relying Party Security Policy
policytype - the RP Security Policy type
sslCert - the SSL certificate
cuids - the user-selected subset of the UIDs (handles) contained in the UserInterfaceResponse object returned from an earlier invocation of 'userInterfaceRequest'
typeofCredential - the type of selected credential
credentialKey - the names of fields of selected credential
credentialValue - the value of fields of selected credential
Returns:
the security token as a String
Throws:
RemoteException

getTokenExtraByUrl

public org.eclipse.higgins.rpps.core.tobj.ExtraTokenResponseTO getTokenExtraByUrl(String userId,
                                                                                  String password,
                                                                                  String policy,
                                                                                  String policytype,
                                                                                  String sslCert,
                                                                                  String url)
                                                                           throws RemoteException
Web service operation. Makes security token usage saved users information

Specified by:
getTokenExtraByUrl in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
policy - the RP Agent's Relying Party Security Policy
policytype - the RP Security Policy type
sslCert - the SSL certificate
url - the url of site which needs token
Returns:
the security token as a String with extra card's information
Throws:
RemoteException

getTokenByUrl

public org.eclipse.higgins.rpps.core.tobj.TokenResponseTO getTokenByUrl(String userId,
                                                                        String password,
                                                                        String policy,
                                                                        String policytype,
                                                                        String sslCert,
                                                                        String url)
                                                                 throws RemoteException
Web service operation. Makes security token usage saved users information

Specified by:
getTokenByUrl in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
policy - the RP Agent's Relying Party Security Policy
policytype - the RP Security Policy type
sslCert - the SSL certificate
url - the url of site which needs token
Returns:
the security token as a String
Throws:
RemoteException

updateICard

public org.eclipse.higgins.rpps.core.tobj.ICardTO updateICard(String userId,
                                                              String password,
                                                              org.eclipse.higgins.rpps.core.tobj.ICardTO icardTO)
                                                       throws RemoteException
Web service operation. Update card.

Specified by:
updateICard in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
icardTO - icardTO object with modified claims
Throws:
RemoteException

getICardById

public org.eclipse.higgins.rpps.core.tobj.ICardTO getICardById(String userId,
                                                               String password,
                                                               String cuid)
                                                        throws RemoteException
Gets the card by id

Specified by:
getICardById in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
cuid - the i-card CUID
Returns:
the card
Throws:
RemoteException

getICardsAndCategoriesByUser

public org.eclipse.higgins.rpps.core.tobj.ICardsAndCategoryTO getICardsAndCategoriesByUser(String userId,
                                                                                           String password)
                                                                                    throws RemoteException
Description copied from interface: RPPSServiceSEI
Web service operation. Gets the card list and category list of the specified user.

Specified by:
getICardsAndCategoriesByUser in interface RPPSServiceSEI
Parameters:
userId -
password -
Returns:
the card and category lists
Throws:
RemoteException

getICardByIdAndTokenServiceCredential

public org.eclipse.higgins.rpps.core.tobj.ICardTO getICardByIdAndTokenServiceCredential(String userId,
                                                                                        String password,
                                                                                        String cuid,
                                                                                        org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO userCredintial)
                                                                                 throws RemoteException
Web service operation. Gets the card list of the specified user.

Specified by:
getICardByIdAndTokenServiceCredential in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
cuid - the i-card CUID
userCredintial - the authentication information for getting card's claim
Returns:
the card
Throws:
RemoteException

getICardClaims

public org.eclipse.higgins.rpps.core.tobj.UIResponseCardTO getICardClaims(String userId,
                                                                          String password,
                                                                          String cuid,
                                                                          String policy,
                                                                          String typeofCredential,
                                                                          String[] credentialKey,
                                                                          String[] credentialValue)
                                                                   throws RemoteException
Specified by:
getICardClaims in interface RPPSServiceSEI
Throws:
RemoteException

getICardCreationTemplate

public org.eclipse.higgins.rpps.core.tobj.ICardTemplateTO[] getICardCreationTemplate(String userId,
                                                                                     String password)
                                                                              throws RemoteException
Web service operation returns template list for card creating

Specified by:
getICardCreationTemplate in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
Returns:
a template list
Throws:
RemoteException

getICards

public org.eclipse.higgins.rpps.core.tobj.ICardTO[] getICards(String userId,
                                                              String password)
                                                       throws RemoteException
Gets the card list of the specified user.

Specified by:
getICards in interface RPPSServiceSEI
Parameters:
userId - the id to identify the user.
password - the password to identify the user.
Returns:
the card list
Throws:
RemoteException

getUserProfile

public org.eclipse.higgins.rpps.core.tobj.UserProfileTO getUserProfile(String userId,
                                                                       String password)
                                                                throws RemoteException
Specified by:
getUserProfile in interface RPPSServiceSEI
Returns:
Throws:
Exception
RemoteException

addUserProfileFromHBX

public void addUserProfileFromHBX(String userId,
                                  String password)
                           throws RemoteException
Specified by:
addUserProfileFromHBX in interface RPPSServiceSEI
Throws:
Exception
RemoteException

addUserProfile

public org.eclipse.higgins.rpps.core.tobj.ResponseMessage addUserProfile(String userId,
                                                                         String password,
                                                                         org.eclipse.higgins.rpps.core.tobj.UserProfileTO userProfile)
                                                                  throws RemoteException
Specified by:
addUserProfile in interface RPPSServiceSEI
Parameters:
userProfile -
Throws:
Exception
RemoteException

deleteUserProfile

public org.eclipse.higgins.rpps.core.tobj.ResponseMessage deleteUserProfile(String userId,
                                                                            String password)
                                                                     throws RemoteException
Specified by:
deleteUserProfile in interface RPPSServiceSEI
Throws:
Exception
RemoteException

deleteUrlCardRelation

public boolean deleteUrlCardRelation(String userId,
                                     String password,
                                     String cuid,
                                     String url)
                              throws RemoteException
Specified by:
deleteUrlCardRelation in interface RPPSServiceSEI
Throws:
RemoteException

userIdentifierExists

public boolean userIdentifierExists(String userIdentifier)
                             throws RemoteException
Specified by:
userIdentifierExists in interface RPPSServiceSEI
Parameters:
userIdentifier -
Returns:
Throws:
Exception
RemoteException

modifyUserProfile

public org.eclipse.higgins.rpps.core.tobj.UserProfileTO modifyUserProfile(String userId,
                                                                          String password,
                                                                          org.eclipse.higgins.rpps.core.tobj.UserProfileTO userProfile)
                                                                   throws RemoteException
Specified by:
modifyUserProfile in interface RPPSServiceSEI
Parameters:
userProfile -
Throws:
Exception
RemoteException

setPinCode

public org.eclipse.higgins.rpps.core.tobj.ICardTO setPinCode(String userId,
                                                             String password,
                                                             String cuid,
                                                             String pinCode)
                                                      throws RemoteException
Specified by:
setPinCode in interface RPPSServiceSEI
Parameters:
userId -
password -
cuid -
pinCode -
Returns:
icard
Throws:
RemoteException

resetPinCode

public org.eclipse.higgins.rpps.core.tobj.ICardTO resetPinCode(String userId,
                                                               String password,
                                                               String cuid,
                                                               String oldPinCode)
                                                        throws RemoteException
Specified by:
resetPinCode in interface RPPSServiceSEI
Parameters:
userId -
password -
cuid -
oldPinCode -
Returns:
icard
Throws:
RemoteException

editPinCode

public org.eclipse.higgins.rpps.core.tobj.ICardTO editPinCode(String userId,
                                                              String password,
                                                              String cuid,
                                                              String oldPinCode,
                                                              String newPinCode)
                                                       throws RemoteException
Specified by:
editPinCode in interface RPPSServiceSEI
Throws:
RemoteException

getCategory

public org.eclipse.higgins.rpps.core.tobj.CategoryTO[] getCategory(String userId,
                                                                   String password)
                                                            throws RemoteException
Specified by:
getCategory in interface RPPSServiceSEI
Throws:
RemoteException

addCategory

public org.eclipse.higgins.rpps.core.tobj.CategoryTO addCategory(String userId,
                                                                 String password,
                                                                 org.eclipse.higgins.rpps.core.tobj.CategoryTO category)
                                                          throws RemoteException
Specified by:
addCategory in interface RPPSServiceSEI
Throws:
RemoteException

deleteCategory

public void deleteCategory(String userId,
                           String password,
                           String categoryId)
                    throws RemoteException
Specified by:
deleteCategory in interface RPPSServiceSEI
Throws:
RemoteException

modifyCategory

public org.eclipse.higgins.rpps.core.tobj.CategoryTO modifyCategory(String userId,
                                                                    String password,
                                                                    org.eclipse.higgins.rpps.core.tobj.CategoryTO category)
                                                             throws RemoteException
Specified by:
modifyCategory in interface RPPSServiceSEI
Throws:
RemoteException

modifyCategories

public org.eclipse.higgins.rpps.core.tobj.ResponseMessage modifyCategories(String userId,
                                                                           String password,
                                                                           org.eclipse.higgins.rpps.core.tobj.CategoryTO[] categories)
                                                                    throws RemoteException
Specified by:
modifyCategories in interface RPPSServiceSEI
Throws:
RemoteException

getCardInformation

public org.eclipse.higgins.rpps.core.tobj.CardInformationTO getCardInformation(String userId,
                                                                               String password,
                                                                               String cuid,
                                                                               int size)
                                                                        throws RemoteException
Specified by:
getCardInformation in interface RPPSServiceSEI
Throws:
RemoteException

clearCardCredential

public org.eclipse.higgins.rpps.core.tobj.ICardTO clearCardCredential(String userId,
                                                                      String password,
                                                                      String cuid)
                                                               throws RemoteException
Specified by:
clearCardCredential in interface RPPSServiceSEI
Throws:
RemoteException

setCardCredential

public boolean setCardCredential(String userId,
                                 String password,
                                 String cuid,
                                 org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO tokenCredential)
                          throws RemoteException
Specified by:
setCardCredential in interface RPPSServiceSEI
Throws:
RemoteException

clearCardHistory

public boolean clearCardHistory(String userId,
                                String password,
                                String cuid)
                         throws RemoteException
Specified by:
clearCardHistory in interface RPPSServiceSEI
Throws:
RemoteException

getCardHistory

public org.eclipse.higgins.rpps.core.tobj.CardUsageTO[] getCardHistory(String userId,
                                                                       String password,
                                                                       String cuid,
                                                                       int startFrom,
                                                                       int capacity,
                                                                       String orderBy,
                                                                       String orderDirection)
                                                                throws RemoteException
Specified by:
getCardHistory in interface RPPSServiceSEI
Throws:
RemoteException

getHBXUIList

public String[] getHBXUIList(String version,
                             String windowsName)
                      throws RemoteException
Specified by:
getHBXUIList in interface RPPSServiceSEI
Throws:
RemoteException