|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.higgins.rpps.core.impl.RppsService
The object used for executing Higgins API and returning the results it produces.
| Nested Class Summary | |
|---|---|
static class |
RppsService.DummyTrustManagerFactory
|
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.higgins.rpps.core.IRppsService |
|---|
IPasswordCredential, IPinCodeCredential, ITSKerberosV5Credential, ITSSelfIssuedCredential, ITSSelfIssuedNonPinCredential, ITSUsernamePasswordCredential, ITSX509V3Credential, IUsernamePasswordCredential |
| Constructor Summary | |
|---|---|
RppsService()
Creates an RppsService object. |
|
RppsService(String userId,
String password)
Creates an RppsService object and authenticated user. |
|
| Method Summary | |
|---|---|
CategoryTO |
addCategory(CategoryTO categoryTO)
Creates a new card's category. |
void |
addClaimValuesMRU(String claimType,
String claimValue)
Adds most recently used record. |
boolean |
addRPEndPointCardRelation(String cuid,
RPEndPointTO rpEndPointTO)
Create relation between card and relying party. |
boolean |
addUrlCardRelation(String cuid,
String url)
Deprecated. |
ResponseMessage |
addUserProfile(UserProfileTO userProfile,
String password)
Creates a new user profile. |
static void |
AllowSelfSignedSSL()
|
void |
authenticate(String userId,
String password)
Method gets user profile information and prepare authenticated callback handler. |
FormatDescriptorTO |
checkImportStream(byte[] crd)
Checks whether RppsService can recognize data format of the provided input stream. |
ICardTO |
clearCardCredential(String cuid)
Deletes saved authentication card information for specified card. |
boolean |
clearCardHistory(String cuid)
Deletes card history of the specified card on all URLs unless it is checked as "Use Always". |
static void |
ConfigureCache(String configurationBase,
String configurationFile)
|
org.eclipse.higgins.userprofile.entity.Captcha |
createCaptcha()
Create new Captcha entity and store it via UserProfileService. |
ICardTO |
createDuplicateICard(String cardName,
String cuid,
String pinCode)
Creates duplicate of personal card only with new card's name. |
ICardTO |
createICard(ICardTemplateTO template)
Creates a new card by template. |
String |
createICardFromHBX(String cardname)
Deprecated. |
void |
deleteAllICard()
Deletes all user's card. |
void |
deleteCaptcha(String id)
Delete Captcha entity via UserProfileService. |
boolean |
deleteCardHistoryRecord(String cuid,
RPEndPointTO rpEndPointTO)
Delete specified record of card history. |
boolean |
deleteCardHistoryRecord(String cuid,
String url)
Deprecated. |
void |
deleteCategory(String categoryId)
Delete the card's category. |
ICardUpdateResponseTO |
deleteICard(String cuid)
Deletes specified card. |
void |
deleteOldPassword()
|
boolean |
deleteRPEndPointCardRelation(String cuid,
RPEndPointTO rpEndPointTO)
Delete relation between card and relying party. |
boolean |
deleteRPEndPointsCardsRelations(String cuid)
Delete relation between card and relying party. |
boolean |
deleteUrlCardRelation(String cuid,
String url)
Deprecated. |
boolean |
deleteUrlsCardsRelations(String cuid)
Deprecated. |
ResponseMessage |
deleteUserProfile()
Deletes user profile. |
ICardTO |
editPinCode(String cuid,
String oldPinCode,
String newPinCode)
Changes pin code for personal card. |
byte[] |
exportICards(String formatID,
String[] cards,
UITokenServiceCredentialTO credential)
Returns file as byte array with special which contains select cards. |
void |
generatePasswordResetCode(String userIdentifier)
Generate and send user email with new password reset code. |
org.eclipse.higgins.userprofile.entity.Captcha |
getCaptcha(String id)
Retrieve Captcha entity via UserProfileService. |
CardUsageTO[] |
getCardHistory(String cuid,
int startFrom,
int size,
String orderBy,
String orderDirection)
Return list of card history records, beginning at the specified position in selection. |
CardUsageTO[] |
getCardHistoryLog(String cuid,
int startFrom,
int size,
String orderBy,
String orderDirection)
|
CardInformationTO |
getCardInformation(String cuid,
int size)
Gets card information object. |
CategoryTO[] |
getCategory()
Gets list of card categories. |
MapTO[] |
getClaimValuesMRU()
Gets most recently used records. |
ICardTO |
getDefaultPCard()
Return default personal card. |
CallbackHandler |
getHandler()
|
String |
getHigginsServiceGlobalIName()
Gets the global i-name registered to the Higgins service (e.g. |
ICardTO |
getICardByCUID(String cuid)
Gets a card by CUID. |
ICardTO |
getICardByCUIDAndTokenServiceCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
Gets a card by CUID and Credential. |
UIResponseCardTO |
getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
Deprecated. |
UIResponseCardTO |
getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
Created for some demo. |
ICardTemplateTO[] |
getICardCreationTemplate()
Return templates for creating cards |
org.eclipse.higgins.icard.ICardTemplate[] |
getICardCreationTemplateByProvider(String extID)
This method return list of card creation template by provider id. |
ICardTemplateTO |
getICardCreationTemplateByTUID(String tuid)
Return templates for creating cards. |
org.eclipse.higgins.icard.ICardTemplate |
getICardCreationTemplateByTUID(org.eclipse.higgins.icard.TUID tuid)
Return templates for creating cards. |
ICardsAndCategoryTO |
getICardsAndCategoriesByUser()
Gets the card and category lists of the specified user. |
ICardTO[] |
getICardsByCUIDs(String[] cuids)
Gets cards by CUIDs array. |
ICardTO[] |
getICardsByFormat(String formatID)
Gets cards which may be export to special file format. |
ICardResponseTO |
getICardsByUser()
Gets the card list of the specified user. |
static IRppsService |
getInstance()
Creates an RppsService object. |
static IRppsService |
getInstance(String userId,
String password)
Creates an RppsService object. |
FormatDescriptorTO[] |
getOutputFormats()
Gets available file format for cards export. |
TokenResponseTO |
getTokenByClaims(String sslCert,
String[] claimName,
String[] claimValue)
Makes xmlToken usage claim list. |
TokenResponseTO |
getTokenByRPEndPoint(String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
Web service operation. |
TokenResponseTO |
getTokenByUrl(String policy,
String policytype,
String sslCert,
String url)
Deprecated. |
ExtraTokenResponseTO |
getTokenExtraByRPEndPoint(String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
Web service operation. |
ExtraTokenResponseTO |
getTokenExtraByUrl(String policy,
String policytype,
String sslCert,
String url)
Deprecated. |
TokenResponseTO |
getTokenObject(String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
Deprecated. |
TokenResponseTO |
getTokenObject(String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
Web service operation. |
UIResponseTO |
getUserInterface(RPEndPointTO rpEndPointTO,
String target,
String sslCert,
String policytype,
String policy)
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. |
UIResponseTO |
getUserInterface(String url,
String target,
String sslCert,
String policytype,
String policy)
Deprecated. |
UserProfileTO |
getUserProfile()
Gets user profile as a UserProfileTO. |
ICardResponseTO |
importICards(byte[] crd)
Imports card from a file. |
ICardResponseTO |
importICards(byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
Imports card from a file. |
ResponseMessage |
modifyCategories(CategoryTO[] categoriesTO)
Modifies list of card's category. |
CategoryTO |
modifyCategory(CategoryTO categoryTO)
Modifies the card's category. |
void |
modifyPasswordWithOldPassword(String userIdentifier,
String oldPassword,
String newPassword)
Update user password, requires oldPassword for identify. |
void |
modifyPasswordWithPasswordResetCode(String userIdentifier,
String passwordResetCode,
String newPassword)
Update user password, requires password reset code for identify. |
UserProfileTO |
modifyUserProfile(UserProfileTO userProfile)
Update user profile. |
void |
removeClaimValuesMRU(String claimType,
String claimValue)
Deletes most recently used record. |
ICardTO |
resetPinCode(String cuid,
String oldPinCode)
Remove pin code protection from personal card. |
static String |
resolveUserIdentifier(String privateSelectorINumber)
|
boolean |
setCardCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
Saves authentication card information of the specified card. |
void |
setDefaultPCard(String pcardId)
Set default personal card. |
void |
setHandler(CallbackHandler handler)
|
void |
setNewPrivateUserPassword(String newPassword)
|
ICardTO |
setPinCode(String cuid,
String pinCode)
Sets pin code protection on personal card. |
ICardUpdateResponseTO[] |
updateClaimsAcrossCards(String[] claimTypes,
String[] claimValues,
ICardUpdateTO[] cardUpdate)
Update claim across cards. |
ICardTO |
updateICard(ICardTO icardTO)
Update card. |
ICardUpdateResponseTO[] |
updateICards(ICardTO[] icardTOList)
Update card. |
boolean |
userIdentifierExists(String userIdentifier)
Checks availability of user profile by userIdentifier |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RppsService()
public RppsService(String userId,
String password)
throws AccessException
userId - the id to identify the user.password - the password to identify the user.
AccessException - some situation| Method Detail |
public static void AllowSelfSignedSSL()
public static void ConfigureCache(String configurationBase,
String configurationFile)
public static IRppsService getInstance()
public static IRppsService getInstance(String userId,
String password)
throws AccessException
userId - the id to identify the user.password - the password to identify the user.
AccessException - some situationpublic static String resolveUserIdentifier(String privateSelectorINumber)
privateSelectorINumber - privateSelectorINumber
public CategoryTO addCategory(CategoryTO categoryTO)
throws RppsException
addCategory in interface IRppsServicecategoryTO - the card category information
RppsException - some situation
public void addClaimValuesMRU(String claimType,
String claimValue)
throws RppsException
addClaimValuesMRU in interface IRppsServiceclaimType - claim's typeclaimValue - claim's value
RppsException - some situation
public boolean addUrlCardRelation(String cuid,
String url)
throws RppsException,
org.eclipse.higgins.userprofile.UserProfileException
addUrlCardRelation in interface IRppsServicecuid - the icard's CUIDurl - the url of site
true if relation was added. Otherwise false
RppsException - some situation
org.eclipse.higgins.userprofile.UserProfileException
public boolean addRPEndPointCardRelation(String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException,
org.eclipse.higgins.userprofile.UserProfileException
addRPEndPointCardRelation in interface IRppsServicecuid - the icard's CUIDrpEndPointTO - the object which represents logging form on relying party
true if relation was added. Otherwise false
RppsException - some situation
org.eclipse.higgins.userprofile.UserProfileException - some situation
public ResponseMessage addUserProfile(UserProfileTO userProfile,
String password)
throws RppsException
addUserProfile in interface IRppsServiceuserProfile - the user profile information.password - the password to identify the user.
ResponseMessage with code field equals 0 if profile was
added. Otherwise returns ResponseMessage with error code or throws an RemoteException
RppsException - some situation
public void authenticate(String userId,
String password)
throws AccessException
userId - the id to identify the user.password - the password to identify the user.
AccessException - some situation
public FormatDescriptorTO checkImportStream(byte[] crd)
throws RppsException
RppsService can recognize data format of the provided input stream. Some formats
require authentication information in order to process input data. This method should be used prior to actual
attempt to import data from the input stream in order to retrieve an information about data format and required
authentication data to process the data successfully.
checkImportStream in interface IRppsServicecrd - context of file as byte array
null
otherwise.
RppsException - some situation
public ICardTO clearCardCredential(String cuid)
throws RppsException
clearCardCredential in interface IRppsServicecuid - the icard's CUID
RppsException - some situation
public boolean clearCardHistory(String cuid)
throws RppsException
clearCardHistory in interface IRppsServicecuid - the icard's CUID
true if card history was cleared. Otherwise false
RppsException - some situation
public ICardTO createDuplicateICard(String cardName,
String cuid,
String pinCode)
throws RppsException
createDuplicateICard in interface IRppsServicecardName - new card's namecuid - the old icard's cuidpinCode - pinCode for retrieve claims of personal card if that is pin protected. Otherwise null
RppsException - some situation
public ICardTO createICard(ICardTemplateTO template)
throws RppsException
createICard in interface IRppsServicetemplate - the icard's template
RemoteException
RppsException
public String createICardFromHBX(String cardname)
throws RppsException
createICardFromHBX in interface IRppsServicecardname - the card's name
RppsException - some situation
public void deleteAllICard()
throws RppsException
deleteAllICard in interface IRppsServiceRppsException - some situation
public boolean deleteCardHistoryRecord(String cuid,
String url)
throws RppsException
deleteCardHistoryRecord in interface IRppsServicecuid - the icard's CUIDurl - url of site which will be deleted from card history
true if card history record was deleted. Otherwise false
RppsException - some situation
public boolean deleteCardHistoryRecord(String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException
deleteCardHistoryRecord in interface IRppsServicecuid - the icard's CUIDrpEndPointTO - the object which represents logging form on relying party
true if card history record was deleted. Otherwise false
RppsException - some situation
public void deleteCategory(String categoryId)
throws RppsException
deleteCategory in interface IRppsServicecategoryId - category identifier
RppsException - some situation
public ICardUpdateResponseTO deleteICard(String cuid)
throws RppsException
deleteICard in interface IRppsServicecuid - the icard's CUID
code field equals
0 then card was updated correctly. Otherwise code field contains error code. If
deleted card had self signed type then cuid field contains cuid of personal card which had
been used to signed managed card.
RppsException - some situation
public void deleteOldPassword()
throws org.eclipse.higgins.userprofile.UserProfileException
deleteOldPassword in interface IRppsServiceorg.eclipse.higgins.userprofile.UserProfileException
public boolean deleteRPEndPointCardRelation(String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException
deleteRPEndPointCardRelation in interface IRppsServicecuid - the icard's CUIDrpEndPointTO - the object which represents logging form on relying party
true if relation was deleted. Otherwise false
RppsException - some situation
public boolean deleteUrlCardRelation(String cuid,
String url)
throws RppsException
deleteUrlCardRelation in interface IRppsServicecuid - the icard's CUIDurl - the url of site
true if relation was deleted. Otherwise false
RppsException - some situation
public boolean deleteUrlsCardsRelations(String cuid)
throws RppsException
deleteUrlsCardsRelations in interface IRppsServicecuid - the icard's CUID
true if relations were deleted. Otherwise false
RppsException - some situation
public boolean deleteRPEndPointsCardsRelations(String cuid)
throws RppsException
deleteRPEndPointsCardsRelations in interface IRppsServicecuid - the icard's CUID
true if relation was deleted. Otherwise false
RppsException - some situation
public ResponseMessage deleteUserProfile()
throws RppsException
deleteUserProfile in interface IRppsServiceRppsException - some situation
public ICardTO editPinCode(String cuid,
String oldPinCode,
String newPinCode)
throws RppsException
editPinCode in interface IRppsServicecuid - the icard's CUIDoldPinCode - Old pin codenewPinCode - New pin code
RppsException - some situation
public byte[] exportICards(String formatID,
String[] cards,
UITokenServiceCredentialTO credential)
throws RppsException
exportICards in interface IRppsServiceformatID - file's format identifiercards - the icard's CUIDscredential - authentication information
RppsException - some situation
public CardUsageTO[] getCardHistory(String cuid,
int startFrom,
int size,
String orderBy,
String orderDirection)
getCardHistory in interface IRppsServicecuid - the icard's CUIDstartFrom - starting position in the selectionsize - count of record which will be returnedorderBy - name of field which be used for sorting. Can take one of these values: "date","
site","useAlways"orderDirection - If value of this parameter is "desc" then result will be sorted in descending order.
Otherwise in ascending order.
RppsException - some situation
public CardUsageTO[] getCardHistoryLog(String cuid,
int startFrom,
int size,
String orderBy,
String orderDirection)
public CardInformationTO getCardInformation(String cuid,
int size)
throws RppsException
getCardInformation in interface IRppsServicecuid - the icard's CUIDsize - count of card history element which will be returned
RppsException - some situation
public CategoryTO[] getCategory()
throws RppsException
IRppsService
getCategory in interface IRppsServiceRppsException - some situation
public MapTO[] getClaimValuesMRU()
throws RppsException
IRppsService
getClaimValuesMRU in interface IRppsServiceRppsExceptionpublic CallbackHandler getHandler()
public String getHigginsServiceGlobalIName()
getHigginsServiceGlobalIName in interface IRppsService
public ICardTO getICardByCUID(String cuid)
throws RppsException
getICardByCUID in interface IRppsServicecuid - the card CUID.
RppsException
public ICardTO getICardByCUIDAndTokenServiceCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
throws RppsException,
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
getICardByCUIDAndTokenServiceCredential in interface IRppsServicecuid - the card CUID.tokenCredential - the tokenCredential transfer object
RppsException
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
public UIResponseCardTO getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
throws RppsException
getICardClaims in interface IRppsServicecuid - the card's cuid.policy - typeofCredential - credentialKey - credentialValue -
RppsException
public UIResponseCardTO getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
throws RppsException
getICardClaims in interface IRppsServicecuid - the card's cuid.policy - typeofCredential - credentialKey - credentialValue - rpEndPointTO - the object which represents logging form on relying party
RppsExceptionpublic ICardTemplateTO[] getICardCreationTemplate()
getICardCreationTemplate in interface IRppsService
public org.eclipse.higgins.icard.ICardTemplate[] getICardCreationTemplateByProvider(String extID)
throws RppsException
getICardCreationTemplateByProvider in interface IRppsServiceextID - the id to identify the card provider.
RppsException
public ICardTemplateTO getICardCreationTemplateByTUID(String tuid)
throws RppsException
RppsException
public org.eclipse.higgins.icard.ICardTemplate getICardCreationTemplateByTUID(org.eclipse.higgins.icard.TUID tuid)
throws org.eclipse.higgins.icard.CardException
org.eclipse.higgins.icard.CardException
public ICardsAndCategoryTO getICardsAndCategoriesByUser()
throws RppsException
getICardsAndCategoriesByUser in interface IRppsServiceRppsExceptionpublic ICardTO[] getICardsByCUIDs(String[] cuids)
getICardsByCUIDs in interface IRppsServicecuids - the card CUIDs.
public ICardTO[] getICardsByFormat(String formatID)
throws RppsException
getICardsByFormat in interface IRppsServiceformatID - the id of format file
RppsExceptionpublic ICardResponseTO getICardsByUser()
getICardsByUser in interface IRppsService
public FormatDescriptorTO[] getOutputFormats()
throws RppsException
getOutputFormats in interface IRppsServiceRppsException
public TokenResponseTO getTokenByClaims(String sslCert,
String[] claimName,
String[] claimValue)
throws RppsException
getTokenByClaims in interface IRppsServicesslCert - the SSL certificateclaimName - the array which contains claim namesclaimValue - the array which contains claim values
RppsException - some situation
public TokenResponseTO getTokenByUrl(String policy,
String policytype,
String sslCert,
String url)
throws RppsException
getTokenByUrl in interface IRppsServicepolicy - the RP Agent's Relying Party Security Policypolicytype - the RP Security Policy typesslCert - the SSL certificateurl - the url of site which needs token
RemoteException
RppsException
public TokenResponseTO getTokenByRPEndPoint(String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
throws RppsException
getTokenByRPEndPoint in interface IRppsServicepolicy - the RP Agent's Relying Party Security Policypolicytype - the RP Security Policy typesslCert - the SSL certificaterpEndPointTO - the object which represents logging form on relying party
RemoteException
RppsException
public ExtraTokenResponseTO getTokenExtraByRPEndPoint(String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
throws RppsException
getTokenExtraByRPEndPoint in interface IRppsServicepolicy - the RP Agent's Relying Party Security Policypolicytype - the RP Security Policy typesslCert - the SSL certificaterpEndPointTO - the object which represents logging form on relying party
RemoteException
RppsException
public ExtraTokenResponseTO getTokenExtraByUrl(String policy,
String policytype,
String sslCert,
String url)
throws RppsException
getTokenExtraByUrl in interface IRppsServicepolicy - the RP Agent's Relying Party Security Policypolicytype - the RP Security Policy typesslCert - the SSL certificateurl - the url of site which needs token
RemoteException
RppsException
public TokenResponseTO getTokenObject(String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
throws RppsException
getTokenObject in interface IRppsServicepolicy - 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 credentialrpEndPointTO - the object which represents logging form on relying party
RemoteException
RppsException
public TokenResponseTO getTokenObject(String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
throws RppsException
getTokenObject in interface IRppsServicepolicy - 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
RppsException
public UIResponseTO getUserInterface(RPEndPointTO rpEndPointTO,
String target,
String sslCert,
String policytype,
String policy)
throws RppsException
getUserInterface in interface IRppsServicetarget - sslCert - the SSL certificatepolicy - the RP Agent's Relying Party Security PolicyrpEndPointTO - the object which represents logging form on relying partypolicytype - the RP Security Policy type
RemoteException
RppsException
public UIResponseTO getUserInterface(String url,
String target,
String sslCert,
String policytype,
String policy)
throws RppsException
getUserInterface in interface IRppsServiceurl - the URL to the html page with
public UserProfileTO getUserProfile()
throws RppsException,
AccessException
IRppsService
getUserProfile in interface IRppsServiceAccessException
RppsException
public ICardResponseTO importICards(byte[] crd)
throws RppsException
importICards in interface IRppsServicecrd - the card as a byte array.
RppsException
public ICardResponseTO importICards(byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
throws RppsException
importICards in interface IRppsServicecrd - the card as a byte array.formatID - the data format of the input stream if available. If null is used all available data
formats will be checked in order to import.credential - the authentication data to proccess the input stream if required
RppsException
public ResponseMessage modifyCategories(CategoryTO[] categoriesTO)
throws RppsException
IRppsService
modifyCategories in interface IRppsServicecategoriesTO - list of card's category
ResponseMessage with code field equals 0 if categories
were updated. Otherwise returns ResponseMessage with error code or throws an RppsException
RppsException
public CategoryTO modifyCategory(CategoryTO categoryTO)
throws RppsException
IRppsService
modifyCategory in interface IRppsServicecategoryTO - category transfer object
RppsException
public UserProfileTO modifyUserProfile(UserProfileTO userProfile)
throws RppsException
modifyUserProfile in interface IRppsServiceuserProfile - user profile transfer object
RppsException - some situation
public void removeClaimValuesMRU(String claimType,
String claimValue)
throws RppsException
IRppsService
removeClaimValuesMRU in interface IRppsServiceclaimType - claim's typeclaimValue - claim's value
RppsException
public ICardTO resetPinCode(String cuid,
String oldPinCode)
throws RppsException
IRppsService
resetPinCode in interface IRppsServicecuid - the icard's CUIDoldPinCode - pin code
RppsException
public boolean setCardCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
throws RppsException
IRppsService
setCardCredential in interface IRppsServicecuid - the icard's CUIDtokenCredential - authentication card information
true if card credential was set. Otherwise false
RppsExceptionpublic void setHandler(CallbackHandler handler)
public void setNewPrivateUserPassword(String newPassword)
throws org.eclipse.higgins.userprofile.UserProfileException
setNewPrivateUserPassword in interface IRppsServiceorg.eclipse.higgins.userprofile.UserProfileException
public ICardTO setPinCode(String cuid,
String pinCode)
throws RppsException
IRppsService
setPinCode in interface IRppsServicecuid - the icard's CUIDpinCode - pin code
RppsException
public ICardUpdateResponseTO[] updateClaimsAcrossCards(String[] claimTypes,
String[] claimValues,
ICardUpdateTO[] cardUpdate)
throws RppsException
updateClaimsAcrossCards in interface IRppsServiceclaimTypes - array of claim's typesclaimValues - array of claim's types. Must be in the same order as claimTypescardUpdate - array of ICardUpdateTO
code
field equals 0 then card was updated correctly. Otherwise code field contains
error code
RppsException
public ICardTO updateICard(ICardTO icardTO)
throws RppsException
updateICard in interface IRppsServiceicardTO - the card transfer object.
RppsException
public ICardUpdateResponseTO[] updateICards(ICardTO[] icardTOList)
throws RppsException
updateICards in interface IRppsServiceicardTOList - list of cards which may be updated
RppsExceptionpublic boolean userIdentifierExists(String userIdentifier)
userIdentifierExists in interface IRppsServiceuserIdentifier -
true if user identifier exists. Otherwise false
RppsException - some situation
public ICardTO getDefaultPCard()
throws RppsException
IRppsService
getDefaultPCard in interface IRppsServiceRppsException
public void setDefaultPCard(String pcardId)
throws RppsException
IRppsService
setDefaultPCard in interface IRppsServicepcardId - personal card id (cuid)
RppsException - if coudn't find pcardId throw RppsException
public void generatePasswordResetCode(String userIdentifier)
throws RppsException
IRppsService
generatePasswordResetCode in interface IRppsServiceuserIdentifier - user login name
RppsExceptionWWM-1264 RPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public void modifyPasswordWithPasswordResetCode(String userIdentifier,
String passwordResetCode,
String newPassword)
throws RppsException
IRppsService
modifyPasswordWithPasswordResetCode in interface IRppsServiceuserIdentifier - newPassword - passwordResetCode -
RppsExceptionWWM-1264 RPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public void modifyPasswordWithOldPassword(String userIdentifier,
String oldPassword,
String newPassword)
throws RppsException
IRppsService
modifyPasswordWithOldPassword in interface IRppsServiceuserIdentifier - oldPassword - newPassword -
RppsExceptionWWM-1264 RPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public org.eclipse.higgins.userprofile.entity.Captcha createCaptcha()
throws RppsException
IRppsService
createCaptcha in interface IRppsServiceRppsExceptionWWM-1264 RPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public org.eclipse.higgins.userprofile.entity.Captcha getCaptcha(String id)
throws RppsException
IRppsService
getCaptcha in interface IRppsServiceid - entity Id
RppsExceptionWWM-1264 RPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public void deleteCaptcha(String id)
throws RppsException
IRppsService
deleteCaptcha in interface IRppsServiceid -
RppsExceptionWWM-1264 RPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||