|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.higgins.rpps.webservices.RPPSServiceImpl
This is the implementation bean class for the RPPSService web service. Created 18.01.2007 10:34:54
| 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 |
public RPPSServiceImpl()
| Method Detail |
public String acquireICard(String userId,
String password,
String subscribeURL)
throws RemoteException
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
RemoteException
public void connectionNotify(String userId,
String password,
String host,
String username,
boolean success)
throws RemoteException
connectionNotify in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.host - the host name of the RP site where user is verifiedusername - the user name to login to the RP sitesuccess - the verifying result
RemoteException
public boolean connectionVerify(String userId,
String password,
String host,
String username)
throws RemoteException
connectionVerify in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.host - the host name of the RP site where user is verifiedusername - the user name to login to the RP site
RemoteException
public String createICardByProperty(String userId,
String password,
String id,
String properties)
throws RemoteException
createICardByProperty in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.id - the i-card idproperties - the i-card properties
RemoteException
public String createICardByArrayProperties(String userId,
String password,
String id,
String[] properties)
throws RemoteException
createICardByArrayProperties in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.id - the i-card idproperties - the i-card properties
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO createICardByTemplate(String userId,
String password,
org.eclipse.higgins.rpps.core.tobj.ICardTemplateTO template)
throws RemoteException
createICardByTemplate in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.
RemoteException
public String createICardFromHBX(String userId,
String password,
String cardname)
throws RemoteException
createICardFromHBX in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO createDuplicateICard(String userId,
String password,
String cardName,
String cuid,
String pinCode)
throws RemoteException
createDuplicateICard in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.cardName - name of new cardcuid - cuid of old card
RemoteException
public void deleteICard(String userId,
String password,
String cuid)
throws RemoteException
deleteICard in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.cuid - the i-card CUID
RemoteException
public void deleteAllICard(String userId,
String password)
throws RemoteException
deleteAllICard in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.
RemoteException
public String getFormFillingScript(String page,
String username,
String form)
throws RemoteException
getFormFillingScript in interface RPPSServiceSEIpage - the page url where user lands onusername - the user nameform - the HTML form name
RemoteException
public String getHigginsServiceGlobalIName()
throws RemoteException
getHigginsServiceGlobalIName in interface RPPSServiceSEIRemoteException
public String getHtmlScrapingScript(String page)
throws RemoteException
getHtmlScrapingScript in interface RPPSServiceSEIpage - the page url
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO[] importICardAsByteArray(String userId,
String password,
byte[] crd)
throws RemoteException
importICardAsByteArray in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.crd - the card as a byte array.
RemoteException
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
importICards in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.FormatDescriptorTO checkImportStream(String userId,
String password,
byte[] crd)
throws RemoteException
checkImportStream in interface RPPSServiceSEIRemoteException
public byte[] exportICards(String userId,
String password,
String formatID,
String[] cards,
org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO credential)
throws RemoteException
exportICards in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO[] getICardsByFormat(String userId,
String password,
String formatID)
throws RemoteException
getICardsByFormat in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.FormatDescriptorTO[] getOutputFormats(String userId,
String password)
throws RemoteException
getOutputFormats in interface RPPSServiceSEIRemoteException
public void importICardsAsString(String userId,
String password,
String crd)
throws RemoteException
importICardsAsString in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.crd - the card as a string.
RemoteException
public void setHtmlScrapingScript(String page,
String script)
throws RemoteException
setHtmlScrapingScript in interface RPPSServiceSEIpage - the page urlscript - the script body
RemoteException
public String[] testStringArray(String[] strArray)
throws RemoteException
testStringArray in interface RPPSServiceSEIstrArray - the string array to be returned.
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTemplateTO getPersonalICardCreationTemplate(String userId,
String password)
throws RemoteException
RPPSServiceSEI
getPersonalICardCreationTemplate in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.
RemoteException
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
getUI in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.url - the URL to the html page with
public org.eclipse.higgins.rpps.core.tobj.TokenResponseTO getTokenByClaims(String sslCert,
String claimNameArray,
String claimValueArray)
throws RemoteException
getTokenByClaims in interface RPPSServiceSEIsslCert - the SSL certificateclaimNameArray - list of claim's namesclaimValueArray - list of claim's values
RemoteException
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
getTokenObject in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.policy - the RP Agent's Relying Party Security Policypolicytype - the RP Security Policy typesslCert - the SSL certificatecuids - 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 credentialcredentialKey - the names of fields of selected credentialcredentialValue - the value of fields of selected credential
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ExtraTokenResponseTO getTokenExtraByUrl(String userId,
String password,
String policy,
String policytype,
String sslCert,
String url)
throws RemoteException
getTokenExtraByUrl in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.policy - the RP Agent's Relying Party Security Policypolicytype - the RP Security Policy typesslCert - the SSL certificateurl - the url of site which needs token
RemoteException
public org.eclipse.higgins.rpps.core.tobj.TokenResponseTO getTokenByUrl(String userId,
String password,
String policy,
String policytype,
String sslCert,
String url)
throws RemoteException
getTokenByUrl in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.policy - the RP Agent's Relying Party Security Policypolicytype - the RP Security Policy typesslCert - the SSL certificateurl - the url of site which needs token
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO updateICard(String userId,
String password,
org.eclipse.higgins.rpps.core.tobj.ICardTO icardTO)
throws RemoteException
updateICard in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.icardTO - icardTO object with modified claims
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO getICardById(String userId,
String password,
String cuid)
throws RemoteException
getICardById in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.cuid - the i-card CUID
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardsAndCategoryTO getICardsAndCategoriesByUser(String userId,
String password)
throws RemoteException
RPPSServiceSEI
getICardsAndCategoriesByUser in interface RPPSServiceSEIuserId - password -
RemoteException
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
getICardByIdAndTokenServiceCredential in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.cuid - the i-card CUIDuserCredintial - the authentication information for getting card's claim
RemoteException
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
getICardClaims in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTemplateTO[] getICardCreationTemplate(String userId,
String password)
throws RemoteException
getICardCreationTemplate in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO[] getICards(String userId,
String password)
throws RemoteException
getICards in interface RPPSServiceSEIuserId - the id to identify the user.password - the password to identify the user.
RemoteException
public org.eclipse.higgins.rpps.core.tobj.UserProfileTO getUserProfile(String userId,
String password)
throws RemoteException
getUserProfile in interface RPPSServiceSEIException
RemoteException
public void addUserProfileFromHBX(String userId,
String password)
throws RemoteException
addUserProfileFromHBX in interface RPPSServiceSEIException
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ResponseMessage addUserProfile(String userId,
String password,
org.eclipse.higgins.rpps.core.tobj.UserProfileTO userProfile)
throws RemoteException
addUserProfile in interface RPPSServiceSEIuserProfile -
Exception
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ResponseMessage deleteUserProfile(String userId,
String password)
throws RemoteException
deleteUserProfile in interface RPPSServiceSEIException
RemoteException
public boolean deleteUrlCardRelation(String userId,
String password,
String cuid,
String url)
throws RemoteException
deleteUrlCardRelation in interface RPPSServiceSEIRemoteException
public boolean userIdentifierExists(String userIdentifier)
throws RemoteException
userIdentifierExists in interface RPPSServiceSEIuserIdentifier -
Exception
RemoteException
public org.eclipse.higgins.rpps.core.tobj.UserProfileTO modifyUserProfile(String userId,
String password,
org.eclipse.higgins.rpps.core.tobj.UserProfileTO userProfile)
throws RemoteException
modifyUserProfile in interface RPPSServiceSEIuserProfile -
Exception
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO setPinCode(String userId,
String password,
String cuid,
String pinCode)
throws RemoteException
setPinCode in interface RPPSServiceSEIuserId - password - cuid - pinCode -
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO resetPinCode(String userId,
String password,
String cuid,
String oldPinCode)
throws RemoteException
resetPinCode in interface RPPSServiceSEIuserId - password - cuid - oldPinCode -
RemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO editPinCode(String userId,
String password,
String cuid,
String oldPinCode,
String newPinCode)
throws RemoteException
editPinCode in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.CategoryTO[] getCategory(String userId,
String password)
throws RemoteException
getCategory in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.CategoryTO addCategory(String userId,
String password,
org.eclipse.higgins.rpps.core.tobj.CategoryTO category)
throws RemoteException
addCategory in interface RPPSServiceSEIRemoteException
public void deleteCategory(String userId,
String password,
String categoryId)
throws RemoteException
deleteCategory in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.CategoryTO modifyCategory(String userId,
String password,
org.eclipse.higgins.rpps.core.tobj.CategoryTO category)
throws RemoteException
modifyCategory in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.ResponseMessage modifyCategories(String userId,
String password,
org.eclipse.higgins.rpps.core.tobj.CategoryTO[] categories)
throws RemoteException
modifyCategories in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.CardInformationTO getCardInformation(String userId,
String password,
String cuid,
int size)
throws RemoteException
getCardInformation in interface RPPSServiceSEIRemoteException
public org.eclipse.higgins.rpps.core.tobj.ICardTO clearCardCredential(String userId,
String password,
String cuid)
throws RemoteException
clearCardCredential in interface RPPSServiceSEIRemoteException
public boolean setCardCredential(String userId,
String password,
String cuid,
org.eclipse.higgins.rpps.core.tobj.UITokenServiceCredentialTO tokenCredential)
throws RemoteException
setCardCredential in interface RPPSServiceSEIRemoteException
public boolean clearCardHistory(String userId,
String password,
String cuid)
throws RemoteException
clearCardHistory in interface RPPSServiceSEIRemoteException
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
getCardHistory in interface RPPSServiceSEIRemoteException
public String[] getHBXUIList(String version,
String windowsName)
throws RemoteException
getHBXUIList in interface RPPSServiceSEIRemoteException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||