|
||||||||||
| 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
public class RppsService
The object used for executing Higgins API and returning the results it produces.
| Nested Class Summary | |
|---|---|
static class |
RppsService.DummyTrustManagerFactory
|
| Field Summary | |
|---|---|
static ThreadLocal |
authenticateService
|
static ThreadLocal |
loginService
Instance of LoginService.. |
static ThreadLocal |
metaDataService
|
static ThreadLocal |
userAccountService
Instance of IUserAccountService. |
static ThreadLocal |
userProfileService
Instance of IUserProfileService . |
| Fields inherited from interface org.eclipse.higgins.rpps.core.IRppsService |
|---|
IPasswordCredential, IPinCodeCredential, ITSKerberosV5Credential, ITSSelfIssuedCredential, ITSSelfIssuedNonPinCredential, ITSUsernamePasswordCredential, ITSX509V3Credential, IUsernamePasswordCredential |
| Constructor Summary | |
|---|---|
RppsService()
|
|
| 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. |
static void |
AllowSelfSignedSSL()
|
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 by 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 for 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". |
static void |
ConfigureCache(String configurationBase,
String configurationFile)
|
UIResponseCardTO |
convertICard_To_UIResponseCardTO(org.eclipse.higgins.user.login.UserAccount userAccount,
org.eclipse.higgins.icard.ICard icard,
org.eclipse.higgins.user.profile.entity.WebForm webForm,
org.eclipse.higgins.icard.IPolicy policy,
org.eclipse.higgins.user.profile.entity.CardInformation cardInformation,
X509Certificate[] sslCerts)
Converts the card to the transfer object for the CARD element of UserInterfaceResponse. |
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 relation 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 size,
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. |
static Context |
getContext()
Return JNDI environment. |
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)
Gets a card by CUID and Credential. |
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)
Return templates for creating cards |
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. |
ICardTemplateTO |
getICardCreationTemplateByTUID(org.eclipse.higgins.user.login.UserAccount userAccount,
String tuid)
Return templates for creating cards. |
org.eclipse.higgins.icard.ICardTemplate |
getICardCreationTemplateByTUID(org.eclipse.higgins.user.login.UserAccount userAccount,
org.eclipse.higgins.icard.TUID tuid)
Return templates for creating cards. |
ICardsAndCategoryTO |
getICardsAndCategoriesByUser(org.eclipse.higgins.user.login.UserAccount userAccount)
Gets the card and category lists of the specified user. |
ICardTO[] |
getICardsByCUIDs(org.eclipse.higgins.user.login.UserAccount userAccount,
String[] cuids)
Gets cards 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)
Gets the card 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)
Web service operation. |
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)
Web service operation. |
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,
org.eclipse.higgins.icard.IPolicy policy,
String policytype,
String sslCert,
String[] cuids,
org.eclipse.higgins.icard.auth.ICredential credential,
org.eclipse.higgins.user.profile.entity.WebForm webForm)
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). |
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)
Web service operation. |
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)
Imports card from a file. |
ICardResponseTO |
importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd,
String formatID,
UITokenServiceCredentialTO credential,
Boolean[] importFlag)
Imports card from a 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 userProfileTO)
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)
Update claim across cards. |
ICardTO |
updateICard(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTO icardTO)
Update card. |
ICardUpdateResponseTO[] |
updateICards(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTO[] icardTOList)
Update card. |
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 |
void |
validateCaptcha(String captchaId,
String captchaResponse)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ThreadLocal loginService
public static final ThreadLocal metaDataService
public static final ThreadLocal authenticateService
public static final ThreadLocal userAccountService
public static final ThreadLocal userProfileService
| Constructor Detail |
|---|
public RppsService()
| Method Detail |
|---|
public static void AllowSelfSignedSSL()
public static void ConfigureCache(String configurationBase,
String configurationFile)
public static Context getContext()
throws NamingException
NamingException
public CategoryTO addCategory(org.eclipse.higgins.user.login.UserAccount userAccount,
CategoryTO categoryTO)
throws RppsException
addCategory in interface IRppsServicecategoryTO - the card category information
RppsException - some situation
public void addClaimValuesMRU(org.eclipse.higgins.user.login.UserAccount userAccount,
String claimType,
String claimValue)
throws RppsException
addClaimValuesMRU in interface IRppsServiceclaimType - claim's typeclaimValue - claim's value
RppsException - some situation
public boolean addRPEndPointCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException
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
public SelectorClientTO addSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
IRppsService
addSelectorClient in interface IRppsServiceorg.eclipse.higgins.user.profile.exception.UserProfileException
public SelectorClientTO[] getSelectorClients(org.eclipse.higgins.user.login.UserAccount userAccount)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
IRppsService
getSelectorClients in interface IRppsServiceorg.eclipse.higgins.user.profile.exception.UserProfileException
public SelectorClientTO addSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO,
String otp)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
IRppsService
addSelectorClient in interface IRppsServiceorg.eclipse.higgins.user.profile.exception.UserProfileException
public SelectorClientTO updateSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
IRppsService
updateSelectorClient in interface IRppsServiceorg.eclipse.higgins.user.profile.exception.UserProfileException
public void deleteSelectorClient(org.eclipse.higgins.user.login.UserAccount userAccount,
SelectorClientTO selectorClientTO)
throws org.eclipse.higgins.user.profile.exception.UserProfileException
IRppsService
deleteSelectorClient in interface IRppsServiceorg.eclipse.higgins.user.profile.exception.UserProfileException
public boolean addUrlCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String url)
throws RppsException
addUrlCardRelation in interface IRppsServicecuid - the icard's CUIDurl - the url of site
true if relation was added. Otherwise false
RppsException - 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 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
IRppsService
addUserProfileBase in interface IRppsServiceuserProfile - password -
org.eclipse.higgins.user.account.exception.UserAccountException
NoSuchAlgorithmException
UnsupportedEncodingException
org.eclipse.higgins.user.profile.exception.UserProfileException
public 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
authenticate in interface IRppsServiceauthCredentialTO - 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
public org.eclipse.higgins.user.login.UserAccount authenticate(String accessTokenId)
throws org.eclipse.higgins.user.login.exception.ConfigurationException,
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
authenticate in interface IRppsServiceaccessTokenId -
org.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
public 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
authenticate in interface IRppsServiceuserId - password -
org.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.user.login.exception.LoginException
public 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.
checkImportStream in interface IRppsServicecrd - context of file as byte array
null
otherwise.
RppsException - some situation
public ICardTO clearCardCredential(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
clearCardCredential in interface IRppsServicecuid - the icard's CUID
RppsException - some situation
public boolean clearCardHistory(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
clearCardHistory in interface IRppsServicecuid - the icard's CUID
true if card history was cleared. Otherwise false
RppsException - some situation
public UIResponseCardTO convertICard_To_UIResponseCardTO(org.eclipse.higgins.user.login.UserAccount userAccount,
org.eclipse.higgins.icard.ICard icard,
org.eclipse.higgins.user.profile.entity.WebForm webForm,
org.eclipse.higgins.icard.IPolicy policy,
org.eclipse.higgins.user.profile.entity.CardInformation cardInformation,
X509Certificate[] sslCerts)
card - the Higgins card.isCatchAuthentication - equals "true" if needs to generete AuthenticationRequiredException or AuthenticationException
public org.eclipse.higgins.user.profile.entity.Captcha createCaptcha()
throws RppsException
IRppsService
createCaptcha in interface IRppsServiceRppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public ICardTO createDuplicateICard(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTemplateTO template)
throws RppsException
createICard in interface IRppsServicetemplate - the icard's template
RemoteException
RppsException
public String createICardFromHBX(org.eclipse.higgins.user.login.UserAccount userAccount,
String cardname)
throws RppsException
createICardFromHBX in interface IRppsServicecardname - the card's name
RppsException - some situation
public void deleteAllICard(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
deleteAllICard in interface IRppsServiceRppsException - some situation
public void deleteCaptcha(String id)
throws RppsException
IRppsService
deleteCaptcha in interface IRppsServiceRppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public boolean deleteCardHistoryRecord(org.eclipse.higgins.user.login.UserAccount userAccount,
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 boolean deleteCardHistoryRecord(org.eclipse.higgins.user.login.UserAccount userAccount,
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 void deleteCategory(org.eclipse.higgins.user.login.UserAccount userAccount,
String categoryId)
throws RppsException
deleteCategory in interface IRppsServicecategoryId - category identifier
RppsException - some situation
public ICardUpdateResponseTO deleteICard(org.eclipse.higgins.user.login.UserAccount userAccount,
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 boolean deleteRPEndPointCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
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 deleteRPEndPointsCardsRelations(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
deleteRPEndPointsCardsRelations in interface IRppsServicecuid - the icard's CUID
true if relation was deleted. Otherwise false
RppsException - some situation
public boolean deleteUrlCardRelation(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
deleteUrlsCardsRelations in interface IRppsServicecuid - the icard's CUID
true if relations were deleted. Otherwise false
RppsException - some situation
public ResponseMessage deleteUserProfile(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
deleteUserProfile in interface IRppsServiceRppsException - some situation
public ICardTO editPinCode(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount,
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 void generatePasswordResetCode(String userIdentifier)
throws RppsException
IRppsService
generatePasswordResetCode in interface IRppsServiceuserIdentifier - user login name
RppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public org.eclipse.higgins.user.profile.entity.Captcha getCaptcha(String id)
throws RppsException
IRppsService
getCaptcha in interface IRppsServiceid - entity Id
RppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public CardUsageTO[] getCardHistory(org.eclipse.higgins.user.login.UserAccount userAccount,
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 CardInformationTO getCardInformation(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
IRppsService
getCategory in interface IRppsServiceuserId - password -
RppsException - some situation
public MapTO[] getClaimValuesMRU(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
IRppsService
getClaimValuesMRU in interface IRppsServiceRppsException
public ICardTO getDefaultPCard(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
IRppsService
getDefaultPCard in interface IRppsServiceRppsException
public ICardTO getICardByCUID(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid)
throws RppsException
getICardByCUID in interface IRppsServicecuid - the card CUID.
RppsException
public ICardTO getICardByCUIDAndTokenServiceCredential(org.eclipse.higgins.user.login.UserAccount userAccount,
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(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
getICardClaims in interface IRppsServicecuid - the card's cuid.policy - typeofCredential - credentialKey - credentialValue -
RppsException
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
public UIResponseCardTO getICardClaims(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount)
getICardCreationTemplate in interface IRppsService
public org.eclipse.higgins.icard.ICardTemplate[] getICardCreationTemplateByProvider(org.eclipse.higgins.user.login.UserAccount userAccount,
String extID)
throws RppsException
getICardCreationTemplateByProvider in interface IRppsServiceextID - the id to identify the card provider.
RppsException
public ICardTemplateTO getICardCreationTemplateByTUID(org.eclipse.higgins.user.login.UserAccount userAccount,
String tuid)
throws RppsException
RppsException
public org.eclipse.higgins.icard.ICardTemplate getICardCreationTemplateByTUID(org.eclipse.higgins.user.login.UserAccount userAccount,
org.eclipse.higgins.icard.TUID tuid)
throws org.eclipse.higgins.icard.CardException
org.eclipse.higgins.icard.CardException
public ICardsAndCategoryTO getICardsAndCategoriesByUser(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
getICardsAndCategoriesByUser in interface IRppsServiceRppsException
public ICardTO[] getICardsByCUIDs(org.eclipse.higgins.user.login.UserAccount userAccount,
String[] cuids)
getICardsByCUIDs in interface IRppsServicecuids - the card CUIDs.
public ICardTO[] getICardsByFormat(org.eclipse.higgins.user.login.UserAccount userAccount,
String formatID)
throws RppsException
getICardsByFormat in interface IRppsServiceformatID - the id of format file
RppsExceptionpublic ICardResponseTO getICardsByUser(org.eclipse.higgins.user.login.UserAccount userAccount)
getICardsByUser in interface IRppsService
public FormatDescriptorTO[] getOutputFormats(org.eclipse.higgins.user.login.UserAccount userAccount)
throws RppsException
getOutputFormats in interface IRppsServiceRppsException
public TokenResponseTO getTokenByRPEndPoint(org.eclipse.higgins.user.login.UserAccount userAccount,
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 TokenResponseTO getTokenByUrl(org.eclipse.higgins.user.login.UserAccount userAccount,
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 ExtraTokenResponseTO getTokenExtraByRPEndPoint(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount,
org.eclipse.higgins.icard.IPolicy policy,
String policytype,
String sslCert,
String[] cuids,
org.eclipse.higgins.icard.auth.ICredential credential,
org.eclipse.higgins.user.profile.entity.WebForm webForm)
throws RppsException,
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
handler - 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'credential - cardCredentialInfo - url -
RppsException - some situation
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
public 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
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
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
RemoteException
RppsException
public 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
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
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
RemoteException
RppsException
public UIResponseTO getUserInterface(org.eclipse.higgins.user.login.UserAccount userAccount,
RPEndPointTO rpEndPointTO,
String target,
String sslCert,
String policytype,
String policy)
throws RppsException
getUserInterface in interface IRppsServiceuserId - the id to identify the user.password - the password to identify the user.url - the URL to the html page with
public UIResponseTO getUserInterface(org.eclipse.higgins.user.login.UserAccount userAccount,
String url,
String target,
String sslCert,
String policytype,
String policy)
throws RppsException
getUserInterface in interface IRppsServiceuserId - the id to identify the user.password - the password to identify the user.url - the URL to the html page with
public 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
IRppsService
getUserProfile in interface IRppsServiceRppsException
org.eclipse.higgins.user.profile.exception.UserProfileException
org.eclipse.higgins.user.account.exception.UserAccountException
public ICardResponseTO importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd)
throws RppsException
importICards in interface IRppsServicecrd - the card as a byte array.
RppsException
public ICardResponseTO importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd,
String formatID,
UITokenServiceCredentialTO credential,
Boolean[] importFlag)
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 process the input stream if requiredimportFlag - Indicates which cards should be imported. Size of this array should be equal to the number of cards.
RppsException
public ICardResponseTO importICards(org.eclipse.higgins.user.login.UserAccount userAccount,
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 process the input stream if required
RppsException
public ResponseMessage modifyCategories(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount,
CategoryTO categoryTO)
throws RppsException
IRppsService
modifyCategory in interface IRppsServicecategoryTO - category transfer object
RppsException
public void modifyPasswordWithOldPassword(String userIdentifier,
String oldPassword,
String newPassword)
throws RppsException
IRppsService
modifyPasswordWithOldPassword in interface IRppsServiceRppsExceptionRPPS 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 IRppsServiceRppsExceptionRPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public UserProfileTO modifyUserProfile(org.eclipse.higgins.user.login.UserAccount userAccount,
UserProfileTO userProfileTO)
throws RppsException
modifyUserProfile in interface IRppsServiceuserProfile - user profile transfer object
RppsException - some situation
public void removeClaimValuesMRU(org.eclipse.higgins.user.login.UserAccount userAccount,
String claimType,
String claimValue)
throws RppsException
IRppsService
removeClaimValuesMRU in interface IRppsServiceclaimType - claim's typeclaimValue - claim's value
RppsException
public ICardTO resetPinCode(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String oldPinCode)
throws RppsException
IRppsService
resetPinCode in interface IRppsServicecuid - the icard's CUIDoldPinCode - pin code
RppsException
public boolean setCardCredential(org.eclipse.higgins.user.login.UserAccount userAccount,
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
RppsException
public void setDefaultPCard(org.eclipse.higgins.user.login.UserAccount userAccount,
String pcardId)
throws RppsException
IRppsService
setDefaultPCard in interface IRppsServicepcardId - personal card id (cuid)
RppsException - if coudn't find pcardId throw RppsException
public ICardTO setPinCode(org.eclipse.higgins.user.login.UserAccount userAccount,
String cuid,
String pinCode)
throws RppsException
IRppsService
setPinCode in interface IRppsServicecuid - the icard's CUIDpinCode - pin code
RppsException
public 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
IRppsService
signIn in interface IRppsServiceorg.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
public 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
IRppsService
signIn in interface IRppsServiceorg.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
public void signOut(String accessTokenId)
throws org.eclipse.higgins.user.login.exception.ConfigurationException,
org.eclipse.higgins.user.login.exception.LoginException
IRppsService
signOut in interface IRppsServiceorg.eclipse.higgins.user.login.exception.ConfigurationException
org.eclipse.higgins.user.login.exception.LoginException
public ICardUpdateResponseTO[] updateClaimsAcrossCards(org.eclipse.higgins.user.login.UserAccount userAccount,
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(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTO icardTO)
throws RppsException
updateICard in interface IRppsServiceuserId - the id to identify the user.password - the password to identify the user.icardTO - the card transfer object.
RppsException
public ICardUpdateResponseTO[] updateICards(org.eclipse.higgins.user.login.UserAccount userAccount,
ICardTO[] icardTOList)
throws RppsException
updateICards in interface IRppsServiceuserId - the id to identify the user.password - the password to identify the user.icardTO - the card transfer object.
RppsException
public boolean userIdentifierExists(String userIdentifier)
throws org.eclipse.higgins.user.account.exception.UserAccountException
userIdentifierExists in interface IRppsServiceuserIdentifier -
true if user identifier exists. Otherwise false
org.eclipse.higgins.user.account.exception.UserAccountException
RppsException - some situation
public 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
IRppsService
getOTP in interface IRppsServiceorg.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
public void validateCaptcha(String captchaId,
String captchaResponse)
throws org.eclipse.higgins.user.profile.exception.UserProfileException,
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.user.profile.exception.UserProfileException
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
public ImportCardInformationTO[] getImportingCardsInformation(org.eclipse.higgins.user.login.UserAccount userAccount,
byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
throws RppsException
getImportingCardsInformation in interface IRppsServicecrd - 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||