diff --git a/pom.xml b/pom.xml index 0e992ce..48d0cb5 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.github.flytreeleft nexus3-keycloak-plugin - 0.8.7-0 + 0.8.8-0 ${project.groupId}:${project.artifactId} bundle @@ -27,7 +27,7 @@ org.sonatype.nexus.plugins nexus-plugins - 3.69.0-02 + 3.70.1-02 diff --git a/src/main/java/org/github/flytreeleft/nexus3/keycloak/plugin/internal/KeycloakAuthorizationManager.java b/src/main/java/org/github/flytreeleft/nexus3/keycloak/plugin/internal/KeycloakAuthorizationManager.java index 91a6650..9e8ce86 100755 --- a/src/main/java/org/github/flytreeleft/nexus3/keycloak/plugin/internal/KeycloakAuthorizationManager.java +++ b/src/main/java/org/github/flytreeleft/nexus3/keycloak/plugin/internal/KeycloakAuthorizationManager.java @@ -57,7 +57,7 @@ public Privilege getPrivilege(String privilegeId) throws NoSuchPrivilegeExceptio } @Override - public Privilege getPrivilegeByName(String privilegeName) throws NoSuchPrivilegeException { + public Privilege getPrivilegeByName(String privilegeName) throws NoSuchPrivilegeException { throw new NoSuchPrivilegeException("Keycloak plugin doesn't support privileges"); } @@ -66,7 +66,7 @@ public List getPrivileges(final Set privilegeIds) { return Collections.emptyList(); } - @Override + @Override public Role getRole(String roleId) throws NoSuchRoleException { Role role = this.client.findRoleByRoleId(roleId); if (role == null) {