merge trunk and bugfix linkbackuri jaxb
[cdmlib.git] / cdmlib-services / src / test / java / eu / etaxonomy / cdm / api / service / SecurityTest.java
index 93141db39472dc76250630db1447466c49a95df6..9cf33220405652b25a61bfb65ac784dd782f3026 100644 (file)
@@ -381,7 +381,7 @@ public class SecurityTest extends CdmTransactionalIntegrationTestWithSecurity{
 \r
         // check test preconditions user name and authorities\r
         Assert.assertEquals("descriptionEditor", context.getAuthentication().getName());\r
-        Collection<GrantedAuthority> authorities = context.getAuthentication().getAuthorities();\r
+        Collection<? extends GrantedAuthority> authorities = context.getAuthentication().getAuthorities();\r
         for(GrantedAuthority authority: authorities){\r
             // role prefix 'ROLE_' is defined in org.springframework.security.access.vote.RoleVoter !!!\r
             Assert.assertNotSame("user must not have authority 'ROLE_ADMIN'", "ROLE_ADMIN", authority.getAuthority());\r