Skip to content

Fixing inconsistent usage of hono.auth#3695

Merged
sophokles73 merged 3 commits intoeclipse-hono:masterfrom
sotec-iot:bugfix/hono.auth-inconsistent-usage
Oct 1, 2025
Merged

Fixing inconsistent usage of hono.auth#3695
sophokles73 merged 3 commits intoeclipse-hono:masterfrom
sotec-iot:bugfix/hono.auth-inconsistent-usage

Conversation

@DominikBasnerSotec
Copy link
Contributor

hono.auth had two functions, one where it contained a string to a) it was used to control the bean behavior in DelegatingAuthenticationServiceProducer the second function was being
b) the config if that bean

This led to inconsistency during the build process where the string hono.auth. e.g. hono.auth=delegating crashed the application during execution because the app excepts hono.auth to contain an object

Thus, hono.auth controlling DelegatingAuthenticationServiceProducer was renamed to hono.authType

hono.auth had two functions, one where it contained a string to
a) it was used to control the bean behavior in DelegatingAuthenticationServiceProducer
the second function was being
b) the config if that bean

This led to inconsistency during the build process where the string hono.auth. e.g. hono.auth=delegating crashed the application during execution because the app excepts hono.auth to contain an object

Thus, hono.auth controlling DelegatingAuthenticationServiceProducer was renamed to hono.authType
Copy link
Contributor

@sophokles73 sophokles73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, just a small request ...

Copy link
Contributor

@sophokles73 sophokles73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks again for contributing 👍

@sophokles73 sophokles73 merged commit ae810fa into eclipse-hono:master Oct 1, 2025
7 checks passed
@DominikBasnerSotec DominikBasnerSotec deleted the bugfix/hono.auth-inconsistent-usage branch October 24, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants