Package tv.hd3g.authkit.mod.repository
Interface UserDao
-
- All Known Implementing Classes:
UserDaoImpl
public interface UserDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UUIDaddLDAPUserCredential(String userLogin, String ldapDomain, String realm)UUIDaddUserCredential(String userLogin, byte[] cipherHashedPassword, String realm)voiddeleteExternalUserCredential(String userName, String domain, String realm)booleandeleteGroup(String groupName)voiddeleteUser(UUID userUUID)List<String>getContextRightsForUser(String userUUID, String clientAddr, String rightName)List<String>getRightsForUser(String userUUID, String clientAddr)Optional<UserDto>getUserByUUID(UUID userUUID)List<UserDto>getUserList(int pos, int size)booleanhaveRightsForUserWithOnlyIP(String userUUID, String clientAddr)
-
-
-
Method Detail
-
addUserCredential
UUID addUserCredential(String userLogin, byte[] cipherHashedPassword, String realm)
- Returns:
- UUID created for User
-
addLDAPUserCredential
UUID addLDAPUserCredential(String userLogin, String ldapDomain, String realm)
- Returns:
- UUID created for User
-
deleteUser
void deleteUser(UUID userUUID)
-
haveRightsForUserWithOnlyIP
boolean haveRightsForUserWithOnlyIP(String userUUID, String clientAddr)
-
getContextRightsForUser
List<String> getContextRightsForUser(String userUUID, String clientAddr, String rightName)
-
deleteExternalUserCredential
void deleteExternalUserCredential(String userName, String domain, String realm)
-
deleteGroup
boolean deleteGroup(String groupName)
-
-