{"action":"created","issue":{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/264","labels_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/264/comments","events_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/264/events","html_url":"https://github.com/ilgrosso/oldSyncopeIdM/issues/264","id":61998601,"number":264,"title":"Allow new resources subscription without password using AES or other Symmetric Algorithms","user":{"login":"ilgrosso","id":1064664,"avatar_url":"https://avatars.githubusercontent.com/u/1064664?v=3","gravatar_id":"","url":"https://api.github.com/users/ilgrosso","html_url":"https://github.com/ilgrosso","followers_url":"https://api.github.com/users/ilgrosso/followers","following_url":"https://api.github.com/users/ilgrosso/following{/other_user}","gists_url":"https://api.github.com/users/ilgrosso/gists{/gist_id}","starred_url":"https://api.github.com/users/ilgrosso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilgrosso/subscriptions","organizations_url":"https://api.github.com/users/ilgrosso/orgs","repos_url":"https://api.github.com/users/ilgrosso/repos","events_url":"https://api.github.com/users/ilgrosso/events{/privacy}","received_events_url":"https://api.github.com/users/ilgrosso/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/2%E2%80%935%20stars","name":"2–5 stars","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/Component-Logic","name":"Component-Logic","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"},{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/labels/Release-Virtuoso-2.0","name":"Release-Virtuoso-2.0","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-16T07:49:42Z","updated_at":"2015-03-16T07:49:55Z","closed_at":null,"body":"_From [denis.si...@gmail.com](https://code.google.com/u/105548482992247672762/) on December 28, 2011 10:16:26_\n\nWhat steps will reproduce the problem? 1. Setup (in configuration) password.cipher.algorithm AES or another symmetric algorithm\r\n2. Create a user\r\n3. Create a resource\r\n4. Edit user and associate a new Resource What is the expected output? What do you see instead? The user is associated and provisioned using the same\r\npassword previously defined. (Not a real issue, it's an\r\nimprovement). Instead password change requied with the\r\nerror message \"Error:{[RequiredValuesMissing [password cannot be empty when subscribing to new resources]], }\" What version of the product are you using? On what operating system? - Product rev: trunk (1354)\r\n- Operative System: x86_64 x86_64 GNU/Linux, \r\n- JVM: Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)\r\n- Apache Tomcat 7.0.22 Please provide any additional information below.\n\n_Original issue: http://code.google.com/p/syncope/issues/detail?id=264_"},"comment":{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/comments/81472701","html_url":"https://github.com/ilgrosso/oldSyncopeIdM/issues/264#issuecomment-81472701","issue_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/264","id":81472701,"user":{"login":"ilgrosso","id":1064664,"avatar_url":"https://avatars.githubusercontent.com/u/1064664?v=3","gravatar_id":"","url":"https://api.github.com/users/ilgrosso","html_url":"https://github.com/ilgrosso","followers_url":"https://api.github.com/users/ilgrosso/followers","following_url":"https://api.github.com/users/ilgrosso/following{/other_user}","gists_url":"https://api.github.com/users/ilgrosso/gists{/gist_id}","starred_url":"https://api.github.com/users/ilgrosso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilgrosso/subscriptions","organizations_url":"https://api.github.com/users/ilgrosso/orgs","repos_url":"https://api.github.com/users/ilgrosso/repos","events_url":"https://api.github.com/users/ilgrosso/events{/privacy}","received_events_url":"https://api.github.com/users/ilgrosso/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T07:49:55Z","updated_at":"2015-03-16T07:49:55Z","body":"_From [chicchiricco](https://code.google.com/u/chicchiricco/) on May 28, 2012 01:42:21_\n\nScenario: an user is subscribing to a new resource\r\n\r\nCase 1: 2-way (a.k.a. symmetric) password cipher algorithm is configured in Syncope\r\n\r\nUse decrypted password from SyncopeUser to subscribe new resource.\r\n\r\n\r\nCase 2: 1-way (a.k.a. hash or asymmetric) password cipher algorithm is configured in Syncope and no clear-text password is available (for example, passed via UserMod or provided by a synchronizing resource)\r\n\r\nProvide, on a resource-basis, a mean to configure how new password should be generated:\r\n * constant\r\n * random password generation (compliant with resource password policy, if present - see issue #218 )\r\n * provide custom Java class"}}