Package org.apache.syncope.core.logic.wa
Class ImpersonationLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<AuthProfileTO>
-
- org.apache.syncope.core.logic.AbstractAuthProfileLogic
-
- org.apache.syncope.core.logic.wa.ImpersonationLogic
-
public class ImpersonationLogic extends AbstractAuthProfileLogic
-
-
Field Summary
Fields Modifier and Type Field Description protected EntityFactory
entityFactory
-
Fields inherited from class org.apache.syncope.core.logic.AbstractAuthProfileLogic
authProfileDAO, binder
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description ImpersonationLogic(EntityFactory entityFactory, AuthProfileDAO authProfileDAO, AuthProfileDataBinder binder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(String owner, ImpersonationAccount account)
void
delete(String owner, String impersonated)
List<ImpersonationAccount>
read(String owner)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractAuthProfileLogic
resolveReference
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
entityFactory
protected final EntityFactory entityFactory
-
-
Constructor Detail
-
ImpersonationLogic
public ImpersonationLogic(EntityFactory entityFactory, AuthProfileDAO authProfileDAO, AuthProfileDataBinder binder)
-
-
Method Detail
-
read
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<ImpersonationAccount> read(String owner)
-
create
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void create(String owner, ImpersonationAccount account)
-
delete
@PreAuthorize("hasRole(\'ANONYMOUS\')") public void delete(String owner, String impersonated)
-
-