org.eclipse.higgins.userprofile.idas
Class IdasBasedUserProfileService

java.lang.Object
  extended byorg.eclipse.higgins.userprofile.idas.IdasBasedUserProfileService
All Implemented Interfaces:
org.eclipse.higgins.registry.IServiceProvider, org.eclipse.higgins.userprofile.IUserProfileService

public class IdasBasedUserProfileService
extends Object
implements org.eclipse.higgins.userprofile.IUserProfileService


Constructor Summary
IdasBasedUserProfileService()
           
 
Method Summary
 org.eclipse.higgins.userprofile.entity.Category addCategory(CallbackHandler handler, org.eclipse.higgins.userprofile.entity.Category category)
           
 void addSelectorAndSetPasswordByPasswordIsapMd5(String userId, String privateSelectorINumber, byte[] passwordIsapMd5, String newPassword)
           
 org.eclipse.higgins.userprofile.entity.UserProfile addUserProfile(CallbackHandler handler, org.eclipse.higgins.userprofile.entity.UserProfile userProfile)
           
 org.eclipse.higgins.userprofile.entity.CardInformation clearCardCredential(CallbackHandler handler, org.eclipse.higgins.icard.CUID cuid)
           
 void deleteCategory(CallbackHandler handler, String categoryId)
           
 void deleteOldPassword(CallbackHandler handler)
           
 void deleteUserProfile(CallbackHandler handler)
           
 org.eclipse.higgins.userprofile.entity.CardInformation getCardInformation(CallbackHandler handler, org.eclipse.higgins.icard.CUID cuid)
           
 org.eclipse.higgins.userprofile.ICardUsageManager getCardUsageManager(CallbackHandler handler)
           
 List getCategories(CallbackHandler handler)
           
 org.eclipse.higgins.registry.IConfiguration getConfiguration()
           
 String getID()
           
 org.eclipse.higgins.userprofile.entity.PolicyVersion getRPPolicyVersion(CallbackHandler handler, org.eclipse.higgins.userprofile.entity.WebForm form)
           
 org.eclipse.higgins.userprofile.entity.UserProfile getUserProfile(CallbackHandler handler)
           
 org.eclipse.higgins.userprofile.entity.Category modifyCategory(CallbackHandler handler, org.eclipse.higgins.userprofile.entity.Category category)
           
 org.eclipse.higgins.userprofile.entity.UserProfile modifyUserProfile(CallbackHandler handler, org.eclipse.higgins.userprofile.entity.UserProfile userProfile)
           
 String resetPassword(CallbackHandler handler)
           
 String resolveUserIdentifier(String privateSelectorINumber)
           
 org.eclipse.higgins.userprofile.entity.CardInformation setCardCredential(CallbackHandler handler, org.eclipse.higgins.icard.CUID cuid, org.eclipse.higgins.userprofile.entity.CardCredential cardCredential)
           
 void setID(String id)
           
 void setNewPassword(CallbackHandler handler, String newPassword)
           
 void setNewPasswordByPasswordIsapMd5(String userId, byte[] passwordIsapMd5, String newPassword)
           
 void setRPPolicyVersion(CallbackHandler handler, org.eclipse.higgins.userprofile.entity.PolicyVersion policyVersion)
           
 boolean userIdentifierExists(String userIdentifier)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdasBasedUserProfileService

public IdasBasedUserProfileService()
Method Detail

addUserProfile

public org.eclipse.higgins.userprofile.entity.UserProfile addUserProfile(CallbackHandler handler,
                                                                         org.eclipse.higgins.userprofile.entity.UserProfile userProfile)
                                                                  throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
addUserProfile in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

deleteUserProfile

public void deleteUserProfile(CallbackHandler handler)
                       throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
deleteUserProfile in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

getUserProfile

public org.eclipse.higgins.userprofile.entity.UserProfile getUserProfile(CallbackHandler handler)
                                                                  throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
getUserProfile in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

modifyUserProfile

public org.eclipse.higgins.userprofile.entity.UserProfile modifyUserProfile(CallbackHandler handler,
                                                                            org.eclipse.higgins.userprofile.entity.UserProfile userProfile)
                                                                     throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
modifyUserProfile in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

userIdentifierExists

public boolean userIdentifierExists(String userIdentifier)
                             throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
userIdentifierExists in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

resetPassword

public String resetPassword(CallbackHandler handler)
                     throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
resetPassword in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

resolveUserIdentifier

public String resolveUserIdentifier(String privateSelectorINumber)
                             throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
resolveUserIdentifier in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

addCategory

public org.eclipse.higgins.userprofile.entity.Category addCategory(CallbackHandler handler,
                                                                   org.eclipse.higgins.userprofile.entity.Category category)
                                                            throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
addCategory in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

deleteCategory

public void deleteCategory(CallbackHandler handler,
                           String categoryId)
                    throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
deleteCategory in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

getCategories

public List getCategories(CallbackHandler handler)
                   throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
getCategories in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

modifyCategory

public org.eclipse.higgins.userprofile.entity.Category modifyCategory(CallbackHandler handler,
                                                                      org.eclipse.higgins.userprofile.entity.Category category)
                                                               throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
modifyCategory in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

setCardCredential

public org.eclipse.higgins.userprofile.entity.CardInformation setCardCredential(CallbackHandler handler,
                                                                                org.eclipse.higgins.icard.CUID cuid,
                                                                                org.eclipse.higgins.userprofile.entity.CardCredential cardCredential)
                                                                         throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
setCardCredential in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

clearCardCredential

public org.eclipse.higgins.userprofile.entity.CardInformation clearCardCredential(CallbackHandler handler,
                                                                                  org.eclipse.higgins.icard.CUID cuid)
                                                                           throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
clearCardCredential in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

getCardInformation

public org.eclipse.higgins.userprofile.entity.CardInformation getCardInformation(CallbackHandler handler,
                                                                                 org.eclipse.higgins.icard.CUID cuid)
                                                                          throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
getCardInformation in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

getConfiguration

public org.eclipse.higgins.registry.IConfiguration getConfiguration()
Specified by:
getConfiguration in interface org.eclipse.higgins.registry.IServiceProvider

getID

public String getID()
Specified by:
getID in interface org.eclipse.higgins.registry.IServiceProvider

setID

public void setID(String id)
           throws Exception
Specified by:
setID in interface org.eclipse.higgins.registry.IServiceProvider
Throws:
Exception

getCardUsageManager

public org.eclipse.higgins.userprofile.ICardUsageManager getCardUsageManager(CallbackHandler handler)
                                                                      throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
getCardUsageManager in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

getRPPolicyVersion

public org.eclipse.higgins.userprofile.entity.PolicyVersion getRPPolicyVersion(CallbackHandler handler,
                                                                               org.eclipse.higgins.userprofile.entity.WebForm form)
                                                                        throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
getRPPolicyVersion in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

setRPPolicyVersion

public void setRPPolicyVersion(CallbackHandler handler,
                               org.eclipse.higgins.userprofile.entity.PolicyVersion policyVersion)
                        throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
setRPPolicyVersion in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

setNewPassword

public void setNewPassword(CallbackHandler handler,
                           String newPassword)
                    throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
setNewPassword in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

setNewPasswordByPasswordIsapMd5

public void setNewPasswordByPasswordIsapMd5(String userId,
                                            byte[] passwordIsapMd5,
                                            String newPassword)
                                     throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
setNewPasswordByPasswordIsapMd5 in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

deleteOldPassword

public void deleteOldPassword(CallbackHandler handler)
                       throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
deleteOldPassword in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException

addSelectorAndSetPasswordByPasswordIsapMd5

public void addSelectorAndSetPasswordByPasswordIsapMd5(String userId,
                                                       String privateSelectorINumber,
                                                       byte[] passwordIsapMd5,
                                                       String newPassword)
                                                throws org.eclipse.higgins.userprofile.UserProfileException
Specified by:
addSelectorAndSetPasswordByPasswordIsapMd5 in interface org.eclipse.higgins.userprofile.IUserProfileService
Throws:
org.eclipse.higgins.userprofile.UserProfileException