mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10402: PUB: Access tokens are not being stored in encrypted properties
- Corrected a previously missed a path through the code (used by SlideShare) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -281,9 +281,10 @@ public class ChannelServiceImpl implements ChannelService
|
||||
*/
|
||||
public void updateChannel(Channel channel, Map<QName, Serializable> properties)
|
||||
{
|
||||
HashMap<QName, Serializable> actualProps = new HashMap<QName, Serializable>(properties);
|
||||
Map<QName, Serializable> actualProps = new HashMap<QName, Serializable>(properties);
|
||||
actualProps.remove(ContentModel.PROP_NODE_UUID);
|
||||
NodeRef editorialNode = new NodeRef(channel.getId());
|
||||
actualProps = encryptor.encrypt(actualProps);
|
||||
for (Map.Entry<QName, Serializable> entry : actualProps.entrySet())
|
||||
{
|
||||
nodeService.setProperty(editorialNode, entry.getKey(), entry.getValue());
|
||||
|
Reference in New Issue
Block a user