Skip to content
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

Clarifications about using EL in property values #225

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

OndroMih
Copy link
Contributor

@OndroMih OndroMih commented Apr 1, 2022

Explicitly document that EL expressions are expected also in annotations nested in the main annotations (OpenIdAuthenticationMechanismDefinition refers to some other nested annotations). Even though some of the annotations contain XExpression attibutes for non-String attributes, which implicitly suggests that ELs are also supported in String attributes, it was nowhere explicitly stated.

I also reworded the description about the implicit baseURL variable in the OpenIdAuthenticationMechanismDefinition.redirectURI attribute to explicitly state that this is a regular EL implicit variable and no "special" expression. This should be similar to the implicit self variable in the RememberMe.cookieMaxAgeSecondsExpression attribute.

Some of this should be covered with additional tests because there's currently only a single test that covers ELs in the OpenID annotation. I've raised issues #223, #224 to write the tests. I can write them later when I have more time, either within this PR or in a separate PR.

Copy link
Contributor

@arjantijms arjantijms left a comment

Choose a reason for hiding this comment

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

Thx!

@arjantijms arjantijms merged commit ea6c879 into jakartaee:master Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants