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 String
BEAN_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.RoleAccount
acceptDelegation(com.soffid.iam.api.RoleAccount ra)
com.soffid.iam.api.RoleAccount
cancelDelegation(com.soffid.iam.api.RoleAccount rolAccount)
com.soffid.iam.api.RoleAccount
delegate(com.soffid.iam.api.RoleAccount rolAccount, String user, String account, Date since, Date until)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
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.BeanFactory
getBeanFactory()
javax.ejb.SessionContext
getSessionContext()
protected void
onEjbCreate()
protected void
onEjbRemove()
void
revertExpiredDelegations()
void
setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
void
setBeanFactoryLocatorKey(String arg0)
void
setSessionContext(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:
acceptDelegation
in 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:
cancelDelegation
in 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:
delegate
in 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:
findAccountsToDelegate
in 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:
findActiveDelegations
in 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:
findDelegationsToAccept
in 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:
revertExpiredDelegations
in 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:
ejbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreate
in 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:
setSessionContext
in interfacejavax.ejb.SessionBean
- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContext
in 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()
-
-