You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can do a bit of RnD to enable and disable the Keycloak Security Configuration class by passing a param in application.yml or by using Spring/Maven Profiling.
Reason:
To avoid failing existing unit tests that do not pass an Authorization header.
Reference: #8
Possible Solutions:
Use the configuration only for a profile add @Profile to the class
Enable it by the property, add @ConditionalOnProperty to the class.
We can do a bit of RnD to enable and disable the Keycloak Security Configuration class by passing a param in
application.yml
or by usingSpring/Maven Profiling.
Reason:
To avoid failing existing unit tests that do not pass an Authorization header.
Reference: #8
Possible Solutions:
@Profile
to the class@ConditionalOnProperty
to the class.cc : @dubdabasoduba
The text was updated successfully, but these errors were encountered: