|
||||||||||||
| 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)
|
void |
addClaimValuesMRU(String claimType,
String claimValue)
|
ResponseMessage |
addUserProfile(UserProfileTO userProfile)
Creates new user profile |
void |
addUserProfileFromHBX(String userId,
String password)
Creates new user profile |
FormatDescriptorTO |
checkImportStream(byte[] crd)
|
ICardTO |
clearCardCredential(String cuid)
|
boolean |
clearCardHistory(String cuid)
|
ICardTO |
createDuplicateICard(String cardName,
String cuid,
String pinCode)
Creates the duplicate card with new card's name |
ICardTO |
createICard(ICardTemplateTO template)
Creates a new card by template |
ICardTO |
createICard(String id,
String[] properties)
Creates a new card |
String |
createICardFromHBX(String cardname)
Creates new card |
void |
deleteAllICard()
Deletes all user's card. |
void |
deleteCategory(String categoryId)
|
ICardUpdateResponseTO |
deleteICard(String cuid)
Deletes specified card. |
boolean |
deleteUrlCardRelation(String cuid,
String url)
|
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)
|
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[] |
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 |
getTokenByUrl(String policy,
String policytype,
String sslCert,
String url)
Web service operation. |
ExtraTokenResponseTO |
getTokenExtraByUrl(String policy,
String policytype,
String sslCert,
String url)
Web service operation. |
TokenResponseTO |
getTokenObject(String policy,
String policytype,
String sslCert,
String[] cuids,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
Web service operation. |
UIResponseTO |
getUserInterface(String url,
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. |
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)
|
ICardTO |
setPinCode(String cuid,
String pinCode)
Get a icard template for creating personal card |
ICardUpdateResponseTO[] |
updateClaimAcrossCards(String claimType,
String claimValue,
ICardUpdateTO[] cardUpdate)
|
ICardTO |
updateICard(ICardTO icardTO)
Update card. |
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 ICardTO createICard(String id,
String[] properties)
throws RppsException
id - the i-card idproperties - the i-card properties
RppsException
public ICardTO createICard(ICardTemplateTO template)
throws RppsException
RppsException
public ICardTO createDuplicateICard(String cardName,
String cuid,
String pinCode)
throws RppsException
cardName - new card's namecuid - cuid of old cardpinCode - pincode if it needs
RppsException
public String createICardFromHBX(String cardname)
throws RppsException
cardname - name of card
RppsException
public ICardTO getICardByCUID(String cuid)
throws RppsException
cuid - the card CUID.
RppsException
public ICardTO getICardByCUIDAndTokenServiceCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
throws RppsException
cuid - the card CUID.tokenCredential - the tokenCredential transfer object
RppsException
public UIResponseCardTO getICardClaims(String cuid,
String policy,
String typeofCredential,
String[] credentialKey,
String[] credentialValue)
throws RppsException
RppsExceptionpublic ICardResponseTO getICardsByUser()
public ICardsAndCategoryTO getICardsAndCategoriesByUser()
throws RppsException
RppsException
public ICardTO updateICard(ICardTO icardTO)
throws RppsException
icardTO - the card transfer object.
RppsException
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 FormatDescriptorTO checkImportStream(byte[] crd)
throws RppsException
RppsException
public byte[] exportICards(String formatID,
String[] cards,
UITokenServiceCredentialTO credential)
throws RppsException
RppsException
public ICardTO[] getICardsByFormat(String formatID)
throws RppsException
RppsException
public FormatDescriptorTO[] getOutputFormats()
throws RppsException
RppsException
public ICardUpdateResponseTO deleteICard(String cuid)
throws RppsException
cuid - the i-card CUID
RppsException
public void deleteAllICard()
throws RppsException
RppsException
public UIResponseTO getUserInterface(String url,
String target,
String sslCert,
String policytype,
String policy)
throws RppsException
url - the URL to the html page with
public TokenResponseTO getTokenByClaims(String sslCert,
String[] claimName,
String[] claimValue)
throws RppsException
sslCert - the SSL certificate
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 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
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 certificateurl - the url of site which needs token
RemoteException
RppsException
public ICardTemplateTO[] getICardCreationTemplate()
throws RppsException
RppsException
public org.eclipse.higgins.icard.ICardTemplate[] getICardCreationTemplateByProvider(String extID)
throws RppsException
RppsException
public ICardTO setPinCode(String cuid,
String pinCode)
throws RppsException
RppsException
public ICardTO resetPinCode(String cuid,
String oldPinCode)
throws RppsException
RppsException
public ICardTO editPinCode(String cuid,
String oldPinCode,
String newPinCode)
throws RppsException
RppsException
public boolean clearCardHistory(String cuid)
throws RppsException
RppsException
public CardUsageTO[] getCardHistory(String cuid,
int startFrom,
int capacity,
String orderBy,
String orderDirection)
public CategoryTO[] getCategory()
throws RppsException
RppsException
public CategoryTO addCategory(CategoryTO categoryTO)
throws RppsException
RppsException
public void deleteCategory(String categoryId)
throws RppsException
RppsException
public CategoryTO modifyCategory(CategoryTO categoryTO)
throws RppsException
RppsException
public ResponseMessage modifyCategories(CategoryTO[] categoriesTO)
throws RppsException
RppsExceptionpublic boolean userIdentifierExists(String userIdentifier)
userIdentifier -
RppsException
public UserProfileTO getUserProfile()
throws RppsException,
AccessException
RppsException
AccessException
public void addUserProfileFromHBX(String userId,
String password)
throws RppsException
userId - the id to identify the user.password - the password to identify the user.
RppsException
public ResponseMessage addUserProfile(UserProfileTO userProfile)
throws RppsException
userProfile - user profile trasfer object
RppsException
public ResponseMessage deleteUserProfile()
throws RppsException
RppsException
public UserProfileTO modifyUserProfile(UserProfileTO userProfile)
throws RppsException
userProfile - user profile transfer object
RppsException
public CardInformationTO getCardInformation(String cuid,
int size)
throws RppsException
cuid -
RppsException
public ICardTO clearCardCredential(String cuid)
throws RppsException
RppsException
public boolean setCardCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
throws RppsException
RppsException
public boolean deleteUrlCardRelation(String cuid,
String url)
throws RppsException
RppsException
public ICardUpdateResponseTO[] updateClaimAcrossCards(String claimType,
String claimValue,
ICardUpdateTO[] cardUpdate)
throws RppsException
RppsException
public MapTO[] getClaimValuesMRU()
throws RppsException
RppsException
public void addClaimValuesMRU(String claimType,
String claimValue)
throws RppsException
RppsException
public void removeClaimValuesMRU(String claimType,
String claimValue)
throws RppsException
RppsExceptionpublic String getHigginsServiceGlobalIName()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||