Package com.soffid.iam.service.ejb
Class EntitlementDelegationServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.EntitlementDelegationServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.EntitlementDelegationService,Serializable,javax.ejb.EnterpriseBean,javax.ejb.SessionBean,org.springframework.ejb.support.SmartSessionBean
public class EntitlementDelegationServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.EntitlementDelegationService- See Also:
com.soffid.iam.service.EntitlementDelegationService,,com.soffid.iam.service.EntitlementDelegationService,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description EntitlementDelegationServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.RoleAccountacceptDelegation(com.soffid.iam.api.RoleAccount ra)com.soffid.iam.api.RoleAccountcancelDelegation(com.soffid.iam.api.RoleAccount rolAccount)com.soffid.iam.api.RoleAccountdelegate(com.soffid.iam.api.RoleAccount rolAccount, String user, String account, Date since, Date until)voidejbCreate()Initizlizes beenvoidejbRemove()List<String>findAccountsToDelegate(com.soffid.iam.api.RoleAccount rolAccount, String user)List<com.soffid.iam.api.RoleAccount>findActiveDelegations()List<com.soffid.iam.api.RoleAccount>findDelegationsToAccept()protected org.springframework.beans.factory.BeanFactorygetBeanFactory()javax.ejb.SessionContextgetSessionContext()protected voidonEjbCreate()protected voidonEjbRemove()voidrevertExpiredDelegations()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.-
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
-
acceptDelegation
@PermitAll public com.soffid.iam.api.RoleAccount acceptDelegation(com.soffid.iam.api.RoleAccount ra) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
acceptDelegationin interfacecom.soffid.iam.service.ejb.EntitlementDelegationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
cancelDelegation
@PermitAll public com.soffid.iam.api.RoleAccount cancelDelegation(com.soffid.iam.api.RoleAccount rolAccount) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
cancelDelegationin interfacecom.soffid.iam.service.ejb.EntitlementDelegationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delegate
@PermitAll public com.soffid.iam.api.RoleAccount delegate(com.soffid.iam.api.RoleAccount rolAccount, String user, String account, Date since, Date until) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
delegatein interfacecom.soffid.iam.service.ejb.EntitlementDelegationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAccountsToDelegate
@PermitAll public List<String> findAccountsToDelegate(com.soffid.iam.api.RoleAccount rolAccount, String user) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccountsToDelegatein interfacecom.soffid.iam.service.ejb.EntitlementDelegationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findActiveDelegations
@PermitAll public List<com.soffid.iam.api.RoleAccount> findActiveDelegations() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findActiveDelegationsin interfacecom.soffid.iam.service.ejb.EntitlementDelegationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDelegationsToAccept
@PermitAll public List<com.soffid.iam.api.RoleAccount> findDelegationsToAccept() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDelegationsToAcceptin interfacecom.soffid.iam.service.ejb.EntitlementDelegationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
revertExpiredDelegations
@PermitAll public void revertExpiredDelegations() throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
revertExpiredDelegationsin interfacecom.soffid.iam.service.ejb.EntitlementDelegationService- 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()
-
-