Class RolePrincipalsResource

java.lang.Object
com.xebialabs.xlrelease.api.internal.RolePrincipalsResource

@Path("/roles") @Consumes("application/json") @Produces("application/json") @Controller public class RolePrincipalsResource extends Object
The login names or LDAP groups that are part of a security role.
  • Constructor Details

    • RolePrincipalsResource

      @Autowired public RolePrincipalsResource(com.xebialabs.xlrelease.security.PermissionChecker permissionChecker, com.xebialabs.deployit.security.RoleService roleService, TeamService teamService, com.xebialabs.xlrelease.security.ReleaseRoleService releaseRoleService, XLReleaseEventBus xlReleaseEventBus)
  • Method Details

    • readRoleNames

      @GET @Path("names") public List<String> readRoleNames()
    • readRolePrincipals

      @GET @Path("principals") public org.springframework.data.domain.Page<RolePrincipalsView> readRolePrincipals(@BeanParam com.xebialabs.xlrelease.api.v1.filters.RolePrincipalsFilters filters, @DefaultValue("0") @QueryParam("page") int page, @DefaultValue("100") @QueryParam("resultsPerPage") int resultsPerPage)
    • readRolePrincipals

      @Deprecated(since="24.1") public List<RolePrincipalsView> readRolePrincipals()
      Deprecated.
    • createOrUpdateGlobalRolePermission

      @PUT @Path("principals") public void createOrUpdateGlobalRolePermission(RolePrincipalsView rolePrincipalsView)
    • deleteGlobalRolePermission

      @DELETE @Path("principals/{roleId:.*}") public void deleteGlobalRolePermission(@PathParam("roleId") String roleId)