keycloak-scim/adapters/oidc/spring-security
Valeran86 b0d0d3e579 [KEYCLOAK-10849] - KeycloakRole equals only with itself
I use Keycloak Spring Adapter (KSA) to secure existing application. Today I realized that some functions didn't work anymore because of security checking like this:
```
GrantedAuthority adminRole = new MySpecialGrantedAuthority( "superadmin" );
for ( GrantedAuthority role : userRoles ) {
        if ( role.equals( adminRole ) ) {
          return true;
        }
      }
```
In this example, when I use KSA authorization fails.
I believe, that more preferable in `KeycloakRole` use this implementation of `equals` method.
2019-08-16 05:20:03 -03:00
..
src [KEYCLOAK-10849] - KeycloakRole equals only with itself 2019-08-16 05:20:03 -03:00
pom.xml Set version to 8.0.0-SNAPSHOT 2019-07-19 19:05:03 +02:00