Skip to content

Allow README.TXT files in metadata directory #25

@JornWildt

Description

@JornWildt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions