|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.session.SessionUtil
Utility class containing methods utilizing LighthouseContext or SessionUtil for IdM customization.
Field Summary | |
static java.lang.String |
code_id
|
Constructor Summary | |
SessionUtil()
|
Method Summary | |
static QueryOptions |
buildResAcctIdQueryOptions(Subject subj,
java.lang.String resId,
java.lang.String accountId)
Utility method to create QueryOptions to find a resource account. |
static WavesetResult |
changePassword(LighthouseContext lhContext,
java.lang.String accountId,
EncryptedData password)
Change a user's lhContext password, propagating it to all accounts. |
static WavesetResult |
changePassword(LighthouseContext lhContext,
java.lang.String accountId,
EncryptedData password,
java.util.List targets)
Change a user's lhContext password, with optional selection of specific target accounts. |
static WavesetResult |
deleteResourceObject(LighthouseContext lhContext,
java.lang.String resType,
java.lang.String resName,
java.lang.String resId,
java.lang.String objType,
java.lang.String objName,
java.lang.String objId)
Delete a resource object. |
static WavesetResult |
deprovision(LighthouseContext lhContext,
java.lang.String accountId,
java.util.List targets,
boolean unassignResourceAccounts,
boolean unlinkResourceAccounts)
Deprovision a user, with optional selection of specific target accounts. |
static WavesetResult |
deprovision(Session s,
java.lang.String objectGroupName,
Session.Scope scope,
java.util.List targets,
boolean unassignResourceAccounts,
boolean unlinkResourceAccounts)
Deprovision all accounts in the specified organization, with optional selection of specific target accounts. |
static WavesetResult |
disable(LighthouseContext lhContext,
java.lang.String accountId,
java.util.List targets)
Disable a user, with optional selection of specific target accounts. |
static WavesetResult |
disable(Session s,
java.lang.String objectGroupName,
Session.Scope scope,
java.util.List targets)
Disable all users in the specified organization, with optional selection of specific target accounts. |
static WavesetResult |
enable(LighthouseContext lhContext,
java.lang.String accountId,
java.util.List targets)
Enable an account, with optional selection of specific target accounts. |
static WavesetResult |
enable(Session s,
java.lang.String objectGroupName,
Session.Scope scope,
java.util.List targets)
Enable all accounts in the specified organization, with optional selection of specific target accounts. |
static QueryResult |
getUsersWithResourceAccountId(LighthouseContext ctx,
Subject subject,
java.lang.String resId,
java.lang.String accountId)
This method will be invoked when searching for users by the attribute RESOURCE_ACCOUNT_ID. |
static WavesetResult |
launchProcess(LighthouseContext lhContext,
java.lang.String process,
java.lang.String taskName,
java.util.Map variables)
Launch a process with the usual parameters. |
static WavesetResult |
reprovision(LighthouseContext lhContext,
ProvisioningOptions ops)
Reprovision a user with options specified in a ProvisioningOptions object. |
static WavesetResult |
reprovision(LighthouseContext lhContext,
java.lang.String accountId,
java.util.List targets)
Fully reprovision an account, with optional selection of specific target accounts. |
static WavesetResult |
reprovision(LighthouseContext lhContext,
java.lang.String accountId,
java.util.List targets,
boolean doCreates,
boolean doDeletes)
Reprovision an user, with optional selection of specific target accounts. |
static WavesetResult |
reprovision(Session s,
java.lang.String objectGroupName,
Session.Scope scope,
java.util.List targets,
boolean doCreates,
boolean doDeletes)
Reprovision all accounts in the specified organization, with optional selection of specific target accounts. |
static WavesetResult |
resetPassword(LighthouseContext lhContext,
java.lang.String accountId)
Reset a user's lhContext password and propagate it to all accounts. |
static WavesetResult |
resetPassword(LighthouseContext lhContext,
java.lang.String accountId,
java.util.List targets)
Reset a user's lhContext password, with optional selection of specific target accounts. |
static WavesetResult |
startActiveSyncOnResource(LighthouseContext lhContext,
java.lang.String resourceIdOrName)
Start ActiveSync on the specified resource. |
static WavesetResult |
startSPESyncOnResource(LighthouseContext lhContext,
java.lang.String resourceId)
Start SPE Sync on the specified resource. |
static WavesetResult |
stopActiveSyncOnResource(LighthouseContext lhContext,
java.lang.String resourceIdOrName)
Stop ActiveSync on the specified resource. |
static WavesetResult |
stopSPESyncOnResource(LighthouseContext lhContext,
java.lang.String resourceId)
Stop SPE Sync on the specified resource. |
static WavesetResult |
unlock(LighthouseContext lhContext,
java.lang.String accountId,
java.util.List targets)
Unlock a user, with optional selection of specific target accounts. |
static WavesetResult |
unlock(Session s,
java.lang.String objectGroupName,
Session.Scope scope,
java.util.List targets)
Unlock all users in the specified organization, with optional selection of specific target accounts. |
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
Constructor Detail |
public SessionUtil()
Method Detail |
public static WavesetResult reprovision(LighthouseContext lhContext, java.lang.String accountId, java.util.List targets, boolean doCreates, boolean doDeletes) throws WavesetException
lhContext
- LighthouseContextaccountId
- Account Id to reprovisiontargets
- List of target resourcesdoCreates
- Whether to create any new accountsdoDeletes
- Whether to delete any unassigned accounts
WavesetException
public static WavesetResult reprovision(LighthouseContext lhContext, java.lang.String accountId, java.util.List targets) throws WavesetException
lhContext
- LighthouseContextaccountId
- Account Id to reprovisiontargets
- List of target resources
WavesetException
public static WavesetResult reprovision(Session s, java.lang.String objectGroupName, Session.Scope scope, java.util.List targets, boolean doCreates, boolean doDeletes) throws WavesetException
s
- SessionobjectGroupName
- Object Group by which to filter usersscope
- targets
- List of target resourcesdoCreates
- Whether to create any new accountsdoDeletes
- Whether to delete any unassigned accounts
WavesetException
public static WavesetResult reprovision(LighthouseContext lhContext, ProvisioningOptions ops) throws WavesetException
lhContext
- LighthouseContextops
- ProvisioningOptions
WavesetException
public static WavesetResult deprovision(LighthouseContext lhContext, java.lang.String accountId, java.util.List targets, boolean unassignResourceAccounts, boolean unlinkResourceAccounts) throws WavesetException
lhContext
- LighthouseContextaccountId
- Account Id to be deprovisionedtargets
- List of target resourcesunassignResourceAccounts
- Whether to unnasign resource accountsunlinkResourceAccounts
- Whether to unlink any account that is
assigned directly to the user
WavesetException
public static WavesetResult deprovision(Session s, java.lang.String objectGroupName, Session.Scope scope, java.util.List targets, boolean unassignResourceAccounts, boolean unlinkResourceAccounts) throws WavesetException
s
- SessionobjectGroupName
- Object Group by which to filter usersscope
- targets
- List of target resourcesunassignResourceAccounts
- Whether to unnasign resource accountsunlinkResourceAccounts
- Whether to unlink any account that is
assigned directly to the user
WavesetException
public static WavesetResult disable(LighthouseContext lhContext, java.lang.String accountId, java.util.List targets) throws WavesetException
lhContext
- LighthouseContextaccountId
- Id for account to disabletargets
- List of target resources in which to disable accountId
WavesetException
public static WavesetResult disable(Session s, java.lang.String objectGroupName, Session.Scope scope, java.util.List targets) throws WavesetException
s
- SessionobjectGroupName
- organization of users which to disablescope
- targets
- List of target resources in which to disable accountId
WavesetException
public static WavesetResult enable(LighthouseContext lhContext, java.lang.String accountId, java.util.List targets) throws WavesetException
lhContext
- LighthouseContextaccountId
- Id for account to enabletargets
- List of target resources in which to enable accountId
WavesetException
public static WavesetResult enable(Session s, java.lang.String objectGroupName, Session.Scope scope, java.util.List targets) throws WavesetException
s
- SessionobjectGroupName
- organization of users which to enablescope
- targets
- List of target resources in which to enable accountId
WavesetException
public static WavesetResult unlock(LighthouseContext lhContext, java.lang.String accountId, java.util.List targets) throws WavesetException
lhContext
- LighthouseContextaccountId
- Id for account to unlocktargets
- List of target resources in which to unlock accountId
WavesetException
public static WavesetResult unlock(Session s, java.lang.String objectGroupName, Session.Scope scope, java.util.List targets) throws WavesetException
s
- SessionobjectGroupName
- organization of users which to unlockscope
- targets
- List of target resources in which to unlock accountId
WavesetException
public static WavesetResult resetPassword(LighthouseContext lhContext, java.lang.String accountId, java.util.List targets) throws WavesetException
lhContext
- LighthouseContextaccountId
- Id for account to reset passwordtargets
- List of target resources
WavesetException
public static WavesetResult resetPassword(LighthouseContext lhContext, java.lang.String accountId) throws WavesetException
lhContext
- LighthouseContextaccountId
- Id for account to reset password
WavesetException
public static WavesetResult changePassword(LighthouseContext lhContext, java.lang.String accountId, EncryptedData password, java.util.List targets) throws WavesetException
lhContext
- LighthouseContextaccountId
- Id for account to reset passwordpassword
- encrypted (new) passwordtargets
- List of target resources
WavesetException
public static WavesetResult changePassword(LighthouseContext lhContext, java.lang.String accountId, EncryptedData password) throws WavesetException
lhContext
- LighthouseContextaccountId
- Account IDpassword
- new password
WavesetException
public static WavesetResult deleteResourceObject(LighthouseContext lhContext, java.lang.String resType, java.lang.String resName, java.lang.String resId, java.lang.String objType, java.lang.String objName, java.lang.String objId) throws WavesetException
lhContext
- LighthouseContextresType
- Resource TyperesName
- Resource NameresId
- Resource IdobjType
- Object TypeobjName
- Object NameobjId
- Object Id
WavesetException
public static WavesetResult launchProcess(LighthouseContext lhContext, java.lang.String process, java.lang.String taskName, java.util.Map variables) throws WavesetException
lhContext
- LighthouseContextprocess
- taskName
- variables
-
WavesetException
public static WavesetResult startActiveSyncOnResource(LighthouseContext lhContext, java.lang.String resourceIdOrName) throws WavesetException
lhContext
- resourceIdOrName
- Id (or name) for the resource to be started
WavesetException
public static WavesetResult stopActiveSyncOnResource(LighthouseContext lhContext, java.lang.String resourceIdOrName) throws WavesetException
lhContext
- resourceIdOrName
- Id (or name) for the resource to be started
WavesetException
public static WavesetResult startSPESyncOnResource(LighthouseContext lhContext, java.lang.String resourceId) throws WavesetException
lhContext
- resourceId
- Id for the resource to be started
WavesetException
public static WavesetResult stopSPESyncOnResource(LighthouseContext lhContext, java.lang.String resourceId) throws WavesetException
lhContext
- resourceId
- Id for the resource to be started
WavesetException
public static QueryResult getUsersWithResourceAccountId(LighthouseContext ctx, Subject subject, java.lang.String resId, java.lang.String accountId) throws WavesetException
ctx
- LighthouseContextsubject
- resId
- resource IdaccountId
- Resource account Id to locate
WavesetException
public static QueryOptions buildResAcctIdQueryOptions(Subject subj, java.lang.String resId, java.lang.String accountId)
subj
- Used to limit query to users this subject is authorized to seeresId
- (optional) id for the resource to query, speeds up the searchaccountId
- Account ID to search for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |