|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRppsService
The object used for executing Higgins API and returning the results it produces.
| Field Summary | |
|---|---|
static String |
IPasswordCredential
|
static String |
IPinCodeCredential
|
static String |
ITSKerberosV5Credential
|
static String |
ITSSelfIssuedCredential
|
static String |
ITSSelfIssuedNonPinCredential
|
static String |
ITSUsernamePasswordCredential
|
static String |
ITSX509V3Credential
|
static String |
IUsernamePasswordCredential
|
| Method Summary | |
|---|---|
CategoryTO |
addCategory(org.eclipse.higgins.user.login.UserAccount userAccount,
CategoryTO categoryTO)
Creates a new card's category. |
void |
addClaimValuesMRU(org.eclipse.higgins.user.login.UserAccount userAccount,
String claimType,
String claimValue)
Adds most recently used record. |
boolean |
addRPEndPointCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
RPEndPointTO rpEndPointTO)
Create relation between card and relying party. |
SelectorClientTO |
addSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO)
Register new selector client. |
SelectorClientTO |
addSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO,
String otp)
Check OTP and register new selector client. |
boolean |
addUrlCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String url)
Deprecated. |
ResponseMessage |
addUserProfile(UserProfileTO userProfile,
String password)
Creates a new user profile. |
org.eclipse.higgins.user.profile.entity.UserProfile |
addUserProfileBase(UserProfileTO userProfile,
String password)
Creates a new user profile. |
org.eclipse.higgins.user.login.UserAccount |
authenticate(AuthCredentialTO authCredentialTO)
Authenticate user by AuthCredentialTO. |
org.eclipse.higgins.user.login.UserAccount |
authenticate(String accessTokenId)
Authenticate user by Access Token Id. |
org.eclipse.higgins.user.login.UserAccount |
authenticate(String userId,
String password)
Authenticate user with username password. |
FormatDescriptorTO |
checkImportStream(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd)
Checks whether RppsService can recognize data format of the provided input stream. |
ICardTO |
clearCardCredential(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
Deletes saved authentication card information of the specified card. |
boolean |
clearCardHistory(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
Deletes card history of the specified card on all URLs unless it is checked as "Use Always". |
org.eclipse.higgins.user.profile.entity.Captcha |
createCaptcha()
Create new Captcha entity and store it via UserProfileService. |
ICardTO |
createDuplicateICard(org.eclipse.higgins.user.login.UserAccount userAccount,
String cardName,
String cuid,
String pinCode)
Creates duplicate of personal card only with new card's name. |
ICardTO |
createICard(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTemplateTO template)
Creates a new card by template. |
String |
createICardFromHBX(org.eclipse.higgins.user.login.UserAccount userAccount,
String cardname)
Deprecated. |
void |
deleteAllICard(org.eclipse.higgins.user.login.UserAccount userAccount)
Deletes all user's card. |
void |
deleteCaptcha(String id)
Delete Captcha entity via UserProfileService. |
boolean |
deleteCardHistoryRecord(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
RPEndPointTO rpEndPointTO)
Delete specified record of card history. |
boolean |
deleteCardHistoryRecord(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String url)
Deprecated. |
void |
deleteCategory(org.eclipse.higgins.user.login.UserAccount userAccount,
String categoryId)
Delete the card's category. |
ICardUpdateResponseTO |
deleteICard(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
Deletes specified card. |
boolean |
deleteRPEndPointCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
RPEndPointTO rpEndPointTO)
Delete relation between card and relying party. |
boolean |
deleteRPEndPointsCardsRelations(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
Delete all relations between card and relying party. |
void |
deleteSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO)
Delete SelectorClient. |
boolean |
deleteUrlCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String url)
Deprecated. |
boolean |
deleteUrlsCardsRelations(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
Deprecated. |
ResponseMessage |
deleteUserProfile(org.eclipse.higgins.user.login.UserAccount userAccount)
Deletes user profile. |
ICardTO |
editPinCode(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String oldPinCode,
String newPinCode)
Changes pin code for personal card. |
byte[] |
exportICards(org.eclipse.higgins.user.login.UserAccount userAccount,
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.user.profile.entity.Captcha |
getCaptcha(String id)
Retrieve Captcha entity via UserProfileService. |
CardUsageTO[] |
getCardHistory(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
int startFrom,
int capacity,
String orderBy,
String orderDirection)
Return list of card history records, beginning at the specified position in selection. |
CardInformationTO |
getCardInformation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
int size)
Gets card information object. |
CategoryTO[] |
getCategory(org.eclipse.higgins.user.login.UserAccount userAccount)
Gets list of card categories. |
MapTO[] |
getClaimValuesMRU(org.eclipse.higgins.user.login.UserAccount userAccount)
Gets most recently used records. |
ICardTO |
getDefaultPCard(org.eclipse.higgins.user.login.UserAccount userAccount)
Return default personal card. |
ICardTO |
getICardByCUID(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
Gets a card by CUID. |
ICardTO |
getICardByCUIDAndTokenServiceCredential(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
UITokenServiceCredentialTO tokenCredential)
This method gets the card with retrieved claims. |
UIResponseCardTO |
getICardClaims(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
Deprecated. |
UIResponseCardTO |
getICardClaims(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
Created for some demo. |
ICardTemplateTO[] |
getICardCreationTemplate(org.eclipse.higgins.user.login.UserAccount userAccount)
This method return list of card creation template as array of ICardTemplateTO. |
org.eclipse.higgins.icard.ICardTemplate[] |
getICardCreationTemplateByProvider(org.eclipse.higgins.user.login.UserAccount userAccount,
String extID)
This method return list of card creation template by provider id. |
ICardsAndCategoryTO |
getICardsAndCategoriesByUser(org.eclipse.higgins.user.login.UserAccount userAccount)
This method gets the card list and category list of the specified user. |
ICardTO[] |
getICardsByCUIDs(org.eclipse.higgins.user.login.UserAccount userAccount,
String[] cuids)
This method gets cards as array of ICardTO by CUIDs array. |
ICardTO[] |
getICardsByFormat(org.eclipse.higgins.user.login.UserAccount userAccount,
String formatID)
Gets cards which may be export to special file format. |
ICardResponseTO |
getICardsByUser(org.eclipse.higgins.user.login.UserAccount userAccount)
This method gets ICardResponseTO which contains the card list and card relation list of the specified user. |
ImportCardInformationTO[] |
getImportingCardsInformation(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
Get information about cards which can be imported from passed data |
void |
getOTP(AuthCredentialTO authCredentialTO,
String captchaId,
String captchaResponse,
String channel)
Generate new one time password(OTP) and send it to user. |
FormatDescriptorTO[] |
getOutputFormats(org.eclipse.higgins.user.login.UserAccount userAccount)
Gets available file format for cards export. |
SelectorClientTO[] |
getSelectorClients(org.eclipse.higgins.user.login.UserAccount userAccount)
Return arrays of selector clients. |
TokenResponseTO |
getTokenByRPEndPoint(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
Makes security token usage saved users information. |
TokenResponseTO |
getTokenByUrl(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
String url)
Deprecated. |
ExtraTokenResponseTO |
getTokenExtraByRPEndPoint(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
Makes security token with extra card's information usage saved users information. |
ExtraTokenResponseTO |
getTokenExtraByUrl(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
String url)
Deprecated. |
TokenResponseTO |
getTokenObject(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
Deprecated. |
TokenResponseTO |
getTokenObject(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
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). |
UIResponseTO |
getUserInterface(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount,
String url,
String target,
String sslCert,
String policytype,
String policy)
Deprecated. |
UserProfileTO |
getUserProfile(org.eclipse.higgins.user.login.UserAccount userAccount)
Gets user profile as a UserProfileTO. |
ICardResponseTO |
importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd)
Imports card from a file. |
ICardResponseTO |
importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
Import cards from special format file. |
ICardResponseTO |
importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd,
String formatID,
UITokenServiceCredentialTO credential,
Boolean[] importFlag)
Import cards from special format file. |
ResponseMessage |
modifyCategories(org.eclipse.higgins.user.login.UserAccount userAccount,
CategoryTO[] categoriesTO)
Modifies list of card's category. |
CategoryTO |
modifyCategory(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount,
UserProfileTO userProfile)
Update user profile. |
void |
removeClaimValuesMRU(org.eclipse.higgins.user.login.UserAccount userAccount,
String claimType,
String claimValue)
Deletes most recently used record. |
ICardTO |
resetPinCode(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String oldPinCode)
Remove pin code protection from personal card. |
boolean |
setCardCredential(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
UITokenServiceCredentialTO tokenCredential)
Saves authentication card information of the specified card. |
void |
setDefaultPCard(org.eclipse.higgins.user.login.UserAccount userAccount,
String pcardId)
Set default personal card. |
ICardTO |
setPinCode(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String pinCode)
Sets pin code protection on personal card. |
AccessTokenTO |
signIn(AuthCredentialTO authCredentialTO)
Authenticate user by AuthCredentialTO and start session with AccessTokenId. |
AccessTokenTO |
signIn(org.eclipse.higgins.user.login.UserAccount account)
Start session with AccessTokenId. |
void |
signOut(String accessTokenId)
Close session by AccessTokenId. |
ICardUpdateResponseTO[] |
updateClaimsAcrossCards(org.eclipse.higgins.user.login.UserAccount userAccount,
String[] claimTypes,
String[] claimValues,
ICardUpdateTO[] cardUpdate)
This method updates some claim values in list of cards. |
ICardTO |
updateICard(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTO icardTO)
This method update card. |
ICardUpdateResponseTO[] |
updateICards(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTO[] icardTOList)
This method update list of cards. |
SelectorClientTO |
updateSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO)
Update state and name of selector client. |
boolean |
userIdentifierExists(String userIdentifier)
Checks availability of user profile by userIdentifier. |
| Field Detail |
|---|
static final String ITSUsernamePasswordCredential
static final String ITSSelfIssuedCredential
static final String ITSKerberosV5Credential
static final String ITSX509V3Credential
static final String IPinCodeCredential
static final String ITSSelfIssuedNonPinCredential
static final String IUsernamePasswordCredential
static final String IPasswordCredential
| Method Detail |
|---|
CategoryTO addCategory(org.eclipse.higgins.user.login.UserAccount userAccount,
CategoryTO categoryTO)
throws RppsException
categoryTO - the card category information
RppsException
void addClaimValuesMRU(org.eclipse.higgins.user.login.UserAccount userAccount,
String claimType,
String claimValue)
throws RppsException
claimType - claim's typeclaimValue - claim's value
RppsException
boolean addRPEndPointCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException
cuid - the icard's CUIDrpEndPointTO - the object which represents logging form on relying party
true if relation was added. Otherwise false
RppsException
SelectorClientTO addSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
userAccount - selectorClientTO -
org.eclipse.higgins.user.profile.exception.UserProfileException
SelectorClientTO addSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO,
String otp)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
userAccount - selectorClientTO - otp -
org.eclipse.higgins.user.profile.exception.UserProfileException
SelectorClientTO[] getSelectorClients(org.eclipse.higgins.user.login.UserAccount userAccount)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
userAccount -
org.eclipse.higgins.user.profile.exception.UserProfileException
void deleteSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
userAccount - selectorClientTO -
org.eclipse.higgins.user.profile.exception.UserProfileException
SelectorClientTO updateSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
userAccount - selectorClientTO -
org.eclipse.higgins.user.profile.exception.UserProfileException
boolean addUrlCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String url)
throws RppsException
cuid - the icard's CUIDurl - the url of site
true if relation was added. Otherwise false
RppsException
ResponseMessage addUserProfile(UserProfileTO userProfile,
String password)
throws RppsException
userProfile - the userProfile profile information as UserProfileTOpassword - 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 RppsException
RppsException
org.eclipse.higgins.user.profile.entity.UserProfile addUserProfileBase(UserProfileTO userProfile,
String password)
throws org.eclipse.higgins.user.account.exception.UserAccountException,
NoSuchAlgorithmException,
UnsupportedEncodingException,
org.eclipse.higgins.user.profile.exception.UserProfileException
userProfile - password -
org.eclipse.higgins.user.account.exception.UserAccountException
NoSuchAlgorithmException
UnsupportedEncodingException
org.eclipse.higgins.user.profile.exception.UserProfileException
org.eclipse.higgins.user.login.UserAccount authenticate(AuthCredentialTO authCredentialTO)
throws org.eclipse.higgins.user.login.exception.ConfigurationException,
org.eclipse.higgins.user.login.exception.LoginException,
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
org.eclipse.higgins.user.profile.exception.UserProfileException
authCredentialTO - TODO
org.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.user.login.exception.LoginException
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.user.profile.exception.UserProfileException
org.eclipse.higgins.user.login.UserAccount authenticate(String accessTokenId)
throws org.eclipse.higgins.user.login.exception.ConfigurationException,
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
accessTokenId -
org.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.user.login.UserAccount authenticate(String userId,
String password)
throws org.eclipse.higgins.user.login.exception.ConfigurationException,
org.eclipse.higgins.user.login.exception.LoginException
userId - password -
org.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.user.login.exception.LoginException
FormatDescriptorTO checkImportStream(org.eclipse.higgins.user.login.UserAccount userAccount,
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.
crd - context of file as byte array
null
otherwise.
RppsException
ICardTO clearCardCredential(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
cuid - the icard's CUID
RppsException
boolean clearCardHistory(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
cuid - the icard's CUID
true if card history was cleared. Otherwise false
RppsException
org.eclipse.higgins.user.profile.entity.Captcha createCaptcha()
throws RppsException
RppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
ICardTO createDuplicateICard(org.eclipse.higgins.user.login.UserAccount userAccount,
String cardName,
String cuid,
String pinCode)
throws RppsException
cardName - new card's namecuid - the old icard's cuidpinCode - pinCode for retrieve claims of personal card if that is pin protected. Otherwise null
RppsException
ICardTO createICard(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTemplateTO template)
throws RppsException
template - the icard's template
RppsException
String createICardFromHBX(org.eclipse.higgins.user.login.UserAccount userAccount,
String cardname)
throws RppsException
cardname - the card's name
RppsException
void deleteAllICard(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
RppsException
void deleteCaptcha(String id)
throws RppsException
id -
RppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
boolean deleteCardHistoryRecord(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException
cuid - the icard's CUIDrpEndPointTO - the object which represents logging form on relying party
true if card history record was deleted. Otherwise false
RppsException
boolean deleteCardHistoryRecord(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String url)
throws RppsException
cuid - the icard's CUIDurl - the url of site
true if card history record was deleted. Otherwise false
RppsException
void deleteCategory(org.eclipse.higgins.user.login.UserAccount userAccount,
String categoryId)
throws RppsException
categoryId - category identifier
RppsException
ICardUpdateResponseTO deleteICard(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
cuid - 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
boolean deleteRPEndPointCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException
cuid - the icard's CUIDrpEndPointTO - the object which represents logging form on relying party
true if relation was deleted. Otherwise false
RppsException
boolean deleteRPEndPointsCardsRelations(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
cuid - the icard's CUID
true if relations were deleted. Otherwise false
RppsException
boolean deleteUrlCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String url)
throws RppsException
cuid - the icard's CUIDurl - the url of site
true if relation was deleted. Otherwise false
RppsException
boolean deleteUrlsCardsRelations(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
cuid - the icard's CUID
true if relations were deleted. Otherwise false
RppsException
ResponseMessage deleteUserProfile(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
RppsException
ICardTO editPinCode(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String oldPinCode,
String newPinCode)
throws RppsException
cuid - the icard's CUIDoldPinCode - Old pin codenewPinCode - New pin code
RppsException
byte[] exportICards(org.eclipse.higgins.user.login.UserAccount userAccount,
String formatID,
String[] cards,
UITokenServiceCredentialTO credential)
throws RppsException
formatID - file's format identifiercards - the icard's CUIDscredential - authentication information
RppsException
void generatePasswordResetCode(String userIdentifier)
throws RppsException
userIdentifier - user login name
RppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
org.eclipse.higgins.user.profile.entity.Captcha getCaptcha(String id)
throws RppsException
id - entity Id
RppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
CardUsageTO[] getCardHistory(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
int startFrom,
int capacity,
String orderBy,
String orderDirection)
cuid - the icard's CUIDstartFrom - starting position in the selectioncapacity - 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
CardInformationTO getCardInformation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
int size)
throws RppsException
cuid - the icard's CUIDsize - count of card history element which will be returned
RppsException
CategoryTO[] getCategory(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
RppsException
MapTO[] getClaimValuesMRU(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
RppsException
ICardTO getDefaultPCard(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
RppsException
ICardTO getICardByCUID(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
cuid - the card CUID.
RppsException
ICardTO getICardByCUIDAndTokenServiceCredential(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
UITokenServiceCredentialTO tokenCredential)
throws RppsException,
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
cuid - the card's cuidtokenCredential - filled card credential for retrieve claims
RppsException
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
UIResponseCardTO getICardClaims(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
throws RppsException,
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
cuid - the card's cuid.policy - typeofCredential - credentialKey - credentialValue -
RppsException
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
UIResponseCardTO getICardClaims(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
throws RppsException
cuid - the card's cuid.policy - typeofCredential - credentialKey - credentialValue - rpEndPointTO - the object which represents logging form on relying party
RppsExceptionICardTemplateTO[] getICardCreationTemplate(org.eclipse.higgins.user.login.UserAccount userAccount)
RppsException
org.eclipse.higgins.icard.ICardTemplate[] getICardCreationTemplateByProvider(org.eclipse.higgins.user.login.UserAccount userAccount,
String extID)
throws RppsException
extID - the id to identify the card provider.
RppsException
ICardsAndCategoryTO getICardsAndCategoriesByUser(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
RppsException
ICardTO[] getICardsByCUIDs(org.eclipse.higgins.user.login.UserAccount userAccount,
String[] cuids)
cuids - the card CUIDs.
ICardTO[] getICardsByFormat(org.eclipse.higgins.user.login.UserAccount userAccount,
String formatID)
throws RppsException
formatID - the id of format file
RppsExceptionICardResponseTO getICardsByUser(org.eclipse.higgins.user.login.UserAccount userAccount)
FormatDescriptorTO[] getOutputFormats(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
RppsException
TokenResponseTO getTokenByRPEndPoint(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
throws RppsException
policy - 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
RppsException
TokenResponseTO getTokenByUrl(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
String url)
throws RppsException
policy - the RP Agent's Relying Party Security Policypolicytype - the RP Security Policy typesslCert - the SSL certificateurl - the url of site which needs token
RppsException
ExtraTokenResponseTO getTokenExtraByRPEndPoint(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
throws RppsException
policy - 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
RppsException
ExtraTokenResponseTO getTokenExtraByUrl(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
String url)
throws RppsException
policy - the RP Agent's Relying Party Security Policypolicytype - the RP Security Policy typesslCert - the SSL certificateurl - the url of site which needs token
RppsException
TokenResponseTO getTokenObject(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
throws RppsException,
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
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
RppsException
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
TokenResponseTO getTokenObject(org.eclipse.higgins.user.login.UserAccount userAccount,
String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
throws RppsException,
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
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 credentialrpEndPointTO - the object which represents logging form on relying party
RppsException
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
UIResponseTO getUserInterface(org.eclipse.higgins.user.login.UserAccount userAccount,
RPEndPointTO rpEndPointTO,
String target,
String sslCert,
String policytype,
String policy)
throws RppsException
rpEndPointTO - the object which represents logging form on relying partytarget - some informationsslCert - the SSL certificatepolicytype - the RP Security Policy typepolicy - the RP Agent's Relying Party Security Policy
RppsException
UIResponseTO getUserInterface(org.eclipse.higgins.user.login.UserAccount userAccount,
String url,
String target,
String sslCert,
String policytype,
String policy)
throws RppsException
url - the URL to the html page with special tagtarget - some informationsslCert - the SSL certificatepolicytype - the RP Security Policy typepolicy - the RP Agent's Relying Party Security Policy
RppsException
UserProfileTO getUserProfile(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException,
org.eclipse.higgins.user.profile.exception.UserProfileException,
org.eclipse.higgins.user.account.exception.UserAccountException
RppsException
org.eclipse.higgins.user.profile.exception.UserProfileException
org.eclipse.higgins.user.account.exception.UserAccountException
ICardResponseTO importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd)
throws RppsException
crd - the file's context as a byte array.
RppsException
ICardResponseTO importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
throws RppsException
crd - file's contextformatID - file's format identifiercredential - authentication information
RppsException
ICardResponseTO importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd,
String formatID,
UITokenServiceCredentialTO credential,
Boolean[] importFlag)
throws RppsException
userAccount - crd - formatID - credential - importFlag -
RppsException
ImportCardInformationTO[] getImportingCardsInformation(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
throws RppsException
crd - the card source (.crd, .crds, etc.) 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 process the input stream if requiredimportFlag - Indicates which cards should be imported. Size of this array
should be equal to the number of cards. If null than all cards
will be imported.
RppsException
ResponseMessage modifyCategories(org.eclipse.higgins.user.login.UserAccount userAccount,
CategoryTO[] categoriesTO)
throws RppsException
categoriesTO - 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
CategoryTO modifyCategory(org.eclipse.higgins.user.login.UserAccount userAccount,
CategoryTO categoryTO)
throws RppsException
categoryTO - category transfer object
RppsException
void modifyPasswordWithOldPassword(String userIdentifier,
String oldPassword,
String newPassword)
throws RppsException
userIdentifier - oldPassword - newPassword -
RppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
void modifyPasswordWithPasswordResetCode(String userIdentifier,
String passwordResetCode,
String newPassword)
throws RppsException
userIdentifier - newPassword - passwordResetCode -
RppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
UserProfileTO modifyUserProfile(org.eclipse.higgins.user.login.UserAccount userAccount,
UserProfileTO userProfile)
throws RppsException
userProfile - user profile transfer object
RppsException
void removeClaimValuesMRU(org.eclipse.higgins.user.login.UserAccount userAccount,
String claimType,
String claimValue)
throws RppsException
claimType - claim's typeclaimValue - claim's value
RppsException
ICardTO resetPinCode(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String oldPinCode)
throws RppsException
cuid - the icard's CUIDoldPinCode - pin code
RppsException
boolean setCardCredential(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
UITokenServiceCredentialTO tokenCredential)
throws RppsException
cuid - the icard's CUIDtokenCredential - authentication card information
true if card credential was set. Otherwise false
RppsException
void setDefaultPCard(org.eclipse.higgins.user.login.UserAccount userAccount,
String pcardId)
throws RppsException
pcardId - personal card id (cuid)
RppsException - if coudn't find pcardId throw RppsException
ICardTO setPinCode(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String pinCode)
throws RppsException
cuid - the icard's CUIDpinCode - pin code
RppsException
AccessTokenTO signIn(AuthCredentialTO authCredentialTO)
throws org.eclipse.higgins.user.login.exception.ConfigurationException,
org.eclipse.higgins.user.login.exception.LoginException,
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
org.eclipse.higgins.user.profile.exception.UserProfileException
authCredentialTO -
org.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.user.login.exception.LoginException
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.user.profile.exception.UserProfileException
AccessTokenTO signIn(org.eclipse.higgins.user.login.UserAccount account)
throws org.eclipse.higgins.user.login.exception.ConfigurationException,
org.eclipse.higgins.user.login.exception.LoginException,
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
org.eclipse.higgins.user.profile.exception.UserProfileException
account -
org.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.user.login.exception.LoginException
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.user.profile.exception.UserProfileException
void getOTP(AuthCredentialTO authCredentialTO,
String captchaId,
String captchaResponse,
String channel)
throws org.eclipse.higgins.user.login.exception.ConfigurationException,
org.eclipse.higgins.user.login.exception.LoginException,
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
org.eclipse.higgins.user.profile.exception.UserProfileException,
NoSuchAlgorithmException,
CommunicationException
authCredentialTO - captchaId - captchaResponse - channel -
org.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.user.login.exception.LoginException
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.user.profile.exception.UserProfileException
NoSuchAlgorithmException
CommunicationExceptionhttps://camelot.parityinc.net/mediawiki/index.php/Serialized_Client
void signOut(String accessTokenId)
throws org.eclipse.higgins.user.login.exception.ConfigurationException,
org.eclipse.higgins.user.login.exception.LoginException
accessTokenId -
org.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.user.login.exception.LoginException
ICardUpdateResponseTO[] updateClaimsAcrossCards(org.eclipse.higgins.user.login.UserAccount userAccount,
String[] claimTypes,
String[] claimValues,
ICardUpdateTO[] cardUpdate)
throws RppsException
claimTypes - 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
ICardTO updateICard(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTO icardTO)
throws RppsException
icardTO - the card transfer object.
RppsException
ICardUpdateResponseTO[] updateICards(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTO[] icardTOList)
throws RppsException
icardTOList - list of cards which may be updated
RppsException
boolean userIdentifierExists(String userIdentifier)
throws org.eclipse.higgins.user.account.exception.UserAccountException
userIdentifier -
true if user identifier exists. Otherwise false
org.eclipse.higgins.user.account.exception.UserAccountException
RppsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||