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
Technically I believe SmallRye config properties are string key -> string value and whether you interpret it as a list depends on converter that is determined based on config item return type; but I agree, it should be safe to treat anything that contains list separator as a list and it is nice feature. I don't believe anyone will name their roles with comma. Working on this.
Describe the bug
RolesAllowed
value can be set from the properties, see https://quarkus.io/guides/security-authorize-web-endpoints-reference#standard-security-annotations. Example, instead of@RolesAllowed({"admin"})
it is@RolesAllowed({"${my.roles}"})
However, if a property such as
my.roles
is a list, instead of a single value, then@RolesAllowed({"${my.roles}"})
does not workExpected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: