aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-security
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-11-26 22:21:03 +0100
committerMartin Stockhammer <martin_s@apache.org>2020-11-26 22:21:03 +0100
commit2f4b1d241950261ce635d84f04ed45132e88e2ba (patch)
tree9cc4ab2feb6f15e508b0b113cca90a0448a36cbc /archiva-modules/archiva-web/archiva-security
parenta2442befca1e7b9c9f81cc434d86cf7b7ed8cd41 (diff)
downloadarchiva-2f4b1d241950261ce635d84f04ed45132e88e2ba.tar.gz
archiva-2f4b1d241950261ce635d84f04ed45132e88e2ba.zip
Adding id methods for roles
Diffstat (limited to 'archiva-modules/archiva-web/archiva-security')
-rw-r--r--archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java
index 6487e9d23..d877c69f1 100644
--- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java
+++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java
@@ -170,7 +170,7 @@ public abstract class AbstractSecurityTest
log.info( "ignore RbacObjectNotFoundException for id {} during restoreGuestInitialValues", userId );
return;
}
- userAssignment.setRoleNames( new ArrayList( Arrays.asList( "Guest" ) ) );
+ userAssignment.setRoleIds( new ArrayList( Arrays.asList( "guest" ) ) );
rbacManager.saveUserAssignment( userAssignment );
CacheManager.getInstance().clearAll();
}