Package com.soffid.iam.service.ejb
Class OTPValidationServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.OTPValidationServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.OTPValidationService,Serializable,javax.ejb.EnterpriseBean,javax.ejb.SessionBean,org.springframework.ejb.support.SmartSessionBean
public class OTPValidationServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.OTPValidationService- See Also:
com.soffid.iam.service.OTPValidationService,,com.soffid.iam.service.OTPValidationService,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description OTPValidationServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidejbCreate()Initizlizes beenvoidejbRemove()protected org.springframework.beans.factory.BeanFactorygetBeanFactory()javax.ejb.SessionContextgetSessionContext()protected voidonEjbCreate()protected voidonEjbRemove()com.soffid.iam.api.ChallengeresendToken(com.soffid.iam.api.Challenge challenge, boolean alternativeMethod)booleanresetFailCount(String account)com.soffid.iam.api.ChallengeselectToken(com.soffid.iam.api.Challenge challenge)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.booleanvalidatePin(com.soffid.iam.api.Challenge challenge, String pin)-
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
-
resetFailCount
@PermitAll public boolean resetFailCount(String account) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
resetFailCountin interfacecom.soffid.iam.service.ejb.OTPValidationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
validatePin
@PermitAll public boolean validatePin(com.soffid.iam.api.Challenge challenge, String pin) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
validatePinin interfacecom.soffid.iam.service.ejb.OTPValidationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
resendToken
@PermitAll public com.soffid.iam.api.Challenge resendToken(com.soffid.iam.api.Challenge challenge, boolean alternativeMethod) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
resendTokenin interfacecom.soffid.iam.service.ejb.OTPValidationService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
selectToken
@PermitAll public com.soffid.iam.api.Challenge selectToken(com.soffid.iam.api.Challenge challenge) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
selectTokenin interfacecom.soffid.iam.service.ejb.OTPValidationService- 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()
-
-