svnno****@sourc*****
svnno****@sourc*****
2008年 6月 13日 (金) 15:42:35 JST
Revision: 981 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=981 Author: shinsuke Date: 2008-06-13 15:42:35 +0900 (Fri, 13 Jun 2008) Log Message: ----------- replaced with FolderSecurityConstraint. Modified Paths: -------------- pal-admin/tags/pal-admin-1.1/src/main/java/jp/sf/pal/admin/service/UserRegistrationService.java -------------- next part -------------- Modified: pal-admin/tags/pal-admin-1.1/src/main/java/jp/sf/pal/admin/service/UserRegistrationService.java =================================================================== --- pal-admin/tags/pal-admin-1.1/src/main/java/jp/sf/pal/admin/service/UserRegistrationService.java 2008-06-13 06:38:06 UTC (rev 980) +++ pal-admin/tags/pal-admin-1.1/src/main/java/jp/sf/pal/admin/service/UserRegistrationService.java 2008-06-13 06:42:35 UTC (rev 981) @@ -201,7 +201,7 @@ // set security constraint String userhome = Folder.USER_FOLDER + page.getUserName(); PageManager pageManager = PortalComponentUtil.getPageManager(); - SecurityConstraint sc = pageManager.newPageSecurityConstraint(); + SecurityConstraint sc = pageManager.newFolderSecurityConstraint(); sc.setUsers(PALAdminUtil.parseCSVList(page.getUserName())); List<String> permissions = new ArrayList<String>(); permissions.add(JetspeedActions.VIEW);