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)
io.jans.as.model.config.adminui.RolePermissionMapping
getAdminUIRolePermissionsMapping(String role)
List<io.jans.as.model.config.adminui.RolePermissionMapping>
getAllAdminUIRolePermissionsMapping()
List<io.jans.as.model.config.adminui.AdminRole>
getAllRoles()
io.jans.as.model.config.adminui.AdminPermission
getPermissionObjByName(String permission)
List<io.jans.as.model.config.adminui.AdminPermission>
getPermissions()
io.jans.as.model.config.adminui.AdminRole
getRoleObjByName(String role)
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(String role)
-
-
-
Method Detail
-
getAllRoles
public List<io.jans.as.model.config.adminui.AdminRole> getAllRoles() throws ApplicationException
- Throws:
ApplicationException
-
getRoleObjByName
public io.jans.as.model.config.adminui.AdminRole getRoleObjByName(String role) 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
-
getPermissionObjByName
public io.jans.as.model.config.adminui.AdminPermission getPermissionObjByName(String permission) 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
-
getAllAdminUIRolePermissionsMapping
public List<io.jans.as.model.config.adminui.RolePermissionMapping> getAllAdminUIRolePermissionsMapping() 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
-
getAdminUIRolePermissionsMapping
public io.jans.as.model.config.adminui.RolePermissionMapping getAdminUIRolePermissionsMapping(String role) throws ApplicationException
- Throws:
ApplicationException
-
removePermissionsFromRole
public List<io.jans.as.model.config.adminui.RolePermissionMapping> removePermissionsFromRole(String role) throws ApplicationException
- Throws:
ApplicationException
-
-