|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
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(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. |
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 of the specified card. |
boolean |
clearCardHistory(String cuid)
Deletes card history of the specified card on all URLs unless it is checked as "Use Always". |
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 all relations 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 capacity,
String orderBy,
String orderDirection)
Return list of card history records, beginning at the specified position in selection. |
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. |
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)
This method gets the card with retrieved claims. |
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()
This method return list of card creation template as array of ICardTemplateTO. |
org.eclipse.higgins.icard.ICardTemplate[] |
getICardCreationTemplateByProvider(String extID)
This method return list of card creation template by provider id. |
ICardsAndCategoryTO |
getICardsAndCategoriesByUser()
This method gets the card list and category list of the specified user. |
ICardTO[] |
getICardsByCUIDs(String[] cuids)
This method gets cards as array of ICardTO by CUIDs array. |
ICardTO[] |
getICardsByFormat(String formatID)
Gets cards which may be export to special file format. |
ICardResponseTO |
getICardsByUser()
This method gets ICardResponseTO which contains the card list and card relation list of the specified user. |
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)
Makes security token usage saved users information. |
TokenResponseTO |
getTokenByUrl(String policy,
String policytype,
String sslCert,
String url)
Deprecated. |
ExtraTokenResponseTO |
getTokenExtraByRPEndPoint(String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
Makes security token with extra card's information usage saved users information. |
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)
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(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)
Import cards from special format 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. |
boolean |
setCardCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
Saves authentication card information of the specified card. |
void |
setDefaultPCard(String pcardId)
Set default personal card. |
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)
This method updates some claim values in list of cards. |
ICardTO |
updateICard(ICardTO icardTO)
This method update card. |
ICardUpdateResponseTO[] |
updateICards(ICardTO[] icardTOList)
This method update list of cards. |
boolean |
userIdentifierExists(String userIdentifier)
Checks availability of user profile by userIdentifier. |
| Field Detail |
public static final String ITSUsernamePasswordCredential
public static final String ITSSelfIssuedCredential
public static final String ITSKerberosV5Credential
public static final String ITSX509V3Credential
public static final String IPinCodeCredential
public static final String ITSSelfIssuedNonPinCredential
public static final String IUsernamePasswordCredential
public static final String IPasswordCredential
| Method Detail |
public CategoryTO addCategory(CategoryTO categoryTO)
throws RppsException
categoryTO - the card category information
RppsException
public void addClaimValuesMRU(String claimType,
String claimValue)
throws RppsException
claimType - claim's typeclaimValue - claim's value
RppsException
public 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
public boolean addRPEndPointCardRelation(String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException,
org.eclipse.higgins.userprofile.UserProfileException
cuid - the icard's CUIDrpEndPointTO - the object which represents logging form on relying party
true if relation was added. Otherwise false
RppsException
org.eclipse.higgins.userprofile.UserProfileException
public boolean addUrlCardRelation(String cuid,
String url)
throws RppsException,
org.eclipse.higgins.userprofile.UserProfileException
cuid - the icard's CUIDurl - the url of site
true if relation was added. Otherwise false
RppsException
org.eclipse.higgins.userprofile.UserProfileException
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.
crd - context of file as byte array
null
otherwise.
RppsException
public ICardTO clearCardCredential(String cuid)
throws RppsException
cuid - the icard's CUID
RppsException
public boolean clearCardHistory(String cuid)
throws RppsException
cuid - the icard's CUID
true if card history was cleared. Otherwise false
RppsException
public ICardTO createDuplicateICard(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
public ICardTO createICard(ICardTemplateTO template)
throws RppsException
template - the icard's template
RppsException
public String createICardFromHBX(String cardname)
throws RppsException
cardname - the card's name
RppsException
public void deleteAllICard()
throws RppsException
RppsException
public boolean deleteCardHistoryRecord(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
public boolean deleteCardHistoryRecord(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
public void deleteCategory(String categoryId)
throws RppsException
categoryId - category identifier
RppsException
public ICardUpdateResponseTO deleteICard(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
public void deleteOldPassword()
throws org.eclipse.higgins.userprofile.UserProfileException
org.eclipse.higgins.userprofile.UserProfileException
public boolean deleteUrlCardRelation(String cuid,
String url)
throws RppsException
cuid - the icard's CUIDurl - the url of site
true if relation was deleted. Otherwise false
RppsException
public boolean deleteRPEndPointCardRelation(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
public boolean deleteUrlsCardsRelations(String cuid)
throws RppsException
cuid - the icard's CUID
true if relations were deleted. Otherwise false
RppsException
public boolean deleteRPEndPointsCardsRelations(String cuid)
throws RppsException
cuid - the icard's CUID
true if relations were deleted. Otherwise false
RppsException
public ResponseMessage deleteUserProfile()
throws RppsException
RppsException
public ICardTO editPinCode(String cuid,
String oldPinCode,
String newPinCode)
throws RppsException
cuid - the icard's CUIDoldPinCode - Old pin codenewPinCode - New pin code
RppsException
public byte[] exportICards(String formatID,
String[] cards,
UITokenServiceCredentialTO credential)
throws RppsException
formatID - file's format identifiercards - the icard's CUIDscredential - authentication information
RppsException
public CardUsageTO[] getCardHistory(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
public CardInformationTO getCardInformation(String cuid,
int size)
throws RppsException
cuid - the icard's CUIDsize - count of card history element which will be returned
RppsException
public CategoryTO[] getCategory()
throws RppsException
RppsException
public MapTO[] getClaimValuesMRU()
throws RppsException
RppsExceptionpublic String getHigginsServiceGlobalIName()
public ICardTO getICardByCUID(String cuid)
throws RppsException
cuid - the card CUID.
RppsException
public ICardTO getICardByCUIDAndTokenServiceCredential(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
public UIResponseCardTO getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
throws RppsException
cuid - 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
cuid - the card's cuid.policy - typeofCredential - credentialKey - credentialValue - rpEndPointTO - the object which represents logging form on relying party
RppsException
public ICardTemplateTO[] getICardCreationTemplate()
throws RppsException
RppsException
public org.eclipse.higgins.icard.ICardTemplate[] getICardCreationTemplateByProvider(String extID)
throws RppsException
extID - the id to identify the card provider.
RppsException
public ICardsAndCategoryTO getICardsAndCategoriesByUser()
throws RppsException
RppsExceptionpublic ICardTO[] getICardsByCUIDs(String[] cuids)
cuids - the card CUIDs.
public ICardTO[] getICardsByFormat(String formatID)
throws RppsException
formatID - the id of format file
RppsExceptionpublic ICardResponseTO getICardsByUser()
public FormatDescriptorTO[] getOutputFormats()
throws RppsException
RppsException
public TokenResponseTO getTokenByClaims(String sslCert,
String[] claimName,
String[] claimValue)
throws RppsException
sslCert - the SSL certificateclaimName - the array which contains claim namesclaimValue - the array which contains claim values
RppsException
public TokenResponseTO getTokenByRPEndPoint(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
public TokenResponseTO getTokenByUrl(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
public ExtraTokenResponseTO getTokenExtraByUrl(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
public ExtraTokenResponseTO getTokenExtraByRPEndPoint(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
public TokenResponseTO getTokenObject(String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
throws RppsException
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
public TokenResponseTO getTokenObject(String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
throws RppsException
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
public UIResponseTO getUserInterface(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
public UIResponseTO getUserInterface(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
public UserProfileTO getUserProfile()
throws RppsException,
AccessException
RppsException
AccessException
public ICardResponseTO importICards(byte[] crd)
throws RppsException
crd - the file's context as a byte array.
RppsException
public ICardResponseTO importICards(byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
throws RppsException
crd - file's contextformatID - file's format identifiercredential - authentication information
RppsException
public ResponseMessage modifyCategories(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
public CategoryTO modifyCategory(CategoryTO categoryTO)
throws RppsException
categoryTO - category transfer object
RppsException
public UserProfileTO modifyUserProfile(UserProfileTO userProfile)
throws RppsException
userProfile - user profile transfer object
RppsException
public void removeClaimValuesMRU(String claimType,
String claimValue)
throws RppsException
claimType - claim's typeclaimValue - claim's value
RppsException
public ICardTO resetPinCode(String cuid,
String oldPinCode)
throws RppsException
cuid - the icard's CUIDoldPinCode - pin code
RppsException
public boolean setCardCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
throws RppsException
cuid - the icard's CUIDtokenCredential - authentication card information
true if card credential was set. Otherwise false
RppsException
public void setNewPrivateUserPassword(String newPassword)
throws org.eclipse.higgins.userprofile.UserProfileException
org.eclipse.higgins.userprofile.UserProfileException
public ICardTO setPinCode(String cuid,
String pinCode)
throws RppsException
cuid - the icard's CUIDpinCode - pin code
RppsException
public ICardUpdateResponseTO[] updateClaimsAcrossCards(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
public ICardTO updateICard(ICardTO icardTO)
throws RppsException
icardTO - the card transfer object.
RppsException
public ICardUpdateResponseTO[] updateICards(ICardTO[] icardTOList)
throws RppsException
icardTOList - list of cards which may be updated
RppsExceptionpublic boolean userIdentifierExists(String userIdentifier)
userIdentifier -
true if user identifier exists. Otherwise false
RppsException
public void setDefaultPCard(String pcardId)
throws RppsException
pcardId - personal card id (cuid)
RppsException - if coudn't find pcardId throw RppsException
public ICardTO getDefaultPCard()
throws RppsException
RppsException
public void generatePasswordResetCode(String userIdentifier)
throws RppsException
userIdentifier - 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
userIdentifier - 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
userIdentifier - 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
RppsExceptionWWM-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
id - entity Id
RppsExceptionWWM-1264 RPPS Changes for password reset http://graceland.parityinc.net:8090/browse/WWM-1264
public void deleteCaptcha(String id)
throws RppsException
id -
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 | |||||||||||