|
||||||||||||
| 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 | |
|---|---|
String |
acquireICard(String subscribeURL)
Acquires the i-card from RP site. |
CategoryTO |
addCategory(CategoryTO categoryTO)
|
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)
|
void |
connectionNotify(String host,
String username,
boolean success)
Locate the URIICard-type I-Card whose URI matches 'cref'. |
boolean |
connectionVerify(String host,
String username)
The RP site invokes this method to verify that user really has an account on the specified site. |
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)
|
void |
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()
|
String |
getFormFillingScript(URL page,
String username,
String form)
Gets a form filling script for the specified site&user |
String |
getHigginsServiceGlobalIName()
Gets the global i-name registered to the Higgins service (e.g. |
String |
getHtmlScrapingScript(String page)
Gets an HTML scraping script for the specified site |
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)
|
ICardTO[] |
getICardsByUser()
Gets the card list of the specified user. |
FormatDescriptorTO[] |
getOutputFormats()
|
ICardTemplateTO |
getPersonalICardCreationTemplate()
Get a icard template for creating personal card |
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()
|
ICardTO[] |
importICards(byte[] crd)
Imports card from a file. |
ICardTO[] |
importICards(byte[] crd,
String formatID,
UITokenServiceCredentialTO credential)
|
ResponseMessage |
modifyCategories(CategoryTO[] categoriesTO)
|
CategoryTO |
modifyCategory(CategoryTO categoryTO)
|
UserProfileTO |
modifyUserProfile(UserProfileTO userProfile)
Update user profile |
ICardTO |
resetPinCode(String cuid,
String oldPinCode)
|
boolean |
setCardCredential(String cuid,
UITokenServiceCredentialTO tokenCredential)
|
void |
setHtmlScrapingScript(String page,
String script)
Sets an HTML scraping script for the specified site |
ICardTO |
setPinCode(String cuid,
String pinCode)
|
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 String acquireICard(String subscribeURL)
throws MalformedURLException
subscribeURL - the URL of the site from where i-card will be acquired
MalformedURLException
public void connectionNotify(String host,
String username,
boolean success)
throws MalformedURLException
host - the host name of the RP site where user is verifiedusername - the user name to login to the RP sitesuccess - the verifying result
MalformedURLException
public boolean connectionVerify(String host,
String username)
throws MalformedURLException
host - The verified site url.username - The username to login onto verified site.
MalformedURLException
public String getFormFillingScript(URL page,
String username,
String form)
page - the page url where user lands onusername - the user nameform - the HTML form name
public String getHtmlScrapingScript(String page)
throws MalformedURLException,
RppsException
page - the page url
MalformedURLException
RppsException
public void setHtmlScrapingScript(String page,
String script)
throws MalformedURLException,
RppsException
page - the page urlscript - the script body
MalformedURLException
RppsException
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 ICardTO[] getICardsByUser()
public ICardsAndCategoryTO getICardsAndCategoriesByUser()
throws RppsException
RppsException
public ICardTO updateICard(ICardTO icardTO)
throws RppsException
icardTO - the card transfer object.
RppsException
public ICardTO[] importICards(byte[] crd)
throws RppsException
crd - the card as a byte array.
RppsException
public ICardTO[] 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 void 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 ICardTemplateTO getPersonalICardCreationTemplate()
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
RppsExceptionpublic String getHigginsServiceGlobalIName()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||