Fixing mssql
This commit is contained in:
parent
1159dc091d
commit
53fbceb49a
1 changed files with 3 additions and 3 deletions
|
@ -172,7 +172,7 @@ public class UserFederationManager implements UserProvider {
|
|||
|
||||
@Override
|
||||
public List<UserModel> getUsers(RealmModel realm) {
|
||||
return getUsers(realm, 0, Integer.MAX_VALUE);
|
||||
return getUsers(realm, 0, Integer.MAX_VALUE - 1);
|
||||
|
||||
}
|
||||
|
||||
|
@ -219,7 +219,7 @@ public class UserFederationManager implements UserProvider {
|
|||
|
||||
@Override
|
||||
public List<UserModel> searchForUser(String search, RealmModel realm) {
|
||||
return searchForUser(search, realm, 0, Integer.MAX_VALUE);
|
||||
return searchForUser(search, realm, 0, Integer.MAX_VALUE - 1);
|
||||
}
|
||||
|
||||
void federationLoad(RealmModel realm, Map<String, String> attributes) {
|
||||
|
@ -256,7 +256,7 @@ public class UserFederationManager implements UserProvider {
|
|||
|
||||
@Override
|
||||
public List<UserModel> searchForUserByAttributes(Map<String, String> attributes, RealmModel realm) {
|
||||
return searchForUserByAttributes(attributes, realm, 0, Integer.MAX_VALUE);
|
||||
return searchForUserByAttributes(attributes, realm, 0, Integer.MAX_VALUE - 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue