Class AbstractAuthorizationManagerService
- java.lang.Object
-
- org.openiam.common.authmanager.service.AbstractAuthorizationManagerService
-
- Direct Known Subclasses:
AuthorizationManagerMenuServiceImpl,AuthorizationManagerServiceImpl,AuthorizationMenuAdminServiceImpl
public abstract class AbstractAuthorizationManagerService extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected MembershipDAOmembershipDAOprotected RabbitMQSenderrabbitMQSenderprotected ResourceDAOresourceDAOprotected ResourcePropDAOresourcePropDAOprotected org.springframework.transaction.support.TransactionTemplatetransactionTemplate
-
Constructor Summary
Constructors Constructor Description AbstractAuthorizationManagerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,AuthorizationMenu>createMenuTrees(Map<String,AuthorizationMenu> menuMap)protected Set<AuthorizationAccessRight>getAccessRight(Set<String> rightIds, Map<String,AuthorizationAccessRight> rights)protected Set<AuthorizationAccessRight>getAccessRight(AbstractMembershipXrefEntity<?,?> xref, Map<String,AuthorizationAccessRight> rights)protected Map<String,AuthorizationMenu>getAllMenuTrees()protected Map<String,Set<MembershipDTO>>getMembershipMapByEntityId(List<MembershipDTO> list)protected Map<String,Set<MembershipDTO>>getMembershipMapByMemberEntityId(List<MembershipDTO> list)protected List<AuthorizationMenu>getMenus(AuthorizationMenu menu)protected AuthorizationMenugetMenuTree(String menuId)protected Map<String,Set<String>>getRightMap(List<MembershipRightDTO> list)protected voidlocalize(AuthorizationMenu menu, String languageId)
-
-
-
Field Detail
-
transactionTemplate
@Autowired @Qualifier("transactionTemplate") protected org.springframework.transaction.support.TransactionTemplate transactionTemplate
-
resourceDAO
@Autowired @Qualifier("jdbcResourceDAO") protected ResourceDAO resourceDAO
-
resourcePropDAO
@Autowired @Qualifier("jdbcResourcePropDAO") protected ResourcePropDAO resourcePropDAO
-
rabbitMQSender
@Autowired protected RabbitMQSender rabbitMQSender
-
membershipDAO
@Autowired protected MembershipDAO membershipDAO
-
-
Method Detail
-
getMenuTree
protected AuthorizationMenu getMenuTree(String menuId)
-
getAccessRight
protected Set<AuthorizationAccessRight> getAccessRight(AbstractMembershipXrefEntity<?,?> xref, Map<String,AuthorizationAccessRight> rights)
-
getAccessRight
protected Set<AuthorizationAccessRight> getAccessRight(Set<String> rightIds, Map<String,AuthorizationAccessRight> rights)
-
getMembershipMapByEntityId
protected Map<String,Set<MembershipDTO>> getMembershipMapByEntityId(List<MembershipDTO> list)
-
getMembershipMapByMemberEntityId
protected Map<String,Set<MembershipDTO>> getMembershipMapByMemberEntityId(List<MembershipDTO> list)
-
localize
protected void localize(AuthorizationMenu menu, String languageId)
-
getMenus
protected List<AuthorizationMenu> getMenus(AuthorizationMenu menu)
-
getAllMenuTrees
protected final Map<String,AuthorizationMenu> getAllMenuTrees()
-
createMenuTrees
protected Map<String,AuthorizationMenu> createMenuTrees(Map<String,AuthorizationMenu> menuMap)
-
-