jakartaee / jakartaee/security

Add OpenId test for deferred expression

Open
#223 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
66
Forks
43
PR merge metrics
No merged PRs in 30d

Description

According to the specification, deferred expression is supported everywhere, where an EL is supported.

The test can be a copy of https://github.com/jakartaee/security/blob/master/tck/app-openid/src/main/java/ee/jakarta/tck/security/test/client/defaulttests/SecuredServletWithEL.java but use a deferred expession.

For example, a user can choose which provider to use to authenticate. In that case, a deferred EL should be used for configuration values related to OpenID Provider, such as providerURI, clientId, clientSecret, in order to choose the provider configuration based on user's decision.

If deferred expressions don't make sense (for example in useSession attribute), the javadoc should clarify that.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced SecuredServletWithEL.java test in tck/app-openid/src/main/java/ee/jakarta/tck/security/test/client/defaulttests/. Trace how OpenID providerURI, clientId, and clientSecret are configured, then run the relevant OpenID TCK tests. Done means deferred-expression coverage is added and any unclear use, such as useSession, is clarified in the javadoc.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication, security, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.