svnno****@sourc*****
svnno****@sourc*****
2008年 6月 13日 (金) 15:38:07 JST
Revision: 980 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=980 Author: shinsuke Date: 2008-06-13 15:38:06 +0900 (Fri, 13 Jun 2008) Log Message: ----------- replaced with FolderSecurityConstraint. Modified Paths: -------------- pal-admin/trunk/src/main/java/jp/sf/pal/admin/service/UserRegistrationService.java -------------- next part -------------- Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/service/UserRegistrationService.java =================================================================== --- pal-admin/trunk/src/main/java/jp/sf/pal/admin/service/UserRegistrationService.java 2008-06-12 09:22:06 UTC (rev 979) +++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/service/UserRegistrationService.java 2008-06-13 06:38:06 UTC (rev 980) @@ -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);