Package Thor.API.Operations
Interface tcUnauthenticatedOperationsIntf
- All Superinterfaces:
tcUtilityOperationsIntf
-
Method Summary
Modifier and TypeMethodDescriptionintcanUserLogin(String psUser, String psPassword) Deprecated.voidchangePasswordForUser(String psUserID, String psOldPassword, String psNewPassword, String psConfirmPassword) Deprecated.Returns a list of all form management related attributes.String[]getChallengeValuesForUser(String psUserID) This method return String array of Defined questions.getColumnCode(String psColumnName) Returns the column code of the given column name.com.thortech.xl.util.metadata.ProfileMetaDataReturns meta data related to user profile management.getPropertyValue(String psKeyword) This class will retrieve the property value of the keyword passed as a parameter.com.thortech.xl.util.metadata.RegistrationMetaDataReturns meta data related to user self registration.String[]Deprecated.getUserPasswordPolicyDescription(String msUserId) This method returns password policy description in hashmap that is applicable on 'Xellerate User' objectvoidDeprecated.booleanresetForgottenPassword(String psUserID, Map poQuesAns, String psPassword) The number of questions answered correctly reset the passwordvoidsetChallengeValuesForUser(String psUserID, String psPassword, Map phQuestionAnswer) Deprecated.voidsignatureLogin(String psUser, String psSignature) Deprecated.Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf
close, getName, setCountry, setLanguage, setVariant
-
Method Details
-
getChallengeValuesForUser
String[] getChallengeValuesForUser(String psUserID) throws tcAPIException, tcUserAccountDisabledException, tcUserAccountInvalidException, tcAPIException This method return String array of Defined questions.- Parameters:
psUserID-- Returns:
- String[]
- Throws:
tcAPIExceptiontcUserAccountDisabledExceptiontcUserAccountInvalidExceptiontcUserAccountInvalidExceptiontcUserAccountDisabledExceptiontcAPIException
-
resetForgottenPassword
boolean resetForgottenPassword(String psUserID, Map poQuesAns, String psPassword) throws tcAPIException, tcUserAccountDisabledException, tcUserAccountInvalidException, tcNumberOfChallengesMismatchException, tcQuestionsNotDefinedException, tcPasswordIncorrectException, tcPasswordMismatchException, tcPasswordPolicyException, tcPasswordResetAttemptsExceededException, tcUserAlreadyLoggedInException, tcAPIException The number of questions answered correctly reset the password- Parameters:
psUserID- userIdpoQuesAns- Questions nas answers.psPassword- Passowrd- Returns:
- boolean
- Throws:
tcAPIExceptiontcUserAccountDisabledExceptiontcUserAccountInvalidExceptiontcNumberOfChallengesMismatchExceptiontcQuestionsNotDefinedExceptiontcPasswordIncorrectExceptiontcPasswordMismatchExceptiontcPasswordPolicyExceptiontcPasswordResetAttemptsExceededExceptiontcUserAlreadyLoggedInExceptiontcUserAccountInvalidExceptiontcUserAccountDisabledExceptiontcNumberOfChallengesMismatchExceptiontcQuestionsNotDefinedExceptiontcPasswordIncorrectExceptiontcPasswordMismatchExceptiontcPasswordPolicyExceptiontcPasswordResetAttemptsExceededExceptiontcAPIException
-
getPropertyValue
String getPropertyValue(String psKeyword) throws tcAPIException, tcPropertyNotFoundException, tcDuplicatePropertyException, tcAPIException This class will retrieve the property value of the keyword passed as a parameter.- Parameters:
psKeyword- is the name of the keywork to find the value- Returns:
- the value of the keyword passed as parameter
- Throws:
tcAPIExceptiontcPropertyNotFoundExceptiontcDuplicatePropertyExceptiontcPropertyNotFoundExceptiontcDuplicatePropertyExceptiontcAPIException
-
getSystemChallenges
Deprecated.Retrieving System Challenge Questions.- Returns:
- String[]
- Throws:
tcAPIExceptiontcInvalidLookupExceptiontcInvalidLookupExceptiontcAPIException
-
getRegistrationMetaData
com.thortech.xl.util.metadata.RegistrationMetaData getRegistrationMetaData() throws tcAPIException, tcAPIExceptionReturns meta data related to user self registration. <br/ >NOTE: This method is not supported.- Returns:
- A
RegistrationMetaDataobject containing the meta data related to user self registation. - Throws:
tcAPIException
-
getProfileMetaData
com.thortech.xl.util.metadata.ProfileMetaData getProfileMetaData() throws tcAPIException, tcAPIExceptionReturns meta data related to user profile management. <br/ >NOTE: This method is not supported.- Returns:
- A
ProfileMetaDataobject containing the meta data information related to user profile management. - Throws:
tcAPIException
-
getAttributes
Returns a list of all form management related attributes. <br/ >NOTE: This method is not supported.- Returns:
- A List of Attribute objects or null, if no form management attributes have been defined.
- Throws:
tcAPIException
-
changePasswordForUser
void changePasswordForUser(String psUserID, String psOldPassword, String psNewPassword, String psConfirmPassword) throws tcAPIException, tcPasswordIncorrectException, tcPasswordMismatchException, tcPasswordPolicyException, tcUserAccountInvalidException, tcUserAccountDisabledException, tcAPIException Deprecated.Change password The API is being unsupported with immediate effect Alternatives: End user : AuthenticatedSelfService:changePassword Admin : UserManager:changePassword- Parameters:
psUserID-psOldPassword-psNewPassword-psConfirmPassword-- Throws:
tcAPIExceptiontcPasswordIncorrectExceptiontcPasswordMismatchExceptiontcPasswordPolicyExceptiontcUserAccountInvalidExceptiontcUserAccountDisabledExceptiontcUserAccountInvalidExceptiontcUserAccountDisabledExceptiontcPasswordIncorrectExceptiontcPasswordMismatchExceptiontcPasswordPolicyExceptiontcAPIException- See Also:
-
end user: AuthenticatedSelfService:changePassword (char[] oldPwd, char[] newPwd, char[] confirmPwd)admin:UserManager: (String userID, char[] password, boolean isUserLogin)
-
setChallengeValuesForUser
void setChallengeValuesForUser(String psUserID, String psPassword, Map phQuestionAnswer) throws tcNumberOfChallengesMismatchException, tcAPIException, tcInvalidQuestionException, tcUserAccountInvalidException, tcUserAccountDisabledException, tcPropertyNotFoundException, tcDuplicatePropertyException, tcInvalidLookupException, tcPasswordResetAttemptsExceededException, tcLoginAttemptsExceededException, tcPasswordIncorrectException, tcAPIException Deprecated.Set the challenge questions and answers for the logged in user. This API is unsupported with immediate effect Alternative End User : AuthenticatedSelfService:setChallengeValues System Admin : UserManager:setUserChallengeValues- Parameters:
psUserID- the user key to set the challenge question and answerspsPassword- is the password for the user to set his/her Q&AphQuestionAnswer- is the database to use- Throws:
tcNumberOfChallengesMismatchExceptiontcAPIExceptiontcInvalidQuestionExceptiontcUserAccountInvalidExceptiontcUserAccountDisabledExceptiontcPropertyNotFoundExceptiontcDuplicatePropertyExceptiontcInvalidLookupExceptiontcPasswordResetAttemptsExceededExceptiontcLoginAttemptsExceededExceptiontcPasswordIncorrectExceptiontcNumberOfChallengesMismatchExceptiontcAPIExceptiontcInvalidQuestionExceptiontcUserAccountInvalidExceptiontcUserAccountDisabledExceptiontcPasswordResetAttemptsExceededExceptiontcLoginAttemptsExceededException- See Also:
-
enduser : AuthenticatedSelfService:setChallengeValues(Map<String, Object> quesAnsMap)sysadmin : UserManager:setUserChallengeValues
-
getColumnCode
Returns the column code of the given column name. <br/ >NOTE: This method is not supported.- Parameters:
psColumnName- Column name whose code is to be retrieved- Returns:
- String
- Throws:
tcAPIExceptiontcAPIException
-
canUserLogin
Deprecated.Validates if a user with given credentials (User Name and Password) can login. Return value indicates if the user can login or why the user can't login. NOTE: This method only checks if a given user can login but does not actually login the user
NOTE: This method is not supported.- Parameters:
psUser- User Login to validatepsPassword- Password to validate- Returns:
- Indicates if the user with the given credentials can successfully log in or not. If not, the return value indicates the reason why the user can't be logged in.
- Throws:
tcAPIException
-
login
void login(String psUser, String psPassword) throws com.thortech.xl.security.tcLoginException, tcAPIException Deprecated.This method logins the user with the given username and password- Parameters:
psUser- the usernamepsPassword- the password- Throws:
tcLoginException- Exception raise if the user cannot login successfullycom.thortech.xl.security.tcLoginExceptiontcAPIException
-
signatureLogin
void signatureLogin(String psUser, String psSignature) throws com.thortech.xl.security.tcLoginException, tcAPIException Deprecated.This method logins the user with the given username and signature string- Parameters:
psUser- the usernamepsPassword- the password- Throws:
tcLoginException- Exception raise if the user cannot login successfullycom.thortech.xl.security.tcLoginExceptiontcAPIException
-
getUserPasswordPolicyDescription
This method returns password policy description in hashmap that is applicable on 'Xellerate User' object- Returns:
- hashmap containing password policy description
- Throws:
com.thortech.xl.dataaccess.tcDataSetExceptiontcAPIExceptiontcAPIException
-