Skip navigation links


Thor.API.Operations
Interface tcUnauthenticatedOperationsIntf

All Superinterfaces:
tcUtilityOperationsIntf

public interface tcUnauthenticatedOperationsIntf
extends tcUtilityOperationsIntf

Method Summary
 int canUserLogin(java.lang.String psUser, java.lang.String psPassword)
          Validates if a user with given credentials (User Name and Password) can login.
 void changePasswordForUser(java.lang.String psUserID, java.lang.String psOldPassword, java.lang.String psNewPassword, java.lang.String psConfirmPassword)
          Change password
 java.util.List getAttributes()
          Returns a list of all form management related attributes.
 java.lang.String[] getChallengeValuesForUser(java.lang.String psUserID)
          This method return String array of Defined questions.
 java.lang.String getColumnCode(java.lang.String psColumnName)
          Returns the column code of the given column name.
 com.thortech.xl.util.metadata.ProfileMetaData getProfileMetaData()
          Returns meta data related to user profile management.
 java.lang.String getPropertyValue(java.lang.String psKeyword)
          This class will retrieve the property value of the keyword passed as a parameter.
 com.thortech.xl.util.metadata.RegistrationMetaData getRegistrationMetaData()
          Returns meta data related to user self registration.
 java.lang.String[] getSystemChallenges()
          Retrieving System Challenge Questions.
 java.util.HashMap getUserPasswordPolicyDescription(java.lang.String msUserId)
          This method returns password policy description in hashmap that is applicable on 'Xellerate User' object
 void login(java.lang.String psUser, java.lang.String psPassword)
          This method logins the user with the given username and password
 boolean resetForgottenPassword(java.lang.String psUserID, java.util.Map poQuesAns, java.lang.String psPassword)
          The number of questions answered correctly reset the password
 void setChallengeValuesForUser(java.lang.String psUserID, java.lang.String psPassword, java.util.Map phQuestionAnswer)
          Set the challenge questions and answers for the logged in user.
 void signatureLogin(java.lang.String psUser, java.lang.String psSignature)
          This method logins the user with the given username and signature string

 

Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf
close, getName, setCountry, setLanguage, setVariant

 

Method Detail

getChallengeValuesForUser

java.lang.String[] getChallengeValuesForUser(java.lang.String psUserID)
                                             throws tcAPIException,
                                                    tcUserAccountDisabledException,
                                                    tcUserAccountInvalidException,
                                                    tcAPIException
This method return String array of Defined questions.
Parameters:
psUserID -
Returns:
String[]
Throws:
tcAPIException
tcUserAccountDisabledException
tcUserAccountInvalidException
tcUserAccountInvalidException
tcUserAccountDisabledException
tcAPIException

resetForgottenPassword

boolean resetForgottenPassword(java.lang.String psUserID,
                               java.util.Map poQuesAns,
                               java.lang.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 - userId
poQuesAns - Questions nas answers.
psPassword - Passowrd
Returns:
boolean
Throws:
tcAPIException
tcUserAccountDisabledException
tcUserAccountInvalidException
tcNumberOfChallengesMismatchException
tcQuestionsNotDefinedException
tcPasswordIncorrectException
tcPasswordMismatchException
tcPasswordPolicyException
tcPasswordResetAttemptsExceededException
tcUserAlreadyLoggedInException
tcUserAccountInvalidException
tcUserAccountDisabledException
tcNumberOfChallengesMismatchException
tcQuestionsNotDefinedException
tcPasswordIncorrectException
tcPasswordMismatchException
tcPasswordPolicyException
tcPasswordResetAttemptsExceededException
tcAPIException

getPropertyValue

java.lang.String getPropertyValue(java.lang.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:
tcAPIException
tcPropertyNotFoundException
tcDuplicatePropertyException
tcPropertyNotFoundException
tcDuplicatePropertyException
tcAPIException

getSystemChallenges

java.lang.String[] getSystemChallenges()
                                       throws tcAPIException,
                                              tcInvalidLookupException,
                                              tcAPIException
Retrieving System Challenge Questions.
Returns:
String[]
Throws:
tcAPIException
tcInvalidLookupException
tcInvalidLookupException
tcAPIException

getRegistrationMetaData

com.thortech.xl.util.metadata.RegistrationMetaData getRegistrationMetaData()
                                                                           throws tcAPIException,
                                                                                  tcAPIException
Returns meta data related to user self registration.
NOTE: This method is not supported.
Returns:
A RegistrationMetaData object containing the meta data related to user self registation.
Throws:
tcAPIException

getProfileMetaData

com.thortech.xl.util.metadata.ProfileMetaData getProfileMetaData()
                                                                 throws tcAPIException,
                                                                        tcAPIException
Returns meta data related to user profile management.
NOTE: This method is not supported.
Returns:
A ProfileMetaData object containing the meta data information related to user profile management.
Throws:
tcAPIException

getAttributes

java.util.List getAttributes()
                             throws tcAPIException,
                                    tcAPIException
Returns a list of all form management related attributes.
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(java.lang.String psUserID,
                           java.lang.String psOldPassword,
                           java.lang.String psNewPassword,
                           java.lang.String psConfirmPassword)
                           throws tcAPIException,
                                  tcPasswordIncorrectException,
                                  tcPasswordMismatchException,
                                  tcPasswordPolicyException,
                                  tcUserAccountInvalidException,
                                  tcUserAccountDisabledException,
                                  tcAPIException
Change password
Parameters:
psUserID -
psOldPassword -
psNewPassword -
psConfirmPassword -
Throws:
tcAPIException
tcPasswordIncorrectException
tcPasswordMismatchException
tcPasswordPolicyException
tcUserAccountInvalidException
tcUserAccountDisabledException
tcUserAccountInvalidException
tcUserAccountDisabledException
tcPasswordIncorrectException
tcPasswordMismatchException
tcPasswordPolicyException
tcAPIException

setChallengeValuesForUser

void setChallengeValuesForUser(java.lang.String psUserID,
                               java.lang.String psPassword,
                               java.util.Map phQuestionAnswer)
                               throws tcNumberOfChallengesMismatchException,
                                      tcAPIException,
                                      tcInvalidQuestionException,
                                      tcUserAccountInvalidException,
                                      tcUserAccountDisabledException,
                                      tcPropertyNotFoundException,
                                      tcDuplicatePropertyException,
                                      tcInvalidLookupException,
                                      tcPasswordResetAttemptsExceededException,
                                      tcLoginAttemptsExceededException,
                                      tcPasswordIncorrectException,
                                      tcAPIException
Set the challenge questions and answers for the logged in user.
Parameters:
psUserID - the user key to set the challenge question and answers
psPassword - is the password for the user to set his/her Q&A
phQuestionAnswer - is the database to use
Throws:
tcNumberOfChallengesMismatchException
tcAPIException
tcInvalidQuestionException
tcUserAccountInvalidException
tcUserAccountDisabledException
tcPropertyNotFoundException
tcDuplicatePropertyException
tcInvalidLookupException
tcPasswordResetAttemptsExceededException
tcLoginAttemptsExceededException
tcPasswordIncorrectException
tcNumberOfChallengesMismatchException
tcAPIException
tcInvalidQuestionException
tcUserAccountInvalidException
tcUserAccountDisabledException
tcPasswordResetAttemptsExceededException
tcLoginAttemptsExceededException

getColumnCode

java.lang.String getColumnCode(java.lang.String psColumnName)
                               throws tcAPIException,
                                      tcAPIException
Returns the column code of the given column name.
NOTE: This method is not supported.
Parameters:
psColumnName - Column name whose code is to be retrieved
Returns:
String
Throws:
tcAPIException
tcAPIException

canUserLogin

int canUserLogin(java.lang.String psUser,
                 java.lang.String psPassword)
                 throws tcAPIException,
                        tcAPIException
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 validate
psPassword - 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(java.lang.String psUser,
           java.lang.String psPassword)
           throws com.thortech.xl.security.tcLoginException,
                  tcAPIException
This method logins the user with the given username and password
Parameters:
psUser - the username
psPassword - the password
Throws:
tcLoginException - Exception raise if the user cannot login successfully
tcAPIException

signatureLogin

void signatureLogin(java.lang.String psUser,
                    java.lang.String psSignature)
                    throws com.thortech.xl.security.tcLoginException,
                           tcAPIException
This method logins the user with the given username and signature string
Parameters:
psUser - the username
psPassword - the password
Throws:
tcLoginException - Exception raise if the user cannot login successfully
tcAPIException

getUserPasswordPolicyDescription

java.util.HashMap getUserPasswordPolicyDescription(java.lang.String msUserId)
                                                   throws tcAPIException,
                                                          tcAPIException
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.tcDataSetException
tcAPIException

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.