diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-11-26 22:21:03 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-11-26 22:21:03 +0100 |
commit | 2f4b1d241950261ce635d84f04ed45132e88e2ba (patch) | |
tree | 9cc4ab2feb6f15e508b0b113cca90a0448a36cbc /archiva-modules/archiva-web/archiva-security | |
parent | a2442befca1e7b9c9f81cc434d86cf7b7ed8cd41 (diff) | |
download | archiva-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.java | 2 |
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(); } |