2899375614
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. |
||
---|---|---|
.. | ||
adapter-core | ||
as7-eap6 | ||
fuse7 | ||
installed | ||
jaxrs-oauth-client | ||
jetty | ||
js | ||
kcinit | ||
osgi-adapter | ||
servlet-filter | ||
servlet-oauth-client | ||
spring-boot | ||
spring-boot-adapter-core | ||
spring-boot-container-bundle | ||
spring-boot2 | ||
spring-security | ||
tomcat | ||
undertow | ||
wildfly | ||
wildfly-elytron | ||
pom.xml |