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 void
checkPermission(AccountEntity account, String action)
Operation checkPermissioncom.soffid.iam.api.PamSecurityCheck
checkPermissionImpl(AccountEntity account, String action)
Operation checkPermissionImplcom.soffid.iam.bpm.service.BpmEngine
getBpmEngine()
Gets reference tobpmEngine
.com.soffid.iam.api.PamSecurityCheck
getObligations(AccountEntity account, String action)
Operation getObligationsprotected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.UserAccountEntityDao
getUserAccountEntityDao()
Gets reference touserAccountEntityDao
.protected abstract void
handleCheckPermission(AccountEntity account, String action)
protected abstract com.soffid.iam.api.PamSecurityCheck
handleCheckPermissionImpl(AccountEntity account, String action)
protected abstract com.soffid.iam.api.PamSecurityCheck
handleGetObligations(AccountEntity account, String action)
void
setBpmEngine(com.soffid.iam.bpm.service.BpmEngine bpmEngine)
Sets reference tobpmEngine
.void
setUserAccountEntityDao(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:PamSecurityHandlerService
Operation checkPermissionImpl- Specified by:
checkPermissionImpl
in 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:PamSecurityHandlerService
Operation getObligations- Specified by:
getObligations
in 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:PamSecurityHandlerService
Operation checkPermission- Specified by:
checkPermission
in 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 currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-