Class UserManagementService
- java.lang.Object
-
- io.jans.ca.plugin.adminui.service.user.UserManagementService
-
@Singleton public class UserManagementService extends Object
-
-
Constructor Summary
Constructors Constructor Description UserManagementService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<io.jans.as.model.config.adminui.AdminPermission>
addPermission(io.jans.as.model.config.adminui.AdminPermission permissionArg)
List<io.jans.as.model.config.adminui.RolePermissionMapping>
addPermissionsToRole(io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
List<io.jans.as.model.config.adminui.AdminRole>
addRole(io.jans.as.model.config.adminui.AdminRole roleArg)
List<io.jans.as.model.config.adminui.AdminPermission>
deletePermission(String permission)
List<io.jans.as.model.config.adminui.AdminRole>
deleteRole(String role)
List<io.jans.as.model.config.adminui.AdminPermission>
editPermission(io.jans.as.model.config.adminui.AdminPermission permissionArg)
List<io.jans.as.model.config.adminui.AdminRole>
editRole(io.jans.as.model.config.adminui.AdminRole roleArg)
List<io.jans.as.model.config.adminui.RolePermissionMapping>
getAdminUIRolePermissionsMapping()
List<io.jans.as.model.config.adminui.AdminPermission>
getPermissions()
List<io.jans.as.model.config.adminui.AdminRole>
getRoles()
List<io.jans.as.model.config.adminui.RolePermissionMapping>
mapPermissionsToRole(io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
List<io.jans.as.model.config.adminui.RolePermissionMapping>
removePermissionsFromRole(io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg)
-
-
-
Method Detail
-
getRoles
public List<io.jans.as.model.config.adminui.AdminRole> getRoles() throws ApplicationException
- Throws:
ApplicationException
-
addRole
public List<io.jans.as.model.config.adminui.AdminRole> addRole(io.jans.as.model.config.adminui.AdminRole roleArg) throws ApplicationException
- Throws:
ApplicationException
-
editRole
public List<io.jans.as.model.config.adminui.AdminRole> editRole(io.jans.as.model.config.adminui.AdminRole roleArg) throws ApplicationException
- Throws:
ApplicationException
-
deleteRole
public List<io.jans.as.model.config.adminui.AdminRole> deleteRole(String role) throws ApplicationException
- Throws:
ApplicationException
-
getPermissions
public List<io.jans.as.model.config.adminui.AdminPermission> getPermissions() throws ApplicationException
- Throws:
ApplicationException
-
addPermission
public List<io.jans.as.model.config.adminui.AdminPermission> addPermission(io.jans.as.model.config.adminui.AdminPermission permissionArg) throws ApplicationException
- Throws:
ApplicationException
-
editPermission
public List<io.jans.as.model.config.adminui.AdminPermission> editPermission(io.jans.as.model.config.adminui.AdminPermission permissionArg) throws ApplicationException
- Throws:
ApplicationException
-
deletePermission
public List<io.jans.as.model.config.adminui.AdminPermission> deletePermission(String permission) throws ApplicationException
- Throws:
ApplicationException
-
getAdminUIRolePermissionsMapping
public List<io.jans.as.model.config.adminui.RolePermissionMapping> getAdminUIRolePermissionsMapping() throws ApplicationException
- Throws:
ApplicationException
-
addPermissionsToRole
public List<io.jans.as.model.config.adminui.RolePermissionMapping> addPermissionsToRole(io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg) throws ApplicationException
- Throws:
ApplicationException
-
mapPermissionsToRole
public List<io.jans.as.model.config.adminui.RolePermissionMapping> mapPermissionsToRole(io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg) throws ApplicationException
- Throws:
ApplicationException
-
removePermissionsFromRole
public List<io.jans.as.model.config.adminui.RolePermissionMapping> removePermissionsFromRole(io.jans.as.model.config.adminui.RolePermissionMapping rolePermissionMappingArg) throws ApplicationException
- Throws:
ApplicationException
-
-