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:
Brian Remmington
2011-09-22 16:41:39 +00:00
parent 716546e948
commit 646dd196af

View File

@@ -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());