Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow README.TXT files in metadata directory #25

Open
JornWildt opened this issue Aug 18, 2020 · 0 comments
Open

Allow README.TXT files in metadata directory #25

JornWildt opened this issue Aug 18, 2020 · 0 comments

Comments

@JornWildt
Copy link

Should anyone, by accident or on purpose, put a non-metadata file in the metadata file directory, the OIOSAML simply breaks down.

We like to add a README.TXT in the directory to explain it's purpose, and for this we modified SAML20FederationConfig ever so slightly with an added file mask of "*.config":

internal void Initialize()
  string[] files = Directory.GetFiles(MetadataLocation, "*.config");

In addition to this, it would be nice if OIOSAML handled non-metadat files by signalling a clear error message, indicating what is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant