Package com.soffid.iam.service
Class PamSecurityHandlerServiceBase
- java.lang.Object
-
- com.soffid.iam.service.PamSecurityHandlerServiceBase
-
- All Implemented Interfaces:
PamSecurityHandlerService
- Direct Known Subclasses:
PamSecurityHandlerServiceImpl
public abstract class PamSecurityHandlerServiceBase extends Object implements PamSecurityHandlerService
Spring Service base class for
see com.soffid.iam.service.PamSecurityHandlerServicecom.soffid.iam.service.PamSecurityHandlerService, provides access to all services and entities referenced by this service.
-
-
Field Summary
-
Fields inherited from interface com.soffid.iam.service.PamSecurityHandlerService
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description PamSecurityHandlerServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcheckPermission(AccountEntity account, String action)Operation checkPermissioncom.soffid.iam.api.PamSecurityCheckcheckPermissionImpl(AccountEntity account, String action)Operation checkPermissionImplcom.soffid.iam.bpm.service.BpmEnginegetBpmEngine()Gets reference tobpmEngine.com.soffid.iam.api.PamSecurityCheckgetObligations(AccountEntity account, String action)Operation getObligationsprotected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.UserAccountEntityDaogetUserAccountEntityDao()Gets reference touserAccountEntityDao.protected abstract voidhandleCheckPermission(AccountEntity account, String action)protected abstract com.soffid.iam.api.PamSecurityCheckhandleCheckPermissionImpl(AccountEntity account, String action)protected abstract com.soffid.iam.api.PamSecurityCheckhandleGetObligations(AccountEntity account, String action)voidsetBpmEngine(com.soffid.iam.bpm.service.BpmEngine bpmEngine)Sets reference tobpmEngine.voidsetUserAccountEntityDao(UserAccountEntityDao userAccountEntityDao)Sets reference touserAccountEntityDao.
-
-
-
Method Detail
-
setBpmEngine
public void setBpmEngine(com.soffid.iam.bpm.service.BpmEngine bpmEngine)
Sets reference tobpmEngine.
-
getBpmEngine
public com.soffid.iam.bpm.service.BpmEngine getBpmEngine()
Gets reference tobpmEngine.
-
setUserAccountEntityDao
public void setUserAccountEntityDao(UserAccountEntityDao userAccountEntityDao)
Sets reference touserAccountEntityDao.
-
getUserAccountEntityDao
public UserAccountEntityDao getUserAccountEntityDao()
Gets reference touserAccountEntityDao.
-
checkPermissionImpl
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PamSecurityCheck checkPermissionImpl(AccountEntity account, String action) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:PamSecurityHandlerServiceOperation checkPermissionImpl- Specified by:
checkPermissionImplin interfacePamSecurityHandlerService- Returns:
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCheckPermissionImpl
protected abstract com.soffid.iam.api.PamSecurityCheck handleCheckPermissionImpl(AccountEntity account, String action) throws Exception
- Throws:
Exception
-
getObligations
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.PamSecurityCheck getObligations(AccountEntity account, String action) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:PamSecurityHandlerServiceOperation getObligations- Specified by:
getObligationsin interfacePamSecurityHandlerService- Returns:
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetObligations
protected abstract com.soffid.iam.api.PamSecurityCheck handleGetObligations(AccountEntity account, String action) throws Exception
- Throws:
Exception
-
checkPermission
@Transactional(rollbackFor=java.lang.Exception.class) public void checkPermission(AccountEntity account, String action) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:PamSecurityHandlerServiceOperation checkPermission- Specified by:
checkPermissionin interfacePamSecurityHandlerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCheckPermission
protected abstract void handleCheckPermission(AccountEntity account, String action) throws Exception
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-