Interface ProvisioningEngine
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDynamicTarget
(ConfigManager cfgMgr, TargetType targetCfg) void
void
void
void
clearDLQ()
void
void
dlqMessage
(jakarta.jms.TextMessage m) void
doApproval
(int id, String userID, boolean approved, String reason) org.hibernate.SessionFactory
int
int
Retrieves a provisioning target by its name as configured in the administration systemgetWorkFlow
(String name) getWorkFlow
(String name, User user) getWorkflowCopy
(String name) void
void
void
void
void
Initializes the configured workflows from their XML sourceboolean
boolean
boolean
void
logAction
(String target, boolean isEntry, ProvisioningUtil.ActionType actionType, int approval, Workflow wf, String attribute, String val) void
void
reEnQueue
(jakarta.jms.TextMessage tm, int numOfTries, JMSSessionHolder session) void
removeDynamicWorkflow
(String name) void
removeMessageListener
(String name) void
removeTarget
(String name) void
void
replaceTarget
(ConfigManager cfgMgr, TargetType targetCfg) void
returnQueueConnection
(jakarta.jms.Connection con) void
sendNotification
(String email, String msgTxt, User user) void
sendNotification
(String email, String msgTxt, User user, String contentType) void
sendNotification
(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.SchedulerException
ProvisioningException
ClassNotFoundException
-
deleteJob
-
addMessageListener
void addMessageListener(MessageListenerType mlt) throws InstantiationException, IllegalAccessException, ClassNotFoundException, ProvisioningException, jakarta.jms.JMSException - Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
ProvisioningException
jakarta.jms.JMSException
-
removeMessageListener
-
dlqMessage
void dlqMessage(jakarta.jms.TextMessage m) -
reEnQueue
-