Package org.apache.syncope.core.logic
Class AuthModuleLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<AuthModuleTO>
-
- org.apache.syncope.core.logic.AuthModuleLogic
-
public class AuthModuleLogic extends AbstractTransactionalLogic<AuthModuleTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthModuleDAOauthModuleDAOprotected AuthModuleDataBinderbinder-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description AuthModuleLogic(AuthModuleDataBinder binder, AuthModuleDAO authModuleDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthModuleTOcreate(AuthModuleTO authModuleTO)AuthModuleTOdelete(String key)List<AuthModuleTO>list()AuthModuleTOread(String key)protected AuthModuleTOresolveReference(Method method, Object... args)AuthModuleTOupdate(AuthModuleTO authModuleTO)-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final AuthModuleDataBinder binder
-
authModuleDAO
protected final AuthModuleDAO authModuleDAO
-
-
Constructor Detail
-
AuthModuleLogic
public AuthModuleLogic(AuthModuleDataBinder binder, AuthModuleDAO authModuleDAO)
-
-
Method Detail
-
create
@PreAuthorize("hasRole(\'AUTH_MODULE_CREATE\')") public AuthModuleTO create(AuthModuleTO authModuleTO)
-
update
@PreAuthorize("hasRole(\'AUTH_MODULE_UPDATE\')") public AuthModuleTO update(AuthModuleTO authModuleTO)
-
list
@PreAuthorize("hasRole(\'AUTH_MODULE_LIST\') or hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<AuthModuleTO> list()
-
read
@PreAuthorize("hasRole(\'AUTH_MODULE_READ\')") @Transactional(readOnly=true) public AuthModuleTO read(String key)
-
delete
@PreAuthorize("hasRole(\'AUTH_MODULE_DELETE\')") public AuthModuleTO delete(String key)
-
resolveReference
protected AuthModuleTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReferencein classAbstractLogic<AuthModuleTO>- Throws:
UnresolvedReferenceException
-
-