Package com.soffid.iam.service
Class SoDRuleServiceBase
- java.lang.Object
-
- com.soffid.iam.service.SoDRuleServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.service.SoDRuleService
- Direct Known Subclasses:
SoDRuleServiceImpl
public abstract class SoDRuleServiceBase extends Object implements com.soffid.iam.service.SoDRuleService
Spring Service base class for
see com.soffid.iam.service.SoDRuleServicecom.soffid.iam.service.SoDRuleService
, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description SoDRuleServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.SoDRole
create(com.soffid.iam.api.SoDRole role)
com.soffid.iam.api.SoDRule
create(com.soffid.iam.api.SoDRule rule)
com.soffid.iam.api.SoDRuleMatrix
create(com.soffid.iam.api.SoDRuleMatrix role)
Collection<com.soffid.iam.api.SoDRule>
findAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra)
Collection<com.soffid.iam.api.SoDRuleMatrix>
findMatrixByRule(Long ruleId)
Collection<com.soffid.iam.api.SoDRole>
findRolesByRule(Long ruleId)
Collection<com.soffid.iam.api.SoDRule>
findRuleByApplication(Long applicationId)
List<com.soffid.iam.api.SoDRule>
findSodRuleByJsonQuery(String query, Integer first, Integer pageSize)
com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule>
findSodRuleByJsonQueryAsync(String query)
List<com.soffid.iam.api.RoleAccount>
findViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel)
com.soffid.iam.service.ApplicationService
getApplicationService()
Gets reference toaplicacioService
.com.soffid.iam.service.AsyncRunnerService
getAsyncRunnerService()
Gets reference toasyncRunnerService
.com.soffid.iam.service.ConfigurationService
getConfigurationService()
Gets reference toconfiguracioService
.InformationSystemEntityDao
getInformationSystemEntityDao()
Gets reference toaplicacioEntityDao
.protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.RoleEntityDao
getRoleEntityDao()
Gets reference torolEntityDao
.com.soffid.iam.api.SoDRule
getRuleById(Long ruleId)
SoDRoleEntityDao
getSoDRoleEntityDao()
Gets reference tosoDRoleEntityDao
.SoDRuleEntityDao
getSoDRuleEntityDao()
Gets reference tosoDRuleEntityDao
.SoDRuleMatrixEntityDao
getSoDRuleMatrixEntityDao()
Gets reference tosoDRuleMatrixEntityDao
.UserEntityDao
getUserEntityDao()
Gets reference tousuariEntityDao
.protected abstract com.soffid.iam.api.SoDRole
handleCreate(com.soffid.iam.api.SoDRole role)
protected abstract com.soffid.iam.api.SoDRule
handleCreate(com.soffid.iam.api.SoDRule rule)
protected abstract com.soffid.iam.api.SoDRuleMatrix
handleCreate(com.soffid.iam.api.SoDRuleMatrix role)
protected abstract Collection<com.soffid.iam.api.SoDRule>
handleFindAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra)
protected abstract Collection<com.soffid.iam.api.SoDRuleMatrix>
handleFindMatrixByRule(Long ruleId)
protected abstract Collection<com.soffid.iam.api.SoDRole>
handleFindRolesByRule(Long ruleId)
protected abstract Collection<com.soffid.iam.api.SoDRule>
handleFindRuleByApplication(Long applicationId)
protected abstract List<com.soffid.iam.api.SoDRule>
handleFindSodRuleByJsonQuery(String query, Integer first, Integer pageSize)
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule>
handleFindSodRuleByJsonQueryAsync(String query)
protected abstract List<com.soffid.iam.api.RoleAccount>
handleFindViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel)
protected abstract com.soffid.iam.api.SoDRule
handleGetRuleById(Long ruleId)
protected abstract void
handleInternalRemovingRole(Long roleId)
protected abstract com.soffid.iam.api.SoDRule
handleIsAllowed(com.soffid.iam.api.RoleAccount ra)
protected abstract boolean
handleIsGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second)
protected abstract void
handleQualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra)
protected abstract es.caib.seycon.ng.comu.SoDRisk
handleQualifyUser(Collection<com.soffid.iam.api.RoleAccount> ra)
protected abstract void
handleRemove(com.soffid.iam.api.SoDRole role)
protected abstract void
handleRemove(com.soffid.iam.api.SoDRule rule)
protected abstract void
handleRemove(com.soffid.iam.api.SoDRuleMatrix role)
protected abstract com.soffid.iam.api.SoDRule
handleUpdate(com.soffid.iam.api.SoDRule rule)
protected abstract com.soffid.iam.api.SoDRuleMatrix
handleUpdate(com.soffid.iam.api.SoDRuleMatrix role)
void
internalRemovingRole(Long roleId)
com.soffid.iam.api.SoDRule
isAllowed(com.soffid.iam.api.RoleAccount ra)
boolean
isGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second)
void
qualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra)
es.caib.seycon.ng.comu.SoDRisk
qualifyUser(Collection<com.soffid.iam.api.RoleAccount> ra)
void
remove(com.soffid.iam.api.SoDRole role)
void
remove(com.soffid.iam.api.SoDRule rule)
void
remove(com.soffid.iam.api.SoDRuleMatrix role)
void
setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService
.void
setAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)
Sets reference toasyncRunnerService
.void
setConfigurationService(com.soffid.iam.service.ConfigurationService configuracioService)
Sets reference toconfiguracioService
.void
setInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)
Sets reference toaplicacioEntityDao
.void
setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao
.void
setSoDRoleEntityDao(SoDRoleEntityDao soDRoleEntityDao)
Sets reference tosoDRoleEntityDao
.void
setSoDRuleEntityDao(SoDRuleEntityDao soDRuleEntityDao)
Sets reference tosoDRuleEntityDao
.void
setSoDRuleMatrixEntityDao(SoDRuleMatrixEntityDao soDRuleMatrixEntityDao)
Sets reference tosoDRuleMatrixEntityDao
.void
setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.com.soffid.iam.api.SoDRule
update(com.soffid.iam.api.SoDRule rule)
com.soffid.iam.api.SoDRuleMatrix
update(com.soffid.iam.api.SoDRuleMatrix role)
-
-
-
Method Detail
-
setInformationSystemEntityDao
public void setInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)
Sets reference toaplicacioEntityDao
.
-
getInformationSystemEntityDao
public InformationSystemEntityDao getInformationSystemEntityDao()
Gets reference toaplicacioEntityDao
.
-
setApplicationService
public void setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService
.
-
getApplicationService
public com.soffid.iam.service.ApplicationService getApplicationService()
Gets reference toaplicacioService
.
-
setAsyncRunnerService
public void setAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)
Sets reference toasyncRunnerService
.
-
getAsyncRunnerService
public com.soffid.iam.service.AsyncRunnerService getAsyncRunnerService()
Gets reference toasyncRunnerService
.
-
setConfigurationService
public void setConfigurationService(com.soffid.iam.service.ConfigurationService configuracioService)
Sets reference toconfiguracioService
.
-
getConfigurationService
public com.soffid.iam.service.ConfigurationService getConfigurationService()
Gets reference toconfiguracioService
.
-
setRoleEntityDao
public void setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao
.
-
getRoleEntityDao
public RoleEntityDao getRoleEntityDao()
Gets reference torolEntityDao
.
-
setSoDRoleEntityDao
public void setSoDRoleEntityDao(SoDRoleEntityDao soDRoleEntityDao)
Sets reference tosoDRoleEntityDao
.
-
getSoDRoleEntityDao
public SoDRoleEntityDao getSoDRoleEntityDao()
Gets reference tosoDRoleEntityDao
.
-
setSoDRuleEntityDao
public void setSoDRuleEntityDao(SoDRuleEntityDao soDRuleEntityDao)
Sets reference tosoDRuleEntityDao
.
-
getSoDRuleEntityDao
public SoDRuleEntityDao getSoDRuleEntityDao()
Gets reference tosoDRuleEntityDao
.
-
setSoDRuleMatrixEntityDao
public void setSoDRuleMatrixEntityDao(SoDRuleMatrixEntityDao soDRuleMatrixEntityDao)
Sets reference tosoDRuleMatrixEntityDao
.
-
getSoDRuleMatrixEntityDao
public SoDRuleMatrixEntityDao getSoDRuleMatrixEntityDao()
Gets reference tosoDRuleMatrixEntityDao
.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao
.
-
isGreater
@Transactional(rollbackFor=java.lang.Exception.class) public boolean isGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isGreater
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleIsGreater
protected abstract boolean handleIsGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second) throws Exception
- Throws:
Exception
-
findSodRuleByJsonQueryAsync
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule> findSodRuleByJsonQueryAsync(String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSodRuleByJsonQueryAsync
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindSodRuleByJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule> handleFindSodRuleByJsonQueryAsync(String query) throws Exception
- Throws:
Exception
-
create
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.SoDRuleMatrix create(com.soffid.iam.api.SoDRuleMatrix role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreate
protected abstract com.soffid.iam.api.SoDRuleMatrix handleCreate(com.soffid.iam.api.SoDRuleMatrix role) throws Exception
- Throws:
Exception
-
update
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.SoDRuleMatrix update(com.soffid.iam.api.SoDRuleMatrix role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdate
protected abstract com.soffid.iam.api.SoDRuleMatrix handleUpdate(com.soffid.iam.api.SoDRuleMatrix role) throws Exception
- Throws:
Exception
-
qualifyUser
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.SoDRisk qualifyUser(Collection<com.soffid.iam.api.RoleAccount> ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
qualifyUser
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQualifyUser
protected abstract es.caib.seycon.ng.comu.SoDRisk handleQualifyUser(Collection<com.soffid.iam.api.RoleAccount> ra) throws Exception
- Throws:
Exception
-
create
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.SoDRole create(com.soffid.iam.api.SoDRole role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreate
protected abstract com.soffid.iam.api.SoDRole handleCreate(com.soffid.iam.api.SoDRole role) throws Exception
- Throws:
Exception
-
create
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.SoDRule create(com.soffid.iam.api.SoDRule rule) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreate
protected abstract com.soffid.iam.api.SoDRule handleCreate(com.soffid.iam.api.SoDRule rule) throws Exception
- Throws:
Exception
-
getRuleById
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.SoDRule getRuleById(Long ruleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getRuleById
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetRuleById
protected abstract com.soffid.iam.api.SoDRule handleGetRuleById(Long ruleId) throws Exception
- Throws:
Exception
-
isAllowed
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.SoDRule isAllowed(com.soffid.iam.api.RoleAccount ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isAllowed
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleIsAllowed
protected abstract com.soffid.iam.api.SoDRule handleIsAllowed(com.soffid.iam.api.RoleAccount ra) throws Exception
- Throws:
Exception
-
update
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.SoDRule update(com.soffid.iam.api.SoDRule rule) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdate
protected abstract com.soffid.iam.api.SoDRule handleUpdate(com.soffid.iam.api.SoDRule rule) throws Exception
- Throws:
Exception
-
findAffectingRulesByRolAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.SoDRule> findAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAffectingRulesByRolAccount
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAffectingRulesByRolAccount
protected abstract Collection<com.soffid.iam.api.SoDRule> handleFindAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra) throws Exception
- Throws:
Exception
-
findMatrixByRule
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.SoDRuleMatrix> findMatrixByRule(Long ruleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findMatrixByRule
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindMatrixByRule
protected abstract Collection<com.soffid.iam.api.SoDRuleMatrix> handleFindMatrixByRule(Long ruleId) throws Exception
- Throws:
Exception
-
findRolesByRule
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.SoDRole> findRolesByRule(Long ruleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findRolesByRule
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindRolesByRule
protected abstract Collection<com.soffid.iam.api.SoDRole> handleFindRolesByRule(Long ruleId) throws Exception
- Throws:
Exception
-
findRuleByApplication
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.SoDRule> findRuleByApplication(Long applicationId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findRuleByApplication
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindRuleByApplication
protected abstract Collection<com.soffid.iam.api.SoDRule> handleFindRuleByApplication(Long applicationId) throws Exception
- Throws:
Exception
-
findSodRuleByJsonQuery
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.SoDRule> findSodRuleByJsonQuery(String query, Integer first, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSodRuleByJsonQuery
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindSodRuleByJsonQuery
protected abstract List<com.soffid.iam.api.SoDRule> handleFindSodRuleByJsonQuery(String query, Integer first, Integer pageSize) throws Exception
- Throws:
Exception
-
findViolotions
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.RoleAccount> findViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findViolotions
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindViolotions
protected abstract List<com.soffid.iam.api.RoleAccount> handleFindViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel) throws Exception
- Throws:
Exception
-
internalRemovingRole
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void internalRemovingRole(Long roleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
internalRemovingRole
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleInternalRemovingRole
protected abstract void handleInternalRemovingRole(Long roleId) throws Exception
- Throws:
Exception
-
qualifyRolAccountList
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void qualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
qualifyRolAccountList
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleQualifyRolAccountList
protected abstract void handleQualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra) throws Exception
- Throws:
Exception
-
remove
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void remove(com.soffid.iam.api.SoDRuleMatrix role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
remove
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemove
protected abstract void handleRemove(com.soffid.iam.api.SoDRuleMatrix role) throws Exception
- Throws:
Exception
-
remove
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void remove(com.soffid.iam.api.SoDRole role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
remove
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemove
protected abstract void handleRemove(com.soffid.iam.api.SoDRole role) throws Exception
- Throws:
Exception
-
remove
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void remove(com.soffid.iam.api.SoDRule rule) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
remove
in interfacecom.soffid.iam.service.SoDRuleService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleRemove
protected abstract void handleRemove(com.soffid.iam.api.SoDRule rule) throws Exception
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-