Package org.apache.syncope.core.logic
Class RealmLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<RealmTO>
-
- org.apache.syncope.core.logic.RealmLogic
-
public class RealmLogic extends AbstractTransactionalLogic<RealmTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected RealmDataBinderbinderprotected CASSPClientAppDAOcasSPClientAppDAOprotected OIDCRPClientAppDAOoidcRPClientAppDAOprotected PropagationManagerpropagationManagerprotected RealmDAOrealmDAOprotected SAML2SPClientAppDAOsaml2SPClientAppDAOprotected AnySearchDAOsearchDAOprotected TaskDAOtaskDAOprotected PropagationTaskExecutortaskExecutor-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description RealmLogic(RealmDAO realmDAO, AnySearchDAO searchDAO, TaskDAO taskDAO, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO, RealmDataBinder binder, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProvisioningResult<RealmTO>create(String parentPath, RealmTO realmTO)ProvisioningResult<RealmTO>delete(String fullPath)protected RealmTOresolveReference(Method method, Object... args)Pair<Integer,List<RealmTO>>search(String keyword, Set<String> bases, int page, int size)protected voidsecurityChecks(Set<String> effectiveRealms, String realm)ProvisioningResult<RealmTO>update(RealmTO realmTO)-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
realmDAO
protected final RealmDAO realmDAO
-
searchDAO
protected final AnySearchDAO searchDAO
-
taskDAO
protected final TaskDAO taskDAO
-
casSPClientAppDAO
protected final CASSPClientAppDAO casSPClientAppDAO
-
oidcRPClientAppDAO
protected final OIDCRPClientAppDAO oidcRPClientAppDAO
-
saml2SPClientAppDAO
protected final SAML2SPClientAppDAO saml2SPClientAppDAO
-
binder
protected final RealmDataBinder binder
-
propagationManager
protected final PropagationManager propagationManager
-
taskExecutor
protected final PropagationTaskExecutor taskExecutor
-
-
Constructor Detail
-
RealmLogic
public RealmLogic(RealmDAO realmDAO, AnySearchDAO searchDAO, TaskDAO taskDAO, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO, RealmDataBinder binder, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor)
-
-
Method Detail
-
search
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public Pair<Integer,List<RealmTO>> search(String keyword, Set<String> bases, int page, int size)
-
create
@PreAuthorize("hasRole(\'REALM_CREATE\')") public ProvisioningResult<RealmTO> create(String parentPath, RealmTO realmTO)
-
update
@PreAuthorize("hasRole(\'REALM_UPDATE\')") public ProvisioningResult<RealmTO> update(RealmTO realmTO)
-
delete
@PreAuthorize("hasRole(\'REALM_DELETE\')") public ProvisioningResult<RealmTO> delete(String fullPath)
-
resolveReference
protected RealmTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReferencein classAbstractLogic<RealmTO>- Throws:
UnresolvedReferenceException
-
-