Skip navigation links


Thor.API.Operations
Interface tcPasswordOperationsIntf

All Superinterfaces:
tcUtilityOperationsIntf

public interface tcPasswordOperationsIntf
extends tcUtilityOperationsIntf

Method Summary
 java.util.HashMap getObjectInstancePasswordPolicyDescription(long objectInstanceKey)
          Returns password policy description in a map by object instance key.
 Thor.API.tcResultSet getObjectPasswordPolicy(long plObjectInstanceKey)
          Returns information about the password policy applying to the specified object.
 java.util.HashMap getObjectPasswordPolicyDescription(long objectKey)
          This method returns password policy description in hashmap that is applicable on resource object for given object key
 java.util.HashMap getObjectPasswordPolicyDescription(long objectKey, long userKey)
          This method returns password policy description in hashmap that is applicable on resource object for given object key
 java.util.HashMap getProcessPasswordPolicyDescription(long processInstanceKey)
          This method returns password policy description in hashmap that is applicable on resource object that is attached to a process of which this processInstanceKey is a key of process instance.
 Thor.API.tcResultSet getUserPasswordPolicy(long plUserKey)
          Returns information about the Xellerate password policy applying to the specified user.
 java.util.HashMap getUserPasswordPolicyDescription(long userKey)
          This method returns password policy description in hashmap that is applicable on 'Xellerate User' object
 void setObjectPasswords(long plUserKey, long[] palObjInsUsrKeys, java.lang.String psPassword)
          Sets the password for the user in the specified provisioned objects through Xellerate.
 void setXelleratePassword(long plUserKey, java.lang.String psPassword)
          Sets the password for the user in the Xellerate.

 

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

 

Method Detail

setXelleratePassword

void setXelleratePassword(long plUserKey,
                          java.lang.String psPassword)
                          throws tcAPIException,
                                 tcPolicyFailedException,
                                 tcAPIException
Sets the password for the user in the Xellerate.
Parameters:
plUserKey - - The User Key in the system
psPassword - - The password to set as the Users Xellerate password
Throws:
tcAPIException - - is thrown if user key is not found OR DataSet exceptions occur
tcPolicyFailedException - - thrown if the Password Policy Fails for specified password

setObjectPasswords

void setObjectPasswords(long plUserKey,
                        long[] palObjInsUsrKeys,
                        java.lang.String psPassword)
                        throws tcAPIException,
                               tcPolicyFailedException,
                               tcAPIException
Sets the password for the user in the specified provisioned objects through Xellerate.
Parameters:
plUserKey - - The User Key in the system
palObjInsUsrKeys - - An array of object instance user keys corresponding to the object instances whose passwords are to be set to the specified password.
psPassword - - The password to set as the Users password in the target systems
Throws:
tcAPIException - - thrown if User Key or one of the OIU keys are not found
tcPolicyFailedException - - throw if policy fails while setting the new password

getObjectPasswordPolicy

Thor.API.tcResultSet getObjectPasswordPolicy(long plObjectInstanceKey)
                                             throws tcAPIException,
                                                    tcAPIException
Returns information about the password policy applying to the specified object. It figures out the policy that applies based on the policy rules that may be based on data saved for the user and the object instance.
Parameters:
plObjectInstanceKey - - The key of the object instance in the system.
Returns:
A tcResultSet containing one row, each column holding the value for one of the fields from the policy definition.
Throws:
tcAPIException - - thrown if OIU key is not found OR data set errors occur

getUserPasswordPolicy

Thor.API.tcResultSet getUserPasswordPolicy(long plUserKey)
                                           throws tcAPIException,
                                                  tcAPIException
Returns information about the Xellerate password policy applying to the specified user. It figures out the policy that applies based on the policy rules that may be based on data saved for the user.
Parameters:
plUserKey - - The key of the user in the system.
Returns:
A tcResultSet containing one row, each column holding the value for one of the fields from the policy definition.
Throws:
tcAPIException - - thrown if User Key is not found OR data set errors occur

getUserPasswordPolicyDescription

java.util.HashMap getUserPasswordPolicyDescription(long userKey)
                                                   throws tcAPIException,
                                                          tcAPIException
This method returns password policy description in hashmap that is applicable on 'Xellerate User' object
Parameters:
userKey - (long) for whom password policy is applicable
Returns:
hashmap containing password policy description
Throws:
com.thortech.xl.dataaccess.tcDataSetException
tcAPIException

getObjectInstancePasswordPolicyDescription

java.util.HashMap getObjectInstancePasswordPolicyDescription(long objectInstanceKey)
                                                             throws tcAPIException,
                                                                    tcAPIException
Returns password policy description in a map by object instance key.
Parameters:
objectInstanceKey -
Returns:
Throws:
com.thortech.xl.dataaccess.tcDataSetException
tcAPIException

getObjectPasswordPolicyDescription

java.util.HashMap getObjectPasswordPolicyDescription(long objectKey)
                                                     throws tcAPIException,
                                                            tcAPIException
This method returns password policy description in hashmap that is applicable on resource object for given object key
Parameters:
objectKey - (long) on which password policy is applicable
Returns:
hashmap containing password policy description
Throws:
com.thortech.xl.dataaccess.tcDataSetException
tcAPIException

getObjectPasswordPolicyDescription

java.util.HashMap getObjectPasswordPolicyDescription(long objectKey,
                                                     long userKey)
                                                     throws tcAPIException,
                                                            tcAPIException
This method returns password policy description in hashmap that is applicable on resource object for given object key
Parameters:
objectKey - (long) on which password policy is applicable
userKey - (long) for whom password policy is applicable
Returns:
hashmap containing password policy description
Throws:
com.thortech.xl.dataaccess.tcDataSetException
tcAPIException
Since:
9.1

getProcessPasswordPolicyDescription

java.util.HashMap getProcessPasswordPolicyDescription(long processInstanceKey)
                                                      throws tcAPIException,
                                                             tcAPIException
This method returns password policy description in hashmap that is applicable on resource object that is attached to a process of which this processInstanceKey is a key of process instance.
Parameters:
processInstanceKey - (long)
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.