cu-library / ezproxy-config-lint

A linter for EZProxy config files.
MIT License
3 stars 0 forks source link

Handle a multiline `ShibbolethMetadata` directive #8

Closed moorereason closed 11 hours ago

moorereason commented 1 day ago

Two items that need to be supported:

  1. the ShibbolethMetadata directive
  2. multiline statements

See the SAML Authentication documentation:

ShibbolethMetadata \
   -EntityID=EZproxyEntityID \
   -File=MetadataFile \
   -SignResponse=false -SignAssertion=true -EncryptAssertion=false \
   [-Cert=EZproxyCertNumber \]
   [-SignAuthnRequest \]
   [-SLO \]
   [-URL=MetadataURL \]
   [-URLValidate=URLValidateFile \]
   [-AuthnContextClassRef=AuthnContext]
cudevmaxwell commented 1 day ago

Thanks for the issue @moorereason! I've added initial support for both the ShibbolethMetadata directive and multiline strings more generally in https://github.com/cu-library/ezproxy-config-lint/commit/09effe1c86d03cff454a6f0e5b18d0a242fe249a Can you try release v0.0.3?

moorereason commented 11 hours ago

Resolved.

PS - Great job with this tool. I've been programming in Go as a hobby for years and was honestly surprised to see such good work pop up on the ezproxy community list. Kudos! 🏆