Class SecurityResource


  • @Path("/security")
    @Consumes("application/json")
    @Produces("application/json")
    @Controller
    public class SecurityResource
    extends java.lang.Object
    Returns a global view of the permissions granted to the currently logged in user.
    • Constructor Summary

      Constructors 
      Constructor Description
      SecurityResource​(com.xebialabs.deployit.security.PermissionLister permissionLister, com.xebialabs.deployit.security.RoleService roleService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getGlobalPermissions()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecurityResource

        @Autowired
        public SecurityResource​(com.xebialabs.deployit.security.PermissionLister permissionLister,
                                com.xebialabs.deployit.security.RoleService roleService)
    • Method Detail

      • getGlobalPermissions

        @GET
        public java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getGlobalPermissions()