|
||||||||||||
| 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 url |
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". |
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. |
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)
|
boolean |
deleteRPEndPointsCardsRelations(String cuid)
|
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)
|
byte[] |
exportICards(String formatID,
String[] cards,
UITokenServiceCredentialTO credential)
|
CardUsageTO[] |
getCardHistory(String cuid,
int startFrom,
int capacity,
String orderBy,
String orderDirection)
|
CardInformationTO |
getCardInformation(String cuid,
int size)
|
CategoryTO[] |
getCategory()
|
MapTO[] |
getClaimValuesMRU()
|
String |
getHigginsServiceGlobalIName()
Gets the global i-name registered to the Higgins service (e.g. |
ICardTO |
getICardByCUID(String cuid)
Gets a card by CUID. |
ICardTO |
getICardByCUIDAndTokenServiceCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
Gets a card by CUID and Credential. |
UIResponseCardTO |
getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
Deprecated. |
UIResponseCardTO |
getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
|
ICardTemplateTO[] |
getICardCreationTemplate()
Return templates for creating cards |
org.eclipse.higgins.icard.ICardTemplate[] |
getICardCreationTemplateByProvider(String extID)
|
ICardsAndCategoryTO |
getICardsAndCategoriesByUser()
Gets the card and category lists of the specified user. |
ICardTO[] |
getICardsByCUIDs(String[] cuids)
Gets cards by CUIDs array. |
ICardTO[] |
getICardsByFormat(String formatID)
|
ICardResponseTO |
getICardsByUser()
Gets the card list of the specified user. |
FormatDescriptorTO[] |
getOutputFormats()
|
TokenResponseTO |
getTokenByClaims(String sslCert,
String[] claimName,
String[] claimValue)
Web service operation. |
TokenResponseTO |
getTokenByRPEndPoint(String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
Web service operation. |
TokenResponseTO |
getTokenByUrl(String policy,
String policytype,
String sslCert,
String url)
Deprecated. |
ExtraTokenResponseTO |
getTokenExtraByRPEndPoint(String policy,
String policytype,
String sslCert,
RPEndPointTO rpEndPointTO)
Web service operation. |
ExtraTokenResponseTO |
getTokenExtraByUrl(String policy,
String policytype,
String sslCert,
String url)
Deprecated. |
TokenResponseTO |
getTokenObject(String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
Deprecated. |
TokenResponseTO |
getTokenObject(String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
Web service operation. |
UIResponseTO |
getUserInterface(RPEndPointTO rpEndPointTO,
String target,
String sslCert,
String policytype,
String policy)
This method takes as input a policy---for example, one that has been retrieved from the Relying Party Agent (called here the 'Requester')---as well as a description of the Requester. |
UIResponseTO |
getUserInterface(String url,
String target,
String sslCert,
String policytype,
String policy)
Deprecated. |
UserProfileTO |
getUserProfile()
|
ICardResponseTO |
importICards(byte[] crd)
Imports card from a file. |
ICardResponseTO |
importICards(byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
|
ResponseMessage |
modifyCategories(CategoryTO[] categoriesTO)
|
CategoryTO |
modifyCategory(CategoryTO categoryTO)
|
UserProfileTO |
modifyUserProfile(UserProfileTO userProfile)
Update user profile |
void |
removeClaimValuesMRU(String claimType,
String claimValue)
|
ICardTO |
resetPinCode(String cuid,
String oldPinCode)
|
boolean |
setCardCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
|
void |
setNewPrivateUserPassword(String newPassword)
|
ICardTO |
setPinCode(String cuid,
String pinCode)
|
ICardUpdateResponseTO[] |
updateClaimsAcrossCards(String[] claimTypes,
String[] claimValues,
ICardUpdateTO[] cardUpdate)
|
ICardTO |
updateICard(ICardTO icardTO)
Update card. |
ICardUpdateResponseTO[] |
updateICards(ICardTO[] icardTOList)
|
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 UserProfileTO
ResponseMessage with code field equals 0 if profile was
added. Otherwise returns ResponseMessage with error code or throws an RemoteException
RemoteException
RppsException
public boolean addRPEndPointCardRelation(String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException,
org.eclipse.higgins.userprofile.UserProfileException
cuid - the icard's CUID
RppsException
org.eclipse.higgins.userprofile.UserProfileException
public boolean addUrlCardRelation(String cuid,
String url)
throws RppsException,
org.eclipse.higgins.userprofile.UserProfileException
cuid - the icard's CUID
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 CUID
true if card history record was deleted. Otherwise false
RppsException
public boolean deleteCardHistoryRecord(String cuid,
String url)
throws RppsException
cuid - the icard's CUID
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
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 - url -
RppsException
public boolean deleteRPEndPointCardRelation(String cuid,
RPEndPointTO rpEndPointTO)
throws RppsException
RppsException
public boolean deleteUrlsCardsRelations(String cuid)
throws RppsException
cuid -
RppsException
public boolean deleteRPEndPointsCardsRelations(String cuid)
throws RppsException
RppsException
public ResponseMessage deleteUserProfile()
throws RppsException
RppsException
public ICardTO editPinCode(String cuid,
String oldPinCode,
String newPinCode)
throws RppsException
RppsException
public byte[] exportICards(String formatID,
String[] cards,
UITokenServiceCredentialTO credential)
throws RppsException
RppsException
public CardUsageTO[] getCardHistory(String cuid,
int startFrom,
int capacity,
String orderBy,
String orderDirection)
public CardInformationTO getCardInformation(String cuid,
int size)
throws RppsException
cuid -
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 CUID.tokenCredential - the tokenCredential transfer object
RppsException
org.eclipse.higgins.icard.provider.cardspace.common.STSFaultException
public UIResponseCardTO getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
throws RppsException
cuid - policy - typeofCredential - credentialKey - credentialValue -
RppsException
public UIResponseCardTO getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue,
RPEndPointTO rpEndPointTO)
throws RppsException
RppsException
public ICardTemplateTO[] getICardCreationTemplate()
throws RppsException
RppsException
public org.eclipse.higgins.icard.ICardTemplate[] getICardCreationTemplateByProvider(String extID)
throws RppsException
RppsException
public ICardsAndCategoryTO getICardsAndCategoriesByUser()
throws RppsException
RppsExceptionpublic ICardTO[] getICardsByCUIDs(String[] cuids)
cuids - the card CUIDs.
public ICardTO[] getICardsByFormat(String formatID)
throws RppsException
RppsExceptionpublic ICardResponseTO getICardsByUser()
public FormatDescriptorTO[] getOutputFormats()
throws RppsException
RppsException
public TokenResponseTO getTokenByClaims(String sslCert,
String[] claimName,
String[] claimValue)
throws RppsException
sslCert - the SSL certificate
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 certificate
RemoteException
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 certificate
RemoteException
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 certificate
RemoteException
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 certificate
RemoteException
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
RemoteException
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 credential
RemoteException
RppsException
public UIResponseTO getUserInterface(String url,
String target,
String sslCert,
String policytype,
String policy)
throws RppsException
target - sslCert - the SSL certificatepolicy - the RP Agent's Relying Party Security Policy
RemoteException
RppsException
public UIResponseTO getUserInterface(RPEndPointTO rpEndPointTO,
String target,
String sslCert,
String policytype,
String policy)
throws RppsException
target - sslCert - the SSL certificatepolicy - the RP Agent's Relying Party Security Policy
RemoteException
RppsException
public UserProfileTO getUserProfile()
throws RppsException,
AccessException
RppsException
AccessException
public ICardResponseTO importICards(byte[] crd)
throws RppsException
crd - the card as a byte array.
RppsException
public ICardResponseTO importICards(byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
throws RppsException
RppsException
public ResponseMessage modifyCategories(CategoryTO[] categoriesTO)
throws RppsException
RppsException
public CategoryTO modifyCategory(CategoryTO categoryTO)
throws RppsException
RppsException
public UserProfileTO modifyUserProfile(UserProfileTO userProfile)
throws RppsException
userProfile - user profile transfer object
RppsException
public void removeClaimValuesMRU(String claimType,
String claimValue)
throws RppsException
RppsException
public ICardTO resetPinCode(String cuid,
String oldPinCode)
throws RppsException
RppsException
public boolean setCardCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
throws RppsException
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
RppsException
public ICardUpdateResponseTO[] updateClaimsAcrossCards(String[] claimTypes,
String[] claimValues,
ICardUpdateTO[] cardUpdate)
throws RppsException
RppsException
public ICardTO updateICard(ICardTO icardTO)
throws RppsException
icardTO - the card transfer object.
RppsException
public ICardUpdateResponseTO[] updateICards(ICardTO[] icardTOList)
throws RppsException
RppsExceptionpublic boolean userIdentifierExists(String userIdentifier)
userIdentifier -
RppsException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||