Unicon / cas-addons

Open source CAS customizations, extensions, and configuration aids.
http://unicon.github.io/cas-addons/
Apache License 2.0
54 stars 26 forks source link

JSON service registry: parsing regex service url patterns makes assumptions about the syntax #18

Closed mmoayyed closed 11 years ago

mmoayyed commented 11 years ago

Try not to rely on the service url pattern to begin with ^, execute the following steps instead:

  1. Parse the pattern. If valid regex, create the corresponding service.
  2. Parse the pattern, if valid ANT, create the corresponding service.
  3. Ignore the service, warn in the logs.
mmoayyed commented 11 years ago

Addressed via https://github.com/Unicon/cas-addons/pull/24