X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms.jcr%2Fsrc%2Forg%2Fargeo%2Fjcr%2FJcrUtils.java;h=7f157cde661064941f69e5874dc39d484ff79a27;hb=b8d94ccc7493616233210a0886cef7c591ebb8a3;hp=1f1fa11217d01e76a5bbf96d4652de4c5459c5b6;hpb=bce03099b0d2f1758e7a3d74fba339d0200924d5;p=gpl%2Fargeo-jcr.git diff --git a/org.argeo.cms.jcr/src/org/argeo/jcr/JcrUtils.java b/org.argeo.cms.jcr/src/org/argeo/jcr/JcrUtils.java index 1f1fa11..7f157cd 100644 --- a/org.argeo.cms.jcr/src/org/argeo/jcr/JcrUtils.java +++ b/org.argeo.cms.jcr/src/org/argeo/jcr/JcrUtils.java @@ -1151,7 +1151,7 @@ public class JcrUtils { // } catch (InterruptedException e1) { // // ignore // } - + workspaceSession = repository.login(credentials, workspaceName); } return workspaceSession; @@ -1382,7 +1382,7 @@ public class JcrUtils { /** * Convenience method for adding a single privilege to a principal (user or - * role), typically jcr:all + * role), typically jcr:all. Session is saved. */ public synchronized static void addPrivilege(Session session, String path, String principal, String privilege) throws RepositoryException {