|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.higgins.userprofile.inmem.MemoryUserProfileService
| Constructor Summary | |
|---|---|
MemoryUserProfileService()
|
|
| Method Summary | |
|---|---|
Captcha |
addCaptcha(Captcha captcha)
|
Category |
addCategory(CallbackHandler handler,
Category category)
|
void |
addSelectorAndSetPasswordByPasswordIsapMd5(String userId,
String privateSelectorINumber,
byte[] passwordIsapMd5,
String newPassword)
Add the new Selector given by the privateSelectorINumber and set the new password without remembering it. |
UserProfile |
addUserProfile(CallbackHandler handler,
UserProfile userProfile)
|
CardInformation |
clearCardCredential(CallbackHandler handler,
org.eclipse.higgins.icard.CUID cuid)
Clears credential information for the given card. |
void |
deleteCaptcha(Captcha captcha)
|
void |
deleteCategory(CallbackHandler handler,
String categoryId)
|
void |
deleteOldPassword(CallbackHandler handler)
Deletes the old password and change it to the new one. |
void |
deleteUserProfile(CallbackHandler handler)
|
Captcha |
getCaptcha(String userID)
|
CardInformation |
getCardInformation(CallbackHandler handler,
org.eclipse.higgins.icard.CUID cuid)
Returns the whole information about the given card |
ICardUsageManager |
getCardUsageManager(CallbackHandler handler)
Returns class that manages all Card usage and URI relations information |
List |
getCategories(CallbackHandler handler)
|
org.eclipse.higgins.registry.IConfiguration |
getConfiguration()
|
String |
getID()
|
PolicyVersion |
getRPPolicyVersion(CallbackHandler handler,
URI url)
|
PolicyVersion |
getRPPolicyVersion(CallbackHandler handler,
WebForm form)
|
UserProfile |
getUserProfile(CallbackHandler handler)
|
UserProfile |
getUserProfile(String userID)
|
Captcha |
modifyCaptcha(Captcha captcha)
|
Category |
modifyCategory(CallbackHandler handler,
Category category)
|
void |
modifyPassword(String userId,
String newPassword)
|
UserProfile |
modifyUserProfile(CallbackHandler handler,
UserProfile userProfile)
|
UserProfile |
modifyUserProfile(UserProfile userProfile)
|
String |
resetPassword(CallbackHandler handler)
|
String |
resolveUserIdentifier(String privateSelectorINumber)
Resolves user private Selector I-Number to user Identifier |
CardInformation |
setCardCredential(CallbackHandler handler,
org.eclipse.higgins.icard.CUID cuid,
CardCredential cardCredential)
Sets credential information for the given card. |
void |
setID(String id)
|
void |
setNewPassword(CallbackHandler handler,
String newPassword)
Sets the new password allowing authentication both by new and old passwords until the successful deleteOldPassword() call. |
void |
setNewPasswordByPasswordIsapMd5(String userId,
byte[] passwordIsapMd5,
String newPassword)
Sets the new password allowing authentication both by new and old passwords until the successful deleteOldPassword() call. |
void |
setRPPolicyVersion(CallbackHandler handler,
PolicyVersion policyVersion)
|
boolean |
userIdentifierExists(String userIdentifier)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MemoryUserProfileService()
| Method Detail |
public Category addCategory(CallbackHandler handler,
Category category)
throws UserProfileException
addCategory in interface IUserProfileServicehandler - - authentication handlercategory -
UserProfileException
public UserProfile addUserProfile(CallbackHandler handler,
UserProfile userProfile)
throws UserProfileException
addUserProfile in interface IUserProfileServiceuserProfile -
UserProfileException
public CardInformation clearCardCredential(CallbackHandler handler,
org.eclipse.higgins.icard.CUID cuid)
throws UserProfileException
IUserProfileService
clearCardCredential in interface IUserProfileServicehandler -
UserProfileException
public void deleteCategory(CallbackHandler handler,
String categoryId)
throws UserProfileException
deleteCategory in interface IUserProfileServicecategoryId -
UserProfileException
public void deleteUserProfile(CallbackHandler handler)
throws UserProfileException
deleteUserProfile in interface IUserProfileServiceUserProfileException
public CardInformation getCardInformation(CallbackHandler handler,
org.eclipse.higgins.icard.CUID cuid)
throws UserProfileException
IUserProfileService
getCardInformation in interface IUserProfileServicehandler - cuid -
UserProfileException
public List getCategories(CallbackHandler handler)
throws UserProfileException
getCategories in interface IUserProfileServicehandler - - authentication handler
UserProfileException
public UserProfile getUserProfile(CallbackHandler handler)
throws UserProfileException
getUserProfile in interface IUserProfileServiceUserProfileException
public Category modifyCategory(CallbackHandler handler,
Category category)
throws UserProfileException
modifyCategory in interface IUserProfileServicehandler - - authentication handlercategory -
UserProfileException
public UserProfile modifyUserProfile(CallbackHandler handler,
UserProfile userProfile)
throws UserProfileException
modifyUserProfile in interface IUserProfileServiceuserProfile -
UserProfileException
public String resetPassword(CallbackHandler handler)
throws UserProfileException
resetPassword in interface IUserProfileServiceUserProfileException
public CardInformation setCardCredential(CallbackHandler handler,
org.eclipse.higgins.icard.CUID cuid,
CardCredential cardCredential)
throws UserProfileException
IUserProfileService
setCardCredential in interface IUserProfileServicehandler - cuid - cardCredential -
UserProfileException
public boolean userIdentifierExists(String userIdentifier)
throws UserProfileException
userIdentifierExists in interface IUserProfileServiceuserIdentifier -
UserProfileExceptionpublic org.eclipse.higgins.registry.IConfiguration getConfiguration()
getConfiguration in interface org.eclipse.higgins.registry.IServiceProviderpublic String getID()
getID in interface org.eclipse.higgins.registry.IServiceProvider
public void setID(String id)
throws Exception
setID in interface org.eclipse.higgins.registry.IServiceProviderException
public ICardUsageManager getCardUsageManager(CallbackHandler handler)
throws UserProfileException
IUserProfileService
getCardUsageManager in interface IUserProfileServicehandler -
UserProfileException
public String resolveUserIdentifier(String privateSelectorINumber)
throws UserProfileException
IUserProfileService
resolveUserIdentifier in interface IUserProfileServiceprivateSelectorINumber -
UserProfileException
public PolicyVersion getRPPolicyVersion(CallbackHandler handler,
URI url)
throws UserProfileException
UserProfileException
public void setRPPolicyVersion(CallbackHandler handler,
PolicyVersion policyVersion)
throws UserProfileException
setRPPolicyVersion in interface IUserProfileServiceUserProfileException
public void deleteOldPassword(CallbackHandler handler)
throws UserProfileException
IUserProfileService
deleteOldPassword in interface IUserProfileServicehandler - - Callback handler containing current and valid "old password" or the new one.
UserProfileException
public void setNewPassword(CallbackHandler handler,
String newPassword)
throws UserProfileException
IUserProfileService
setNewPassword in interface IUserProfileServicehandler - - Callback handler containing current and valid "old password" or the new one.newPassword - - password, on which the authentication will try. If not succeeded,
will conduct on the old one.
UserProfileException
public void setNewPasswordByPasswordIsapMd5(String userId,
byte[] passwordIsapMd5,
String newPassword)
throws UserProfileException
IUserProfileService
setNewPasswordByPasswordIsapMd5 in interface IUserProfileServicepasswordIsapMd5 - - hash of Installation Key MD5 by which authentication
occurs herenewPassword - - password, on which the authentication will try. If not
succeeded, will conduct on the old one.
UserProfileException
public void addSelectorAndSetPasswordByPasswordIsapMd5(String userId,
String privateSelectorINumber,
byte[] passwordIsapMd5,
String newPassword)
throws UserProfileException
IUserProfileService
addSelectorAndSetPasswordByPasswordIsapMd5 in interface IUserProfileServiceuserId - - private-user-i-number at the Private BrokerprivateSelectorINumber - passwordIsapMd5 - newPassword -
UserProfileException
public PolicyVersion getRPPolicyVersion(CallbackHandler handler,
WebForm form)
throws UserProfileException
getRPPolicyVersion in interface IUserProfileServiceUserProfileException
public UserProfile getUserProfile(String userID)
throws UserProfileException
getUserProfile in interface IUserProfileServiceuserID -
UserProfileException
public UserProfile modifyUserProfile(UserProfile userProfile)
throws UserProfileException
modifyUserProfile in interface IUserProfileServiceuserProfile -
UserProfileException
public void modifyPassword(String userId,
String newPassword)
throws UserProfileException
modifyPassword in interface IUserProfileServiceuserId - newPassword -
UserProfileException
public Captcha addCaptcha(Captcha captcha)
throws UserProfileException
addCaptcha in interface IUserProfileServicecaptcha -
UserProfileException
public void deleteCaptcha(Captcha captcha)
throws UserProfileException
deleteCaptcha in interface IUserProfileServicecaptcha -
UserProfileException
public Captcha getCaptcha(String userID)
throws UserProfileException
getCaptcha in interface IUserProfileServiceuserID -
UserProfileException
public Captcha modifyCaptcha(Captcha captcha)
throws UserProfileException
modifyCaptcha in interface IUserProfileServicecaptcha -
UserProfileException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||