Package org.apache.syncope.core.logic
Class RealmLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<RealmTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<RealmTO>
org.apache.syncope.core.logic.RealmLogic
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RealmDataBinderprotected final CASSPClientAppDAOprotected final OIDCRPClientAppDAOprotected final PropagationManagerprotected final RealmDAOprotected final RealmSearchDAOprotected final SAML2SPClientAppDAOprotected final AnySearchDAOprotected final TaskDAOprotected final PropagationTaskExecutorFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionRealmLogic(RealmDAO realmDAO, RealmSearchDAO realmSearchDAO, AnySearchDAO searchDAO, TaskDAO taskDAO, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO, RealmDataBinder binder, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected RealmTOresolveReference(Method method, Object... args) org.springframework.data.domain.Page<RealmTO> protected voidsecurityChecks(Set<String> effectiveRealms, String realm) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
realmDAO
-
realmSearchDAO
-
searchDAO
-
taskDAO
-
casSPClientAppDAO
-
oidcRPClientAppDAO
-
saml2SPClientAppDAO
-
binder
-
propagationManager
-
taskExecutor
-
-
Constructor Details
-
RealmLogic
public RealmLogic(RealmDAO realmDAO, RealmSearchDAO realmSearchDAO, AnySearchDAO searchDAO, TaskDAO taskDAO, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO, RealmDataBinder binder, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor)
-
-
Method Details
-
securityChecks
-
search
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public org.springframework.data.domain.Page<RealmTO> search(String keyword, Set<String> bases, org.springframework.data.domain.Pageable pageable) -
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
-