Class UserManagementResource


  • @Path("/admin-ui")
    public class UserManagementResource
    extends Object
    • Constructor Detail

      • UserManagementResource

        public UserManagementResource()
    • Method Detail

      • getAllRoles

        @GET
        @Path("/adminUIRoles")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getAllRoles()
      • addRole

        @POST
        @Path("/adminUIRoles")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response addRole​(@Valid @NotNull
                                                   @Valid @NotNull io.jans.as.model.config.adminui.AdminRole roleArg)
      • editRole

        @PUT
        @Path("/adminUIRoles")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response editRole​(@Valid @NotNull
                                                    @Valid @NotNull io.jans.as.model.config.adminui.AdminRole roleArg)
      • getRole

        @GET
        @Path("/adminUIRoles/{adminUIRole}")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getRole​(@PathParam("adminUIRole") @NotNull
                                                   @NotNull String adminUIRole)
      • deleteRole

        @DELETE
        @Path("/adminUIRoles/{adminUIRole}")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response deleteRole​(@PathParam("adminUIRole") @NotNull
                                                      @NotNull String adminUIRole)
      • getAllPermissions

        @GET
        @Path("/adminUIPermissions")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getAllPermissions()
      • addPermission

        @POST
        @Path("/adminUIPermissions")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response addPermission​(@Valid @NotNull
                                                         @Valid @NotNull io.jans.as.model.config.adminui.AdminPermission permissionArg)
      • editPermission

        @PUT
        @Path("/adminUIPermissions")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response editPermission​(@Valid @NotNull
                                                          @Valid @NotNull io.jans.as.model.config.adminui.AdminPermission permissionArg)
      • getPermission

        @GET
        @Path("/adminUIPermissions/{adminUIPermission}")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getPermission​(@PathParam("adminUIPermission") @NotNull
                                                         @NotNull String adminUIPermission)
      • deletePermission

        @DELETE
        @Path("/adminUIPermissions/{adminUIPermission}")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response deletePermission​(@PathParam("adminUIPermission") @NotNull
                                                            @NotNull String adminUIPermission)
      • getAllAdminUIRolePermissionsMapping

        @GET
        @Path("/adminUIRolePermissionsMapping")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getAllAdminUIRolePermissionsMapping()
      • addPermissionsToRole

        @POST
        @Path("/adminUIRolePermissionsMapping")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response addPermissionsToRole​(@Valid @NotNull
                                                                @Valid @NotNull io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
      • mapPermissionsToRole

        @PUT
        @Path("/adminUIRolePermissionsMapping")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response mapPermissionsToRole​(@Valid @NotNull
                                                                @Valid @NotNull io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
      • getAdminUIRolePermissionsMapping

        @GET
        @Path("/adminUIRolePermissionsMapping/{adminUIRole}")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getAdminUIRolePermissionsMapping​(@PathParam("adminUIRole") @NotNull
                                                                            @NotNull String adminUIRole)
      • removePermissionsFromRole

        @DELETE
        @Path("/adminUIRolePermissionsMapping/{adminUIRole}")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response removePermissionsFromRole​(@PathParam("adminUIRole") @NotNull
                                                                     @NotNull String role)