OpenLiberty / docs

See Open Liberty documentation on https://openliberty.io/docs/
https://openliberty.io/docs/
Other
13 stars 47 forks source link

Example config for samlWeb feature #955

Closed Charlotte-Holt closed 10 months ago

Charlotte-Holt commented 4 years ago

https://www.openliberty.io/docs/ref/feature/#samlWeb-2.0.html

ManasiGandhi commented 4 years ago

Bruce's comments, The preferred approach to configure SAML is by using metadata exchange as follows: Supply the above URL to the saml identity provider to establish federation between this sp and Identity provider. If the identity provider requires a file instead of a url, use a browser to retrieve the data from that URL and supply the file. Next, obtain the metadata file from the provider, rename it to idpMetadata.xml, and copy it to the resources/security directory on the server. The issuer…. After the example of enabled=false, there are a bunch of elements that aren’t part of server.xml, that can all be removed. You can mention something like Additional attributes can be optionally specified to override the default behavior. In most cases, exchange of the metadata files is sufficient.

ManasiGandhi commented 4 years ago

Bruce's comment "Hi, that looks fine, my only suggestion is to change SAML Identity Provider --> SAML Identity Provider (IDP) IP --> IDP"

brutif commented 4 years ago

looks good!

ManasiGandhi commented 4 years ago

@lauracowen Hi Laura. Can you review this draft https://draft-openlibertyio.mybluemix.net/docs/ref/feature/#samlWeb-2.0.html?

lauracowen commented 4 years ago

Some additional comments Alasdair made last week:

ManasiGandhi commented 4 years ago

@lauracowen I worked with Bruce in a meeting yesterday and discussed all the points you made and addressed them based on his suggestions. Can you review the draft https://draft-openlibertyio.mybluemix.net/docs/ref/feature/#samlWeb-2.0.html?

Some additional comments Alasdair made last week:

lauracowen commented 4 years ago
ManasiGandhi commented 4 years ago

@lauracowen I worked on your edit suggesions.

ManasiGandhi commented 4 years ago

@dmuelle Can you peer review this draft https://draft-openlibertyio.mybluemix.net/docs/ref/feature/#samlWeb-2.0.html?

dmuelle commented 4 years ago

Peer review

Looks good- just a few things:

Default configuration of the SAML web SSO

- AssertionConsumerService URL: `https://<hostname>:<sslport>/ibm/saml20/defaultSP/acs`
The AssertionConsumerService URL is the endpoint on the service provider point of contact server that receives assertions.

but however you organize them, make the two bullets the same format.

Custom configuration

lauracowen commented 4 years ago

Thanks.

Custom config section

ManasiGandhi commented 4 years ago

@dmuelle I worked on your peer edit suggestions.

ManasiGandhi commented 4 years ago

@lauracowen I worked on your suggestions.

lauracowen commented 4 years ago

Hi - can you add a comment to this issue with answers to the questions above (in the issue, not necessarily in the topic)? I can see you've removed all the queried text from the topic but it's not clear why you've done so I can't tell whether it should be in the topic or not. Specifically points 1, 5, and 6. eg if you've had a discussion with the technical reviewer, add a note in here saying what the answer was and why the info is no longer required. For point 1, is there a line of automatically generated XML or not? and so on.

The formatting looks better, thanks:

ManasiGandhi commented 4 years ago

@lauracowen I made the edits per your review.

lauracowen commented 4 years ago

Excellent, thanks.

Where you have "This default configuration..." sentence, can you reword to be more explicit eg "When you enable the SAML Web Single Sign-on feature, it is automatically configured and activates two endpoints."

Other than that, looks good. Thanks. If you can tweak that wording, I'll sign it off.

ManasiGandhi commented 4 years ago

@lauracowen I made the update

lauracowen commented 4 years ago

Looks good, thanks.

As I said on Slack, I’ll sign it off but would you mind tweaking the last bit of that sentence you just changed? to “…and activates the following endpoints:“? Mainly because I put a period instead of a colon (and you were right originally that it should be a colon).

ManasiGandhi commented 4 years ago

@lauracowen Thanks Laura. Added the colon.

ManasiGandhi commented 4 years ago

@dmuelle I worked on your peer review.

ManasiGandhi commented 4 years ago

@chirp1 updated draft link https://draft-openlibertyio.mybluemix.net/docs/20.0.0.9/reference/feature/samlWeb-2.0.html

ManasiGandhi commented 4 years ago

New link for the draft https://draft-openlibertyio.mybluemix.net/docs/20.0.0.10/reference/feature/samlWeb-2.0.html

ManasiGandhi commented 4 years ago

@chirp1 New edits and updates

"One way to obscure the meaning of a sentence is to string together lots of words, phrases, or clauses joined by and or or, which are called coordinate conjunctions." https://learning.oreilly.com/library/view/developing-quality-technical/9780133119046/ch06.html

If you decide to use a term that your audience is not familiar with, carefully choose it, introduce it, and use it consistently. If your field or industry uses two or more terms for the same thing, pick one and use it consistently. In some types of writing, you are encouraged to use different words for the same thing for variety. In technical information, however, using more than one term for the same thing causes confusion and can lead to inaccurate translations. And using two terms can suggest that the two terms refer to different things."-Chapter 6 Clarity https://learning.oreilly.com/library/view/developing-quality-technical/9780133119046/ch06.html

ManasiGandhi commented 4 years ago

@chirp1 Updated draft link https://draft-openlibertyio.mybluemix.net/docs/20.0.0.11/reference/feature/samlWeb-2.0.html

ManasiGandhi commented 4 years ago

@chirp1 20.12 updated draft link https://draft-openlibertyio.mybluemix.net/docs/20.0.0.12/reference/feature/samlWeb-2.0.html.

chirp1 commented 4 years ago

@ManasiGandhi Hi Manasi, The update looks good. I have a few comments:

ManasiGandhi commented 4 years ago

@chirp1 I worked on your review,

chirp1 commented 3 years ago

Hi Manasi, In looking over your configuration examples further, I spot a few other things to comment on: I believe you drew your updates mainly from this topic: https://www.ibm.com/support/knowledgecenter/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/twlp_config_saml_web_sso.html Generally, your configuration examples for this topic could have more of the bits of concrete information that are in the topic that you drew from.

ManasiGandhi commented 3 years ago

I worked on Karen's edit review for this issue. Waiting on the changes to show after the builds issue is resolved.

ManasiGandhi commented 3 years ago

Updated draft link https://draft-openlibertyio.mybluemix.net/docs/21.0.0.1/reference/feature/samlWeb-2.0.html

ManasiGandhi commented 3 years ago

Current draft https://draft-openlibertyio.mybluemix.net/docs/21.0.0.2/reference/feature/samlWeb-2.0.html

dmuelle commented 2 years ago

https://openliberty.io/docs/latest/reference/feature/samlWeb-2.0.html