-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The public method getDynamicTenantsConfig in OIDC TenantConfigBean not available in 3.16.0.CR1 #44077
Comments
/cc @radcortez (config) |
Yes, that comes from this PR #43590. This issue has 2 sides:
My conclusion is that we should be more careful about methods visibility to avoid confusion. There is |
@sschellh The actual map holding dynamic tenants has been encapsulated, otherwise we can't plan any work related to managing this map, such as restricting a number of dynamic tenants. FYI everything directly in the Can you please switch to |
@michalvavrik Michal, I'm not sure we could've avoided that change, if users are allowed a direct access to the map then it is really impossible to manage it internally, that dynamic map was all over the place :-) |
We were in no hurry, I just say we could deprecate it for one release or so; that said, I wouldn't do it unless I knew there is more affected users. Personally I thought users don't need this method. I don't think we disagree @sberyozkin , changes was positive. |
Yeah, definitely for what we consider to be a public API. Also, I was hoping we would get the initial cache support in time for 3.16.0, IMHO the fact we don't have a solution yet for restricting how far the dynamic map can grow is something which we should look at sooner rather than later :-). I don't expect any but the most complex deployment to have 1K+ OIDC providers, but there should be some cap in place for our piece of mind :-) |
We could reintroduce that method and mark as deprecated, but it could delay the solution for 6 months or something like that and that is way too long. But in any case, I guess we will need to review all public methods in @sschellh Can you let us know, does |
@sschellh And if you need access to this map to actually remove some tenants then I think we can easily add |
Hi all, |
@sschellh the static map size is unmodifiable, restricted to whatever providers have been configured in the properties, but indeed, it would be consistent to wrap it too though... |
good for me |
Describe the bug
The public method
getDynamicTenantsConfig
inio.quarkus.oidc.runtime.TenantConfigBean
is not available in 3.16.0.RC1 making it incompatible with previous version.Expected 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
Quarkus version or git rev
3.16.0.CR1
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: