|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.task.Executor
com.waveset.task.PasswordExpiration
A task that scans the repository for accounts with expired passwords, disables the expired accounts, and generates a report.
We iterate over all user accounts in the repository, checking their password expiration date. If we find any that are expired, we use the Provisioner to disable the account. For resources that don't natively support account disable, the provisioner will assign a random password.
Field Summary | |
protected Subject |
_subject
Subject who is running the task, used for Locale, where necessary |
static java.lang.String |
code_id
|
static java.lang.String |
LIGHTHOUSE_ACCOUNT
Name we see in the DisableViewer checkin results for status related to the Lighthouse user object. |
static java.lang.String |
XML_HEADER
The XML header for reports. |
Fields inherited from class com.waveset.task.Executor |
_monitor, _suspendRequested, _terminateRequested, trace |
Constructor Summary | |
PasswordExpiration()
|
Method Summary | |
void |
endReport()
Helper method to close off the report after the account scan. |
void |
endUser(WavesetResult res,
WavesetException ex)
Add the second part of an expired user report row. |
void |
execute(TaskContext context,
TaskInstance task)
The main task execution method. |
protected java.util.Locale |
getLocale()
|
protected static java.util.Locale |
getLocale(Subject subject)
|
void |
startReport()
Helper method to initialize the report buffer before the account scan. |
void |
startUser(WSUser user)
Add the first part of an expired user report row. |
Methods inherited from class com.waveset.task.Executor |
addExtendedResult, delete, doRealWork, getExtendedResult, getPool, isSuspendRequested, isTerminateRequested, println, processEvent, setPool, setSuspendRequested, setTerminateRequested |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String XML_HEADER
public static final java.lang.String LIGHTHOUSE_ACCOUNT
protected Subject _subject
Constructor Detail |
public PasswordExpiration()
Method Detail |
public void execute(TaskContext context, TaskInstance task)
execute
in class Executor
Executor.doRealWork(TaskContext, TaskInstance)
public void startReport()
public void startUser(WSUser user)
public void endUser(WavesetResult res, WavesetException ex)
public void endReport()
protected java.util.Locale getLocale()
protected static java.util.Locale getLocale(Subject subject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |