Skip to content

Commit

Permalink
feat: fix the dependencies and code issues (#1473)
Browse files Browse the repository at this point in the history
  • Loading branch information
duttarnab authored May 30, 2022
1 parent 62b5868 commit f4824c6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private ApiConstants() {}
public static final String USER = "/user";
public static final String ORG = "/org";
public static final String SERVER_STAT = "/server-stat";
public static final String USERNAME_PATH = "{username}";
public static final String USERNAME_PATH = "/{username}";

public static final String LIMIT = "limit";
public static final String START_INDEX = "startIndex";
Expand Down
7 changes: 0 additions & 7 deletions jans-config-api/plugins/admin-ui-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
<groupId>io.jans.jans-config-api.plugins</groupId>
<artifactId>admin-ui-plugin</artifactId>

<repositories>
<repository>
<id>jdk-java</id>
<url>https://licensespring-maven.s3.eu-central-1.amazonaws.com/</url>
</repository>
</repositories>

<dependencies>
<!-- config api -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,9 @@ public List<Fido2RegistrationEntry> findAllRegisteredByUsername(String username)
}
}

Filter userInumFilter = Filter.createEqualityFilter("personInum", userInum);
Filter registeredFilter = Filter.createEqualityFilter("jansStatus", Fido2RegistrationStatus.registered.getValue());
Filter filter = Filter.createANDFilter(userInumFilter, registeredFilter);

List<Fido2RegistrationEntry> fido2RegistrationnEntries = persistenceEntryManager.findEntries(baseDn, Fido2RegistrationEntry.class, filter);
List<Fido2RegistrationEntry> fido2RegistrationnEntries = persistenceEntryManager.findEntries(baseDn, Fido2RegistrationEntry.class, registeredFilter);

return fido2RegistrationnEntries;
}
Expand Down

0 comments on commit f4824c6

Please sign in to comment.