Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2160

Add parameter validation in RegexNameRewriter and RegexNameValidatingRewriter

XMLWordPrintable

      Add parameter validation in RegexNameRewriter and RegexNameValidatingRewriter to ensure the provided substitution pattern is not null. The Javadoc for the parameter should be updated as well to indicate that it must not be null.

      An example of how to add a check to make sure a parameter is not null can be found here:
      https://github.com/wildfly-security/wildfly-elytron/blob/0bc21f17dab0507f7a5cdf7d2e7ea14d44eae12a/credential/base/src/main/java/org/wildfly/security/credential/PasswordCredential.java#L51

              lvydra Lukas Vydra
              fjuma1@redhat.com Farah Juma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: