Class UserManagementResource
- java.lang.Object
-
- io.jans.ca.plugin.adminui.rest.user.UserManagementResource
-
@Path("/admin-ui/user") 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(@Valid @NotNull io.jans.as.model.config.adminui.AdminPermission permissionArg)
jakarta.ws.rs.core.Response
deleteRole(@Valid @NotNull io.jans.as.model.config.adminui.AdminRole roleArg)
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()
jakarta.ws.rs.core.Response
getPermissions()
jakarta.ws.rs.core.Response
getRoles()
jakarta.ws.rs.core.Response
mapPermissionsToRole(@Valid @NotNull io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
jakarta.ws.rs.core.Response
removePermissionsFromRole(@Valid @NotNull io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
-
-
-
Method Detail
-
getRoles
@GET @Path("/roles") @Produces("application/json") public jakarta.ws.rs.core.Response getRoles()
-
addRole
@POST @Path("/roles") @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("/roles") @Produces("application/json") public jakarta.ws.rs.core.Response editRole(@Valid @NotNull @Valid @NotNull io.jans.as.model.config.adminui.AdminRole roleArg)
-
deleteRole
@DELETE @Path("/roles") @Produces("application/json") public jakarta.ws.rs.core.Response deleteRole(@Valid @NotNull @Valid @NotNull io.jans.as.model.config.adminui.AdminRole roleArg)
-
getPermissions
@GET @Path("/permissions") @Produces("application/json") public jakarta.ws.rs.core.Response getPermissions()
-
addPermission
@POST @Path("/permissions") @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("/permissions") @Produces("application/json") public jakarta.ws.rs.core.Response editPermission(@Valid @NotNull @Valid @NotNull io.jans.as.model.config.adminui.AdminPermission permissionArg)
-
deletePermission
@DELETE @Path("/permissions") @Produces("application/json") public jakarta.ws.rs.core.Response deletePermission(@Valid @NotNull @Valid @NotNull io.jans.as.model.config.adminui.AdminPermission permissionArg)
-
getAdminUIRolePermissionsMapping
@GET @Path("/rolePermissionsMapping") @Produces("application/json") public jakarta.ws.rs.core.Response getAdminUIRolePermissionsMapping()
-
addPermissionsToRole
@POST @Path("/rolePermissionsMapping") @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("/rolePermissionsMapping") @Produces("application/json") public jakarta.ws.rs.core.Response mapPermissionsToRole(@Valid @NotNull @Valid @NotNull io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
-
removePermissionsFromRole
@DELETE @Path("/rolePermissionsMapping") @Produces("application/json") public jakarta.ws.rs.core.Response removePermissionsFromRole(@Valid @NotNull @Valid @NotNull io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
-
-