Skip to content

Document per-route AUTH=/RES= and LOC= in the sample Parmlib member#108

Merged
mgrossmann merged 1 commit into
mainfrom
issue-98-samplib-doc
Jul 5, 2026
Merged

Document per-route AUTH=/RES= and LOC= in the sample Parmlib member#108
mgrossmann merged 1 commit into
mainfrom
issue-98-samplib-doc

Conversation

@mgrossmann

Copy link
Copy Markdown
Contributor

Follow-up to #98: the sample Parmlib member samplib/httpprm0 (the template copied to SYS2.PARMLIB) still documented only the global LOGIN default and the old MOD= format. It never got the per-route auth options that #98 added — this closes that gap.

Changes (comments only, no behavior)

  • Security section — note that LOGIN is the global default for routes without an explicit AUTH=, and document the per-route options: AUTH=NONE|FORM|BASIC and RES=class:resource.
  • Modules section — the MOD= format line mentions the trailing AUTH=/RES=, with two commented examples (a protected API, a browser-form CGI).
  • New "Static locations (LOC=)" section — documents the program-less static route with commented examples (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.

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.
@mgrossmann mgrossmann added the type:docs Documentation label Jul 5, 2026
@mgrossmann
mgrossmann merged commit 6bb99e6 into main Jul 5, 2026
1 check passed
@mgrossmann
mgrossmann deleted the issue-98-samplib-doc branch July 5, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:docs Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant