Document per-route AUTH=/RES= and LOC= in the sample Parmlib member#108
Merged
Conversation
samplib/httpprm0 still showed only the global LOGIN default and the old MOD= format. Add the per-route auth policy (AUTH=NONE/FORM/BASIC, RES=class:resource) and the new LOC= static-route section introduced in #98, with commented examples. All added lines kept within 80 columns for the FB-80 target member.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #98: the sample Parmlib member
samplib/httpprm0(the template copied toSYS2.PARMLIB) still documented only the globalLOGINdefault and the oldMOD=format. It never got the per-route auth options that #98 added — this closes that gap.Changes (comments only, no behavior)
LOGINis the global default for routes without an explicitAUTH=, and document the per-route options:AUTH=NONE|FORM|BASICandRES=class:resource.MOD=format line mentions the trailingAUTH=/RES=, with two commented examples (a protected API, a browser-form CGI).LOC=/admin/*behind a profile,LOC=/*public SPA docroot), plus the exact-vs-wildcard matching and ordering note.All added lines kept within 80 columns for the FB-80 target member (verified).
Consistent with
docs/configuration.md. Relates to #98 / epic #100.