[
https://issues.apache.org/jira/browse/SYNCOPE-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15389008#comment-15389008
]
ASF GitHub Bot commented on SYNCOPE-880:
----------------------------------------
Github user ilgrosso commented on a diff in the pull request:
https://github.com/apache/syncope/pull/26#discussion_r71832647
--- Diff:
core/workflow-activiti/src/main/java/org/apache/syncope/core/workflow/activiti/ActivitiUserWorkflowAdapter.java
---
@@ -349,11 +349,33 @@ protected void saveForFormSubmit(final User user,
final String password, final P
}
@Override
+ public WorkflowResult<String> doRequestCertify(final User user) {
+ String authUser = AuthContextUtils.getUsername();
+ engine.getRuntimeService().setVariable(user.getWorkflowId(),
FORM_SUBMITTER, authUser);
+
+ LOG.debug("Executing request-certify");
+ Set<String> performedTasks = doExecuteTask(user,
"request-certify", null);
+ for (String s: performedTasks) {
+ LOG.debug("request-certity: {}", s);
+ }
+ LOG.debug("request-certify performed");
+
+ PropagationByResource propByRes =
engine.getRuntimeService().getVariable(
+ user.getWorkflowId(), PROP_BY_RESOURCE,
PropagationByResource.class);
+
+ saveForFormSubmit(
+ user, null, propByRes);
+
+ return new WorkflowResult<>(user.getKey(), null, performedTasks);
+ }
+
+ @Override
protected WorkflowResult<String> doSuspend(final User user) {
Set<String> performedTasks = doExecuteTask(user, "suspend", null);
updateStatus(user);
User updated = userDAO.save(user);
+
--- End diff --
Please remove this blank line.
> Identity Recertification
> ------------------------
>
> Key: SYNCOPE-880
> URL: https://issues.apache.org/jira/browse/SYNCOPE-880
> Project: Syncope
> Issue Type: New Feature
> Components: console, core
> Reporter: Nicola Scendoni
> Priority: Minor
>
> Identify Re-certification is required for many national and international
> standards like SOX, GxP, etc.
> The idea is to implement one scheduled task that filter users basing on some
> attributes (example: last recertification date, role,...) and move then on
> one state "to be certified" and assign one task to some group that has the
> responsibility to recertified the user, or delete it from the system.
> Some report should report evidence about when the users have been recertified
> and who was the certifier.
>
> This feature would be also the starting point to create account, role and
> groups re-certifications.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)