Class SpaceAclController
- java.lang.Object
-
- org.duracloud.duradmin.spaces.controller.SpaceAclController
-
@Controller public class SpaceAclController extends Object
- Author:
- Daniel Bernstein Date: Nov 17, 2011
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description SpaceAclController(ContentStoreManager contentStoreManager, DuracloudUserDetailsService userDetailsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ContentStoregetContentStore(Space space)org.springframework.web.servlet.ModelAndViewgetNewUserAcls(String spaceId, String storeId)org.springframework.web.servlet.ModelAndViewgetSpaceAcls(String spaceId, String storeId)org.springframework.web.servlet.ModelAndViewpostSpaceAcls(javax.servlet.http.HttpServletRequest request, String spaceId, String storeId, String action)
-
-
-
Constructor Detail
-
SpaceAclController
@Autowired(required=true) public SpaceAclController(@Qualifier("contentStoreManager") ContentStoreManager contentStoreManager, @Qualifier("userDetailsSvc") DuracloudUserDetailsService userDetailsService)
-
-
Method Detail
-
postSpaceAcls
@RequestMapping(value="/spaces/acls", method=POST) public org.springframework.web.servlet.ModelAndView postSpaceAcls(javax.servlet.http.HttpServletRequest request, @RequestParam String spaceId, @RequestParam String storeId, @RequestParam String action) throws Exception- Throws:
Exception
-
getSpaceAcls
@RequestMapping(value="/spaces/acls", method=GET) public org.springframework.web.servlet.ModelAndView getSpaceAcls(@RequestParam String spaceId, @RequestParam String storeId) throws Exception- Throws:
Exception
-
getNewUserAcls
@RequestMapping(value="/spaces/acls/unassignedAcls", method=GET) public org.springframework.web.servlet.ModelAndView getNewUserAcls(@RequestParam String spaceId, @RequestParam String storeId) throws Exception- Throws:
Exception
-
getContentStore
protected ContentStore getContentStore(Space space) throws ContentStoreException
- Throws:
ContentStoreException
-
-