Interface ProvisioningEngine
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDynamicTarget(ConfigManager cfgMgr, TargetType targetCfg) voidvoidvoidvoidclearDLQ()voidvoiddlqMessage(jakarta.jms.TextMessage m) voiddoApproval(int id, String userID, boolean approved, String reason) org.hibernate.SessionFactoryintintRetrieves a provisioning target by its name as configured in the administration systemgetWorkFlow(String name) getWorkFlow(String name, User user) getWorkflowCopy(String name) voidvoidvoidvoidvoidInitializes the configured workflows from their XML sourcebooleanbooleanbooleanvoidlogAction(String target, boolean isEntry, ProvisioningUtil.ActionType actionType, int approval, Workflow wf, String attribute, String val) voidvoidreEnQueue(jakarta.jms.TextMessage tm, int numOfTries, JMSSessionHolder session) voidremoveDynamicWorkflow(String name) voidremoveMessageListener(String name) voidremoveTarget(String name) voidvoidreplaceTarget(ConfigManager cfgMgr, TargetType targetCfg) voidreturnQueueConnection(jakarta.jms.Connection con) voidsendNotification(String email, String msgTxt, User user) voidsendNotification(String email, String msgTxt, User user, String contentType) voidsendNotification(String email, String msgTxt, String subject, User user) void
-
Method Details
-
initWorkFlows
Initializes the configured workflows from their XML source- Throws:
ProvisioningException
-
getTarget
Retrieves a provisioning target by its name as configured in the administration system- Parameters:
name- The name of the target- Returns:
- The target implementation class
- Throws:
ProvisioningException- Thrown if no target exists with that name
-
getWorkFlow
- Parameters:
name-user-- Returns:
- Throws:
ProvisioningException
-
getWorkFlow
- Throws:
ProvisioningException
-
doApproval
void doApproval(int id, String userID, boolean approved, String reason) throws ProvisioningException - Throws:
ProvisioningException
-
getUserIDAttribute
String getUserIDAttribute() -
getApproverAttributes
-
getUserAttrbiutes
-
logAction
void logAction(String target, boolean isEntry, ProvisioningUtil.ActionType actionType, int approval, Workflow wf, String attribute, String val) throws ProvisioningException - Throws:
ProvisioningException
-
sendNotification
-
sendNotification
-
sendNotification
-
sendNotification
-
getSmtpHost
String getSmtpHost() -
getSmtpPort
int getSmtpPort() -
getSmtpUser
String getSmtpUser() -
getSmtpPassword
String getSmtpPassword() -
getSmtpSubject
String getSmtpSubject() -
getSmtpFrom
String getSmtpFrom() -
isSmtpTLS
boolean isSmtpTLS() -
isUseSOCKSProxy
boolean isUseSOCKSProxy() -
getSocksProxyHost
String getSocksProxyHost() -
getLocalhost
String getLocalhost() -
getSocksProxyPort
int getSocksProxyPort() -
returnQueueConnection
void returnQueueConnection(jakarta.jms.Connection con) -
isInternalQueue
boolean isInternalQueue() -
initMessageConsumers
- Throws:
ProvisioningException
-
encryptObject
- Throws:
ProvisioningException
-
decryptObject
- Throws:
ProvisioningException
-
initScheduler
- Throws:
ProvisioningException
-
initListeners
- Throws:
ProvisioningException
-
clearDLQ
- Throws:
ProvisioningException
-
getHibernateSessionFactory
- Throws:
ProvisioningException
-
rebuildHibernate
void rebuildHibernate() -
removeTarget
- Throws:
ProvisioningException
-
replaceTarget
- Throws:
ProvisioningException
-
addDynamicTarget
- Throws:
ProvisioningException
-
getWorkflowCopy
- Throws:
ProvisioningException
-
addDynamicWorkflow
- Throws:
ProvisioningException
-
replaceDynamicWorkflow
- Throws:
ProvisioningException
-
removeDynamicWorkflow
- Throws:
ProvisioningException
-
initReports
- Throws:
ProvisioningException
-
addNewJob
void addNewJob(HashSet<String> jobKeys, JobType jobType) throws org.quartz.SchedulerException, ProvisioningException, ClassNotFoundException - Throws:
org.quartz.SchedulerExceptionProvisioningExceptionClassNotFoundException
-
deleteJob
-
addMessageListener
void addMessageListener(MessageListenerType mlt) throws InstantiationException, IllegalAccessException, ClassNotFoundException, ProvisioningException, jakarta.jms.JMSException - Throws:
InstantiationExceptionIllegalAccessExceptionClassNotFoundExceptionProvisioningExceptionjakarta.jms.JMSException
-
removeMessageListener
-
dlqMessage
void dlqMessage(jakarta.jms.TextMessage m) -
reEnQueue
-