@@ -55,7 +55,7 @@ public void testParseProperJsonArray() {
5555 claimValue .add ("uma_authorization" );
5656 claimValue .add ("offline_access" );
5757
58- List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "realm_access_roles" , claimValue );
58+ List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "" , " realm_access_roles" , claimValue );
5959
6060 Assertions .assertEquals (Arrays .asList ("operators" , "default-roles-master" , "uma_authorization" , "offline_access" ), result );
6161 }
@@ -68,7 +68,7 @@ public void testParseList() {
6868 claimValue .add ("uma_authorization" );
6969 claimValue .add ("offline_access" );
7070
71- List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "realm_access_roles" , claimValue );
71+ List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "" , " realm_access_roles" , claimValue );
7272
7373 Assertions .assertEquals (Arrays .asList ("operators" , "default-roles-master" , "uma_authorization" , "offline_access" ), result );
7474 }
@@ -77,7 +77,7 @@ public void testParseList() {
7777 public void testParseProperJsonArrayAsString () {
7878 String claimValue = "[\" operators\" ,\" default-roles-master\" ,\" uma_authorization\" ,\" offline_access\" ]" ;
7979
80- List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "realm_access_roles" , claimValue );
80+ List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "" , " realm_access_roles" , claimValue );
8181
8282 Assertions .assertEquals (Arrays .asList ("operators" , "default-roles-master" , "uma_authorization" , "offline_access" ), result );
8383 }
@@ -86,7 +86,7 @@ public void testParseProperJsonArrayAsString() {
8686 public void testParseNonStandardJsonArrayAsString () {
8787 String claimValue = "[operators,default-roles-master,uma_authorization,offline_access]" ;
8888
89- List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "realm_access_roles" , claimValue );
89+ List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "" , " realm_access_roles" , claimValue );
9090
9191 Assertions .assertEquals (Arrays .asList ("operators" , "default-roles-master" , "uma_authorization" , "offline_access" ), result );
9292 }
@@ -95,7 +95,7 @@ public void testParseNonStandardJsonArrayAsString() {
9595 public void testParseNonStandardJsonArrayAsString2 () {
9696 String claimValue = "[operators, default-roles-master,uma_authorization, offline_access ]" ;
9797
98- List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "realm_access_roles" , claimValue );
98+ List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "" , " realm_access_roles" , claimValue );
9999
100100 Assertions .assertEquals (Arrays .asList ("operators" , "default-roles-master" , "uma_authorization" , "offline_access" ), result );
101101 }
@@ -104,7 +104,7 @@ public void testParseNonStandardJsonArrayAsString2() {
104104 public void testParseNonStandardJsonArrayAsString3 () {
105105 String claimValue = "[operators, default-roles-master,uma_authorization, \" offline_access\" ]" ;
106106
107- List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "realm_access_roles" , claimValue );
107+ List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "" , " realm_access_roles" , claimValue );
108108
109109 Assertions .assertEquals (Arrays .asList ("operators" , "default-roles-master" , "uma_authorization" , "offline_access" ), result );
110110 }
@@ -113,7 +113,7 @@ public void testParseNonStandardJsonArrayAsString3() {
113113 public void testParseNonStandardJsonArrayAsString4 () {
114114 String claimValue = "[operators, default-roles-master,uma_authorization, 'offline_access']" ;
115115
116- List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "realm_access_roles" , claimValue );
116+ List <String > result = OpenIDAuthenticationBackend .parseRolesClaim (logger , "" , " realm_access_roles" , claimValue );
117117
118118 Assertions .assertEquals (Arrays .asList ("operators" , "default-roles-master" , "uma_authorization" , "offline_access" ), result );
119119 }
0 commit comments