Class UserManagementResource
- java.lang.Object
-
- io.jans.ca.plugin.adminui.rest.user.UserManagementResource
-
@Path("/admin-ui") public class UserManagementResource extends Object
-
-
Constructor Summary
Constructors Constructor Description UserManagementResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
addPermission(@Valid @NotNull io.jans.as.model.config.adminui.AdminPermission permissionArg)
jakarta.ws.rs.core.Response
addPermissionsToRole(@Valid @NotNull io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
jakarta.ws.rs.core.Response
addRole(@Valid @NotNull io.jans.as.model.config.adminui.AdminRole roleArg)
jakarta.ws.rs.core.Response
deletePermission(@NotNull String adminUIPermission)
jakarta.ws.rs.core.Response
deleteRole(@NotNull String adminUIRole)
jakarta.ws.rs.core.Response
editPermission(@Valid @NotNull io.jans.as.model.config.adminui.AdminPermission permissionArg)
jakarta.ws.rs.core.Response
editRole(@Valid @NotNull io.jans.as.model.config.adminui.AdminRole roleArg)
jakarta.ws.rs.core.Response
getAdminUIRolePermissionsMapping(@NotNull String adminUIRole)
jakarta.ws.rs.core.Response
getAllAdminUIRolePermissionsMapping()
jakarta.ws.rs.core.Response
getAllPermissions()
jakarta.ws.rs.core.Response
getAllRoles()
jakarta.ws.rs.core.Response
getPermission(@NotNull String adminUIPermission)
jakarta.ws.rs.core.Response
getRole(@NotNull String adminUIRole)
jakarta.ws.rs.core.Response
mapPermissionsToRole(@Valid @NotNull io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
jakarta.ws.rs.core.Response
removePermissionsFromRole(@NotNull String role)
-
-
-
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)
-
-