Package com.soffid.iam.service.ejb
Class SoDRuleServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.SoDRuleServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.SoDRuleService,Serializable,javax.ejb.EnterpriseBean,javax.ejb.SessionBean,org.springframework.ejb.support.SmartSessionBean
public class SoDRuleServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.SoDRuleService- See Also:
com.soffid.iam.service.SoDRuleService,,es.caib.seycon.ng.servei.SoDRuleService,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description SoDRuleServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.SoDRolecreate(com.soffid.iam.api.SoDRole role)com.soffid.iam.api.SoDRulecreate(com.soffid.iam.api.SoDRule rule)com.soffid.iam.api.SoDRuleMatrixcreate(com.soffid.iam.api.SoDRuleMatrix role)voidejbCreate()Initizlizes beenvoidejbRemove()Collection<com.soffid.iam.api.SoDRule>findAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra)Collection<com.soffid.iam.api.SoDRuleMatrix>findMatrixByRule(Long ruleId)Collection<com.soffid.iam.api.SoDRole>findRolesByRule(Long ruleId)Collection<com.soffid.iam.api.SoDRule>findRuleByApplication(Long applicationId)List<com.soffid.iam.api.SoDRule>findSodRuleByJsonQuery(String query, Integer first, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule>findSodRuleByJsonQueryAsync(String query)List<com.soffid.iam.api.RoleAccount>findViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel)protected org.springframework.beans.factory.BeanFactorygetBeanFactory()com.soffid.iam.api.SoDRulegetRuleById(Long ruleId)javax.ejb.SessionContextgetSessionContext()com.soffid.iam.api.SoDRuleisAllowed(com.soffid.iam.api.RoleAccount ra)protected voidonEjbCreate()protected voidonEjbRemove()voidqualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra)voidremove(com.soffid.iam.api.SoDRole role)voidremove(com.soffid.iam.api.SoDRule rule)voidremove(com.soffid.iam.api.SoDRuleMatrix role)voidsetBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)voidsetBeanFactoryLocatorKey(String arg0)voidsetSessionContext(javax.ejb.SessionContext sessionContext)Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.com.soffid.iam.api.SoDRuleupdate(com.soffid.iam.api.SoDRule rule)com.soffid.iam.api.SoDRuleMatrixupdate(com.soffid.iam.api.SoDRuleMatrix role)-
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate
-
-
-
-
Field Detail
-
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
findSodRuleByJsonQueryAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule> findSodRuleByJsonQueryAsync(String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSodRuleByJsonQueryAsyncin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.SoDRuleMatrix create(com.soffid.iam.api.SoDRuleMatrix role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.SoDRuleMatrix update(com.soffid.iam.api.SoDRuleMatrix role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.SoDRole create(com.soffid.iam.api.SoDRole role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.SoDRule create(com.soffid.iam.api.SoDRule rule) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getRuleById
@PermitAll public com.soffid.iam.api.SoDRule getRuleById(Long ruleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getRuleByIdin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
isAllowed
@PermitAll public com.soffid.iam.api.SoDRule isAllowed(com.soffid.iam.api.RoleAccount ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
isAllowedin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.SoDRule update(com.soffid.iam.api.SoDRule rule) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAffectingRulesByRolAccount
@PermitAll public Collection<com.soffid.iam.api.SoDRule> findAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAffectingRulesByRolAccountin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findMatrixByRule
@PermitAll public Collection<com.soffid.iam.api.SoDRuleMatrix> findMatrixByRule(Long ruleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findMatrixByRulein interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findRolesByRule
@PermitAll public Collection<com.soffid.iam.api.SoDRole> findRolesByRule(Long ruleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findRolesByRulein interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findRuleByApplication
@PermitAll public Collection<com.soffid.iam.api.SoDRule> findRuleByApplication(Long applicationId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findRuleByApplicationin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSodRuleByJsonQuery
@PermitAll public List<com.soffid.iam.api.SoDRule> findSodRuleByJsonQuery(String query, Integer first, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSodRuleByJsonQueryin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findViolotions
@PermitAll public List<com.soffid.iam.api.RoleAccount> findViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findViolotionsin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
qualifyRolAccountList
@PermitAll public void qualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
qualifyRolAccountListin interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
@PermitAll public void remove(com.soffid.iam.api.SoDRuleMatrix role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
removein interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
@PermitAll public void remove(com.soffid.iam.api.SoDRole role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
removein interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
@PermitAll public void remove(com.soffid.iam.api.SoDRule rule) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
removein interfacecom.soffid.iam.service.ejb.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
ejbCreate
@PostConstruct public void ejbCreate() throws javax.ejb.CreateException
Initizlizes been- Overrides:
ejbCreatein classorg.springframework.ejb.support.AbstractStatelessSessionBean- Throws:
javax.ejb.CreateException- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreatein classorg.springframework.ejb.support.AbstractStatelessSessionBean
-
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.- Specified by:
setSessionContextin interfacejavax.ejb.SessionBean- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContextin interfaceorg.springframework.ejb.support.SmartSessionBean
-
setBeanFactoryLocator
public void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
-
setBeanFactoryLocatorKey
public void setBeanFactoryLocatorKey(String arg0)
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
-
ejbRemove
public void ejbRemove()
-
onEjbRemove
protected void onEjbRemove()
-
-