Package org.apache.syncope.core.logic
Class SAML2SPEntityLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<SAML2SPEntityTO>
-
- org.apache.syncope.core.logic.SAML2SPEntityLogic
-
public class SAML2SPEntityLogic extends AbstractTransactionalLogic<SAML2SPEntityTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected SAML2SPEntityDataBinder
binder
protected SAML2SPEntityDAO
entityDAO
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description SAML2SPEntityLogic(SAML2SPEntityDataBinder binder, SAML2SPEntityDAO entityDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
List<SAML2SPEntityTO>
list()
SAML2SPEntityTO
read(String key)
protected SAML2SPEntityTO
resolveReference(Method method, Object... args)
SAML2SPEntityTO
set(SAML2SPEntityTO entityTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
binder
protected final SAML2SPEntityDataBinder binder
-
entityDAO
protected final SAML2SPEntityDAO entityDAO
-
-
Constructor Detail
-
SAML2SPEntityLogic
public SAML2SPEntityLogic(SAML2SPEntityDataBinder binder, SAML2SPEntityDAO entityDAO)
-
-
Method Detail
-
list
@PreAuthorize("hasRole(\'SAML2_SP_ENTITY_LIST\')") @Transactional(readOnly=true) public List<SAML2SPEntityTO> list()
-
read
@PreAuthorize("hasRole(\'SAML2_SP_ENTITY_GET\') or hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public SAML2SPEntityTO read(String key)
-
set
@PreAuthorize("hasRole(\'SAML2_SP_ENTITY_SET\') or hasRole(\'ANONYMOUS\')") public SAML2SPEntityTO set(SAML2SPEntityTO entityTO)
-
delete
@PreAuthorize("hasRole(\'SAML2_SP_ENTITY_DELETE\')") public void delete(String key)
-
resolveReference
protected SAML2SPEntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<SAML2SPEntityTO>
- Throws:
UnresolvedReferenceException
-
-