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

Can't set the cookie path for LtpaToken2 cookie #16235

Closed
40 of 43 tasks
fbarroso24 opened this issue Mar 15, 2021 · 21 comments
Closed
40 of 43 tasks

Can't set the cookie path for LtpaToken2 cookie #16235

fbarroso24 opened this issue Mar 15, 2021 · 21 comments
Assignees
Labels
Aha Idea Design Approved Epic Used to track Feature Epics that are following the UFO process focalApproved:accessibility Focal Approval granted for Accessibility for the feature focalApproved:demo Approval that a Demo has been scheduled focalApproved:externals Focal Approval granted for APIs/Externals for the feature focalApproved:fat Focal Approval granted for FAT for the feature focalApproved:globalization Focal Approval granted for Globalization for the feature focalApproved:id Focal Approval granted for ID for the feature focalApproved:performance Focal Approval granted for Performance for the feature focalApproved:serviceability Focal Approval granted for Serviceability for the feature focalApproved:ste Focal Approval granted for STE for the feature focalApproved:svt Focal Approval granted for SVT for the feature release:23009 target:23009 team:Core Security

Comments

@fbarroso24
Copy link

fbarroso24 commented Mar 15, 2021

Description

We would like the LtpaToken2 cookie path to be equal to the context root of the web module instead of /.

For httpSession elements, there exists a useContextRootAsCookiePath attribute to accomplish this (https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.liberty.autogen.base.doc/ae/rwlp_config_httpSession.html).

However, no such useContextRootAsCookiePath exists for webAppsecurity elements and it doesn't appear that there is any other way to set the cookie path for LtpaToken2 to accomplish this. https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.liberty.autogen.base.doc/ae/rwlp_config_webAppSecurity.html

The ability to limit the cookie path is desirable here as leaving the cookie path as / means that the cookie will be sent to any app using the same domain name even if the intended application is using a different context root.


Documents

When available, add links to required feature documents. Use "N/A" to mark particular documents which are not required by the feature.


Process Overview

General Instructions

The process steps occur roughly in the order as presented. Process steps occasionally overlap.

Each process step has a number of tasks which must be completed or must be marked as not applicable ("N/A").

Unless otherwise indicated, the tasks are the responsibility of the Feature Owner or a Delegate of the Feature Owner.

If you need assistance, reach out to the OpenLiberty/release-architect.

Important: Labels are used to trigger particular steps and must be added as indicated.


Prioritization (Complete Before Development Starts)

The (OpenLiberty/chief-architect) and area leads are responsible for prioritizing the features and determining which features are being actively worked on.

Prioritization

  • Feature added to the "New" column of the Open Liberty project board
    • Epics can be added to the board in one of two ways:
      • From this issue, use the "Projects" section to select the appropriate project board.
      • From the appropriate project board click "Add card" and select your Feature Epic issue
  • Priority assigned
    • Attend the Liberty Backlog Prioritization meeting

Design (Complete Before Development Starts)

Design preliminaries determine whether a formal design, which will be provided by an Upcoming Feature Overview (UFO) document, must be created and reviewed. A formal design is required if the feature requires any of the following: UI, Serviceability, SVT, Performance testing, or non-trivial documentation/ID.

Design Preliminaries

Design

  • POC Design / UFO review requested.
    • Owner adds label Design Review Request
  • POC Design / UFO review scheduled.
    • Follow the instructions in POC-Forum repo
  • POC Design / UFO review completed.
  • POC / UFO Review follow-ons completed.
  • POC Design / UFO approval requested.
    • Owner adds label Design Approval Request
  • Design / UFO approved. (OpenLiberty/chief-architect) or N/A
    • (OpenLiberty/chief-architect) adds label Design Approved
    • Add the public link to the UFO in Box to the Documents section.
    • The UFO must always accurately reflect the final implementation of the feature. Any changes must be first approved. Afterwards, update the UFO by creating a copy of the original approved slide(s) at the end of the deck and prepend "OLD" to the title(s). A single updated copy of the slide(s) should take the original's place, and have its title(s) prepended with "UPDATED".

FAT Documentation


Implementation

A feature must be prioritized before any implementation work may begin to be delivered (inaccessible/no-ship). However, a design focused approach should still be applied to features, and developers should think about the feature design prior to writing and delivering any code.
Besides being prioritized, a feature must also be socialized (or No Design Approved) before any beta code may be delivered. All new Liberty content must be inaccessible in our GA releases until it is Feature Complete by either marking it kind=noship or beta fencing it.
Code may not GA until this feature has obtained the "Design Approved" or "No Design Approved" label, along with all other tasks outlined in the GA section.

Feature Development Begins

  • Add the In Progress label

Legal and Translation

In order to avoid last minute blockers and significant disruptions to the feature, the legal items need to be done as early in the feature process as possible, either in design or as early into the development as possible. Similarly, translation is to be done concurrently with development. Both MUST be completed before Beta or GA is requested.

Legal (Complete before Feature Complete Date)

  • N/A - Changed or new open source libraries are cleared and approved, or N/A. (Legal Release Services/Cass Tucker/Release PM).
  • N/A - Licenses and Certificates of Originality (COOs) are updated, or N/A

Translation (Complete 1 week before Feature Complete Date)

  • PII updates are merged, or N/A. Note timing with translation shipments.

Innovation (Complete 1 week before Feature Complete Date)

  • Consider whether any aspects of the feature may be patentable. If any identified, disclosures have been submitted.

Beta

In order to facilitate early feedback from users, all new features and functionality should first be released as part of a beta release.

Beta Code

  • Beta fence the functionality
    • kind=beta, ibm:beta, ProductInfo.getBetaEdition()
  • Beta development complete and feature ready for inclusion in a beta release
    • Add label target:beta and the appropriate target:YY00X-beta (where YY00X is the targeted beta version).
  • Feature delivered into beta

Beta Blog (Complete 1.5 weeks before beta eGA)

  • Beta blog issue created and populated using the Open Liberty BETA blog post template.
    • Add a link to the beta blog issue in the Documents section.
    • Note: This is for inclusion into the overall beta release blog post. If, in addition, you'd also like to create a dedicated blog post about your feature, then follow the "Standalone Feature Blog Post" instructions under the Other Deliverables section.

GA

A feature is ready to GA after it is Feature Complete and has obtained all necessary Focal Point Approvals.

Feature Complete

  • Feature implementation and tests completed.
    • All PRs are merged.
    • All epic and child issues are closed.
    • All stop ship issues are completed.
  • Legal: all necessary approvals granted.
  • Translation: All messages translated or sent for translation for upcoming release
  • GA development complete and feature ready for inclusion in a GA release
    • Add label target:ga and the appropriate target:YY00X (where YY00X is the targeted GA version).
    • Inclusion in a release requires the completion of all Focal Point Approvals.

Focal Point Approvals (Complete by Feature Complete Date)

These occur only after GA of this feature is requested (by adding a target:ga label). GA of this feature may not occur until all approvals are obtained.

All Features

  • APIs/Externals Externals have been reviewed or N/A. (OpenLiberty/externals-approvers)
    • Approver adds label focalApproved:externals
  • Demo Demo is scheduled for an upcoming EOI or N/A. (OpenLiberty/demo-approvers)
    • Add comment @OpenLiberty/demo-approvers Demo scheduled for EOI [Iteration Number] to this issue.
    • Approver adds label focalApproved:demo.
  • FAT All Tests complete and running successfully in SOE or N/A. (OpenLiberty/fat-approvers)
    • Approver adds label focalApproved:fat.
  • Globalization Translation and TVT are complete or N/A. (OpenLiberty/globalization-approvers)
    • Approver adds label focalApproved:globalization.

Design Approved Features

  • Accessibility Accessibility testing completed or N/A. (OpenLiberty/accessibility-approvers)
    • Approver adds label focalApproved:accessibility.
  • ID Documentation is complete or N/A. (OpenLiberty/id-approvers)
    • Approver adds label focalApproved:id.
    • NOTE: If only trivial documentation changes are required, you may reach out to the ID Feature Focal to request a ID Required - Trivial label. Unlike features with regular ID requirement, those with ID Required - Trivial label do not have a hard requirement for a Design/UFO.

  • Performance Performance testing is complete or N/A. (OpenLiberty/performance-approvers)
    • Approver adds label focalApproved:performance.
  • Serviceability Serviceability has been addressed or N/A. (OpenLiberty/serviceability-approvers)
    • Approver adds label focalApproved:sve.
  • STE Skills Transfer Education chart deck is complete or N/A. (OpenLiberty/ste-approvers)
    • Approver adds label focalApproved:ste.
  • SVT System Verification Test is complete or N/A. (OpenLiberty/svt-approvers)
    • Approver adds label focalApproved:svt.

Remove Beta Fencing (Complete by Feature Complete Date)

  • Beta guards are removed, or N/A

GA Blog (Complete by Feature Complete Date)

  • GA Blog issue created and populated using the Open Liberty GA release blog post template.
    • Add a link to the GA Blog issue in the Documents section.
    • Note: This is for inclusion into the overall release blog post. If, in addition, you'd also like to create a dedicated blog post about your feature, then follow the "Standalone Feature Blog Post" instructions under the Other Deliverables section.

Post GA


Other Deliverables


@una-tapa
Copy link
Member

una-tapa commented Jul 8, 2021

@utle @arkarkala - Wondering if we can implement the same attribute for LtpaToken2 (for consistency?)

@una-tapa una-tapa self-assigned this Jul 8, 2021
@utle
Copy link
Member

utle commented Jul 12, 2021

Hiroko, Yes. It should be an RFE.

@una-tapa
Copy link
Member

@fbarroso24 - Please open an idea in the Aha below. I will keep this in mind and bump up the priority whenever I can.
https://cloud-platform.ideas.aha.io/?page=3&sort=popular
Thank you!

@fbarroso24
Copy link
Author

fbarroso24 commented Jul 27, 2021

@fbarroso24 - Please open an idea in the Aha below. I will keep this in mind and bump up the priority whenever I can.
https://cloud-platform.ideas.aha.io/?page=3&sort=popular
Thank you!

@una-tapa I created an idea in Aha at https://cloud-platform.ideas.aha.io/ideas/LIBERTY-I-14 titled Allow for setting the cookie path for LtpaToken2 cookie (Security reasons) Let me know if you need anything else. Thanks.

@utle utle self-assigned this Jan 26, 2022
@utle utle added ID Required Design Review Request In Progress Items that are in active development. Epic Used to track Feature Epics that are following the UFO process labels Mar 23, 2023
@utle
Copy link
Member

utle commented Mar 23, 2023

We combined this Epic with the other Epic #18499

@utle
Copy link
Member

utle commented Jun 6, 2023

Set cookie path for JWT SSO cookie: #25431

@utle
Copy link
Member

utle commented Jul 26, 2023

product code: Use contextRoot for SSO LTPA/JWT cookie path
#25432

@utle
Copy link
Member

utle commented Jul 26, 2023

ID: OpenLiberty/docs#6793

@utle
Copy link
Member

utle commented Jul 26, 2023

Beta blog: #25670

@Zech-Hein
Copy link
Contributor

@OpenLiberty/demo-approvers - The demo for this feature was presented in the EOI 23.14 meeting. Please let me know approval can be granted or if anything else is needed.

@Zech-Hein
Copy link
Contributor

Zech-Hein commented Aug 21, 2023

STE slides: STE_16235.pptx

@OpenLiberty/ste-approvers Please see the slides above, I have asked Ajit to review. Please let me know approval can be granted or if anything else is needed.

@gnadell gnadell added the focalApproved:ste Focal Approval granted for STE for the feature label Aug 22, 2023
@Zech-Hein
Copy link
Contributor

@OpenLiberty/svt-approvers No SVT is needed for this feature as the automated FAT tests covered the test scenarios. Please let me know approval can be granted or if anything else is needed.

@Zech-Hein
Copy link
Contributor

@OpenLiberty/globalization-approvers - metatype.properties messages were translated and returned in 23.0.0.8 - 17f341d

Please let me know approval can be granted or if anything else is needed.

@cbridgha cbridgha added the focalApproved:demo Approval that a Demo has been scheduled label Aug 22, 2023
@cbridgha
Copy link
Member

ok approved demo approval - but please link the actual feature not the PR to the EOI agenda.... :)

@cbridgha cbridgha added the focalApproved:externals Focal Approval granted for APIs/Externals for the feature label Aug 22, 2023
@LifeIsGood524 LifeIsGood524 added the focalApproved:globalization Focal Approval granted for Globalization for the feature label Aug 23, 2023
@nstewart0206 nstewart0206 added the focalApproved:svt Focal Approval granted for SVT for the feature label Aug 23, 2023
@nstewart0206
Copy link

SVT: Issue 29972

@jhanders34 jhanders34 added the focalApproved:performance Focal Approval granted for Performance for the feature label Aug 25, 2023
@donbourne
Copy link
Member

Serviceability Approval Comment - Please answer the following questions for serviceability approval:

  1. UFO -- does the UFO identify the most likely problems customers will see and identify how the feature will enable them to diagnose and solve those problems without resorting to raising a PMR? Have these issues been addressed in the implementation?

  2. Test and Demo -- As part of the serviceability process we're asking feature teams to test and analyze common problem paths for serviceability and demo those problem paths to someone not involved in the development of the feature (eg. L2, test team, or another development team).
    a) What problem paths were tested and demonstrated?
    b) Who did you demo to?
    c) Do the people you demo'd to agree that the serviceability of the demonstrated problem scenarios is sufficient to avoid PMRs for any problems customers are likely to encounter, or that L2 should be able to quickly address those problems without need to engage L3?

  3. SVT -- SVT team is often the first team to try new features and often encounters problems setting up and using them. Note that we're not expecting SVT to do full serviceability testing -- just to sign-off on the serviceability of the problem paths they encountered.
    a) Who conducted SVT tests for this feature?
    b) Do they agree that the serviceability of the problems they encountered is sufficient to avoid PMRs, or that L2 should be able to quickly address those problems without need to engage L3?

  4. Which L2 / L3 queues will handle PMRs for this feature? Ensure they are present in the contact reference file and in the queue contact summary, and that the respective L2/L3 teams know they are supporting it. Ask Don Bourne if you need links or more info.

  5. Does this feature add any new metrics or emit any new JSON events? If yes, have you updated the JMX metrics reference list / Metrics reference list / JSON log events reference list in the Open Liberty docs?

@Zech-Hein Zech-Hein added ID Required - Trivial Signifies that ID agrees that the requested ID work for a Feature is trivial and removed ID Required labels Aug 25, 2023
@dmuelle dmuelle added the focalApproved:id Focal Approval granted for ID for the feature label Aug 25, 2023
@Zech-Hein
Copy link
Contributor

Zech-Hein commented Aug 25, 2023

@OpenLiberty/serviceability-approvers - See the completed questions below:

  1. UFO -- does the UFO identify the most likely problems customers will see and identify how the feature will enable them to diagnose and solve those problems without resorting to raising a PMR? Have these issues been addressed in the implementation?
  • Yes, the UFO has a slide for Serviceability that addresses new messages being added and for common error scenario messages. These messages have all been implemented.
  1. Test and Demo -- As part of the serviceability process we're asking feature teams to test and analyze common problem paths for serviceability and demo those problem paths to someone not involved in the development of the feature (eg. L2, test team, or another development team).

a) What problem paths were tested and demonstrated?

  • useContextRootForSSOCookiePath non-boolean (bad) value specified
  • Attempt to use an SSO cookie for an app with a different contextRoot than what the cookie's path is set to.

b) Who did you demo to?

  • Demo'd to the core-security-squad (Malhar Shah)

    c) Do the people you demo'd to agree that the serviceability of the demonstrated problem scenarios is sufficient to avoid PMRs for any problems customers are likely to encounter, or that L2 should be able to quickly address those problems without need to engage L3?

  • Yes

  1. SVT -- SVT team is often the first team to try new features and often encounters problems setting up and using them. Note that we're not expecting SVT to do full serviceability testing -- just to sign-off on the serviceability of the problem paths they encountered.
    a) Who conducted SVT tests for this feature?
  • Nichole Stewart

    b) Do they agree that the serviceability of the problems they encountered is sufficient to avoid PMRs, or that L2 should be able to quickly address those problems without need to engage L3?

  • Yes

  1. Which L2 / L3 queues will handle PMRs for this feature? Ensure they are present in the contact reference file and in the queue contact summary, and that the respective L2/L3 teams know they are supporting it. Ask Don Bourne if you need links or more info.
  • WAS L2: SEC
  • WAS L3: Core Security
  1. Does this feature add any new metrics or emit any new JSON events? If yes, have you updated the JMX metrics reference list / Metrics reference list / JSON log events reference list in the Open Liberty docs?
  • No

@donbourne donbourne added the focalApproved:serviceability Focal Approval granted for Serviceability for the feature label Aug 25, 2023
@Zech-Hein
Copy link
Contributor

GA Blog Post: #26110

@dave-waddling dave-waddling added the focalApproved:fat Focal Approval granted for FAT for the feature label Aug 31, 2023
@LifeIsGood524 LifeIsGood524 added release:23009 and removed target:ga The Epic is ready for focal approvals, after which it can GA. labels Sep 5, 2023
@chirp1 chirp1 added ID Required and removed ID Required - Trivial Signifies that ID agrees that the requested ID work for a Feature is trivial ID Required labels Sep 11, 2023
@chirp1
Copy link
Contributor

chirp1 commented Sep 11, 2023

No Docs required for this epic. Only meta data was updated. Removed "ID Required - Trivial" label.

@Zech-Hein Zech-Hein removed the In Progress Items that are in active development. label Sep 21, 2023
@NottyCode NottyCode moved this to 23.0.0.9 in Open Liberty Roadmap Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aha Idea Design Approved Epic Used to track Feature Epics that are following the UFO process focalApproved:accessibility Focal Approval granted for Accessibility for the feature focalApproved:demo Approval that a Demo has been scheduled focalApproved:externals Focal Approval granted for APIs/Externals for the feature focalApproved:fat Focal Approval granted for FAT for the feature focalApproved:globalization Focal Approval granted for Globalization for the feature focalApproved:id Focal Approval granted for ID for the feature focalApproved:performance Focal Approval granted for Performance for the feature focalApproved:serviceability Focal Approval granted for Serviceability for the feature focalApproved:ste Focal Approval granted for STE for the feature focalApproved:svt Focal Approval granted for SVT for the feature release:23009 target:23009 team:Core Security
Projects
Status: 23.0.0.9
Development

No branches or pull requests