Class PrometheusThreadUpdatePassword
java.lang.Object
io.github.tonywasher.joceanus.prometheus.threads.PrometheusThreadUpdatePassword
- All Implemented Interfaces:
TethysUIThread<PrometheusDataSet>
public class PrometheusThreadUpdatePassword
extends Object
implements TethysUIThread<PrometheusDataSet>
Thread to change the password. The user will be prompted for a new password and this will be used
to create a new Password Hash. The controlKey will be updated with this Hash and the encryption
DataKeys will be updated with their new wrapped format. Since the DataKeys do not themselves
change there is no need to re-encrypt and data fields. Data will be left in the Updated state
ready for committing the change to the database.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor (Event Thread). -
Method Summary
Modifier and TypeMethodDescriptionobtain the task name.performTask(TethysUIThreadManager pManager) Perform the task.voidprocessResult(PrometheusDataSet pResult) process result.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.tonywasher.joceanus.tethys.api.thread.TethysUIThread
interruptForCancel, prepareTask
-
Constructor Details
-
PrometheusThreadUpdatePassword
Constructor (Event Thread).- Parameters:
pControl- data control
-
-
Method Details
-
getTaskName
Description copied from interface:TethysUIThreadobtain the task name.- Specified by:
getTaskNamein interfaceTethysUIThread<PrometheusDataSet>- Returns:
- the task name
-
performTask
Description copied from interface:TethysUIThreadPerform the task.- Specified by:
performTaskin interfaceTethysUIThread<PrometheusDataSet>- Parameters:
pManager- the thread manager- Returns:
- the result
- Throws:
OceanusException- on error
-
processResult
Description copied from interface:TethysUIThreadprocess result.- Specified by:
processResultin interfaceTethysUIThread<PrometheusDataSet>- Parameters:
pResult- the result
-