Interface UserDAO
-
Field Summary
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.AnyDAO
DEFAULT_PAGE_SIZE
Fields inherited from interface org.apache.syncope.core.persistence.api.dao.DAO
DEFAULT_SORT
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteMembership
(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) findLinkedAccountsByPrivilege
(Privilege privilege) findLinkedAccountsByResource
(ExternalResource resource) findMembership
(String key) findUsername
(String key) boolean
linkedAccountExists
(String userKey, String connObjectKeyValue) saveAndGetDynGroupMembs
(User user) void
securityChecks
(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, findByPlainAttrUniqueValue, findByPlainAttrValue, findByResourcesContaining, findDynRealms, findLastChange, getAllMatchingCond
Methods 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
-
findLinkedAccountsByPrivilege
-
saveAndGetDynGroupMembs
-