Package com.soffid.iam.iga.service.ejb
Interface ApplicationService
public interface ApplicationService
EJB ApplicationService
-
Method Summary
Modifier and TypeMethodDescriptioncreate(InformationSystem aplicacio) create(RoleAccount rolsUsuaris) voiddelete(InformationSystem aplicacio) voidvoiddelete(RoleAccount rolsUsuaris) voiddenyRoleDefinition(Role rol) findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) findApplicationByApplicationName(String codiAplicacio) findApplicationByApplicationNameUnrestricted(String codiAplicacio) findApplicationChildren(String applicationName) findApplicationManagers(String informationSystem, String roleName) com.soffid.zkdb.api.PagedResult<InformationSystem>findApplications(com.soffid.zkdb.api.Query query) com.soffid.zkdb.api.PagedResult<DomainValue>findDomainValueByText(Domain domain, String text) com.soffid.zkdb.api.PagedResult<DomainValue>findDomainValueByTextAsync(Domain domain, String text) com.soffid.zkdb.api.PagedResult<DomainValue>findDomainValues(com.soffid.zkdb.api.Query query) findEffectiveRoleGrantByAccount(long accountId) findEffectiveRoleGrantByUser(long userId) findEffectiveRoleGrantByUserAndHolderGroup(long userId, long groupId) findEffectiveUserRolesByInformationSystem(String informationSystem) findGroupManagers(String group, String roleName) findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) com.soffid.zkdb.api.PagedResult<RoleAccount>findRedundantRoles(String query) findRoleAccountByAccount(long accountId) findRoleAccountByAccountNoRule(long accountId) findRoleAccountById(long id) com.soffid.zkdb.api.PagedResult<RoleAccount>findRoleAccounts(com.soffid.zkdb.api.Query query) findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) findRoleById(Long rolId) findRoleByNameAndSystem(String name, String system) findRoleByRoleNameAndApplicationNameAndDispatcherName(String nomRol, String codiAplicacio, String codiDispatcher) findRoleByShortName(String name) findRoleGrantByAccount(Long accountId) findRoleGrantByRole(Long rolId, Long numRegistres) findRoleGrantHierarchyByAccount(long accountId) findRoleGrantHierarchyByUser(long userId) findRoleGrantsByGroup(Group grup) com.soffid.zkdb.api.PagedResult<Role>findRoles(com.soffid.zkdb.api.Query query) findRolesByApplicationName(String codiAplicacio) findRolesByApplicationNameUnrestricted(String codiAplicacio) findRolesByDomainNameAndApplicationName(String nomDomini, String codiAplicacio) findRolesByUserName(String codiUsuari) findUserRolesByInformationSystem(String informationSystem) findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) findUserRolesByUserName(String codiUsuari) findUserRolesByUserNameNoRules(String codiUsuari) findUserRolesByUserNameNoSoD(String codiUsuari) findUserRolesHistoryByUserName(String codiUsuari) findUsersByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) generateChangesReport(Role rol, List<RoleAccount> grantsToAdd, List<RoleAccount> grantsToRemove) getRoles()removeRedundantRoles(String query) voidsynchronizeRole(Role rol) voidupdate(InformationSystem aplicacio) updateAttributes(RoleAccount rolsUsuaris)
-
Method Details
-
findDomainValueByText
com.soffid.zkdb.api.PagedResult<DomainValue> findDomainValueByText(Domain domain, String text) throws InternalErrorException, Exception - Throws:
InternalErrorExceptionException
-
findDomainValueByTextAsync
com.soffid.zkdb.api.PagedResult<DomainValue> findDomainValueByTextAsync(Domain domain, String text) throws InternalErrorException, Exception - Throws:
InternalErrorExceptionException
-
removeRedundantRoles
- Throws:
InternalErrorException
-
create
InformationSystem create(InformationSystem aplicacio) throws InternalErrorException, InternalErrorException -
findApplicationByApplicationNameUnrestricted
InformationSystem findApplicationByApplicationNameUnrestricted(String codiAplicacio) throws InternalErrorException, InternalErrorException -
findApplicationByApplicationName
InformationSystem findApplicationByApplicationName(String codiAplicacio) throws InternalErrorException, InternalErrorException -
findApplicationById
InformationSystem findApplicationById(Long id) throws InternalErrorException, InternalErrorException -
approveRoleDefinition
-
create
-
create2
-
denyRoleDefinition
-
findRoleById
-
findRoleByRoleNameAndApplicationNameAndDispatcherName
Role findRoleByRoleNameAndApplicationNameAndDispatcherName(String nomRol, String codiAplicacio, String codiDispatcher) throws InternalErrorException, InternalErrorException -
findRoleByNameAndSystem
Role findRoleByNameAndSystem(String name, String system) throws InternalErrorException, InternalErrorException -
findRoleByShortName
-
update
-
update2
-
create
-
findRoleAccountById
- Throws:
InternalErrorException
-
updateAttributes
RoleAccount updateAttributes(RoleAccount rolsUsuaris) throws InternalErrorException, InternalErrorException -
create
-
update
-
findApplications
com.soffid.zkdb.api.PagedResult<InformationSystem> findApplications(com.soffid.zkdb.api.Query query) throws InternalErrorException, InternalErrorException -
findDomainValues
com.soffid.zkdb.api.PagedResult<DomainValue> findDomainValues(com.soffid.zkdb.api.Query query) throws InternalErrorException, InternalErrorException -
findRedundantRoles
com.soffid.zkdb.api.PagedResult<RoleAccount> findRedundantRoles(String query) throws InternalErrorException - Throws:
InternalErrorException
-
findRoleAccounts
com.soffid.zkdb.api.PagedResult<RoleAccount> findRoleAccounts(com.soffid.zkdb.api.Query query) throws InternalErrorException, InternalErrorException -
findRoles
com.soffid.zkdb.api.PagedResult<Role> findRoles(com.soffid.zkdb.api.Query query) throws InternalErrorException, InternalErrorException -
generateChangesReport
-
generateChangesReport
String generateChangesReport(Role rol, List<RoleAccount> grantsToAdd, List<RoleAccount> grantsToRemove) throws InternalErrorException, InternalErrorException -
findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName
Collection<NetworkAuthorization> findNetworkACLRolesByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException -
findApplicationChildren
Collection<InformationSystem> findApplicationChildren(String applicationName) throws InternalErrorException, InternalErrorException -
findApplicationManagementRoles
Collection<Role> findApplicationManagementRoles() throws InternalErrorException, InternalErrorException -
findApplicationManagers
Collection<RoleAccount> findApplicationManagers(String informationSystem, String roleName) throws InternalErrorException, InternalErrorException -
findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName
Collection<AuthorizationRole> findRoleAuthorizationsByRoleNameAndApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException -
findEffectiveRoleGrantByAccount
Collection<RoleGrant> findEffectiveRoleGrantByAccount(long accountId) throws InternalErrorException, InternalErrorException -
findEffectiveRoleGrantByUser
Collection<RoleGrant> findEffectiveRoleGrantByUser(long userId) throws InternalErrorException, InternalErrorException -
findEffectiveRoleGrantByUserAndHolderGroup
Collection<RoleGrant> findEffectiveRoleGrantByUserAndHolderGroup(long userId, long groupId) throws InternalErrorException, InternalErrorException -
findEffectiveUserRolesByInformationSystem
Collection<RoleAccount> findEffectiveUserRolesByInformationSystem(String informationSystem) throws InternalErrorException, InternalErrorException -
findGroupManagementRoles
-
findGroupManagers
Collection<RoleAccount> findGroupManagers(String group, String roleName) throws InternalErrorException, InternalErrorException -
findRoleHoldersGroupsByRole
Collection<Group> findRoleHoldersGroupsByRole(Role rol) throws InternalErrorException, InternalErrorException -
findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName
Collection<AccessTreeAuthorization> findApplicationAccessTreeRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException -
findRoleAccountByAccount
Collection<RoleAccount> findRoleAccountByAccount(long accountId) throws InternalErrorException, InternalErrorException -
findRoleGrantByAccount
Collection<RoleGrant> findRoleGrantByAccount(Long accountId) throws InternalErrorException, InternalErrorException -
findRoleGrantByRole
Collection<RoleGrant> findRoleGrantByRole(Long rolId, Long numRegistres) throws InternalErrorException, InternalErrorException -
findRoleAccountByAccountNoRule
Collection<RoleAccount> findRoleAccountByAccountNoRule(long accountId) throws InternalErrorException, InternalErrorException -
findRoleGrantHierarchyByAccount
Collection<RoleGrantHierarchy> findRoleGrantHierarchyByAccount(long accountId) throws InternalErrorException, InternalErrorException -
findRoleGrantHierarchyByUser
Collection<RoleGrantHierarchy> findRoleGrantHierarchyByUser(long userId) throws InternalErrorException, InternalErrorException -
findRoleGrantsByGroup
Collection<RoleGrant> findRoleGrantsByGroup(Group grup) throws InternalErrorException, InternalErrorException -
findRolesByApplicationName
Collection<Role> findRolesByApplicationName(String codiAplicacio) throws InternalErrorException, InternalErrorException -
findRolesByApplicationNameUnrestricted
Collection<Role> findRolesByApplicationNameUnrestricted(String codiAplicacio) throws InternalErrorException, InternalErrorException -
findRolesByUserName
Collection<Role> findRolesByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException -
findRolesByDomainNameAndApplicationName
Collection<Role> findRolesByDomainNameAndApplicationName(String nomDomini, String codiAplicacio) throws InternalErrorException, InternalErrorException -
findGrantedRolesToGroupByGroup
Collection<Role> findGrantedRolesToGroupByGroup(Group grup) throws InternalErrorException, InternalErrorException -
findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName
Collection<RoleAccount> findUserRolesByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException -
findUserRolesByUserName
Collection<RoleAccount> findUserRolesByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException -
findUserRolesHistoryByUserName
Collection<RoleAccount> findUserRolesHistoryByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException -
findUserRolesByUserNameNoSoD
Collection<RoleAccount> findUserRolesByUserNameNoSoD(String codiUsuari) throws InternalErrorException, InternalErrorException -
findUserRolesByInformationSystem
Collection<RoleAccount> findUserRolesByInformationSystem(String informationSystem) throws InternalErrorException, InternalErrorException -
findUserRolesByUserNameNoRules
Collection<RoleAccount> findUserRolesByUserNameNoRules(String codiUsuari) throws InternalErrorException, InternalErrorException -
findUsersByRoleNameAndRoleApplicationNameAndDispatcherName
Collection<User> findUsersByRoleNameAndRoleApplicationNameAndDispatcherName(String nomRole, String codiAplicacioRol, String codiDispatcher) throws InternalErrorException, InternalErrorException -
getRoles
-
delete
-
delete
-
delete
-
delete
-
synchronizeRole
-
update
-