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 AuthModuleDAO
authModuleDAO
protected AuthModuleDataBinder
binder
-
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 AuthModuleTO
create(AuthModuleTO authModuleTO)
AuthModuleTO
delete(String key)
List<AuthModuleTO>
list()
AuthModuleTO
read(String key)
protected AuthModuleTO
resolveReference(Method method, Object... args)
AuthModuleTO
update(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:
resolveReference
in classAbstractLogic<AuthModuleTO>
- Throws:
UnresolvedReferenceException
-
-