Interface UserDAO
-
Field Summary
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
DEFAULT_PAGE_SIZEFields inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
DEFAULT_SORT -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteMembership(UMembership membership) findAllGroupKeys(User user) findAllGroupNames(User user) findAllGroups(User user) findAllResources(User user) findAllRoles(User user) findBySecurityQuestion(SecurityQuestion securityQuestion) findByToken(String token) findByUsername(String username) findDynGroups(String key) findDynRoles(String key) Optional<? extends LinkedAccount> findLinkedAccount(ExternalResource resource, String connObjectKeyValue) findLinkedAccounts(String userKey) findLinkedAccountsByResource(ExternalResource resource) findMembership(String key) findUsername(String key) booleanlinkedAccountExists(String userKey, String connObjectKeyValue) saveAndGetDynGroupMembs(User user) voidsecurityChecks(Set<String> authRealms, String key, String realm, Collection<String> groups) Checks if the calling user is authorized to access the User matching the provided key, under the given realm.Methods inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
authFind, findAll, findAllowedSchemas, findAllResourceKeys, findByDerAttrValue, findByKeys, findByResourcesContaining, findDynRealms, findLastChange, getAllMatchingCondMethods inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
count, delete, deleteById, existsById, findAll, findById, save
-
Method Details
-
findKey
-
findUsername
-
securityChecks
Checks if the calling user is authorized to access the User matching the provided key, under the given realm.- Parameters:
authRealms- realms for which the calling user owns entitlement(s) to checkkey- User keyrealm- User's realm full pathgroups- group the User is member of
-
countByRealm
-
countByStatus
-
findByUsername
-
findByToken
-
findBySecurityQuestion
-
findMembership
-
deleteMembership
-
findDynRoles
-
findAllRoles
-
findDynGroups
-
findAllGroups
-
findAllGroupKeys
-
findAllGroupNames
-
findAllResources
-
linkedAccountExists
-
findLinkedAccount
Optional<? extends LinkedAccount> findLinkedAccount(ExternalResource resource, String connObjectKeyValue) -
findLinkedAccounts
-
findLinkedAccountsByResource
-
saveAndGetDynGroupMembs
-