Skip to content

Commit

Permalink
HMS-3429: remove RealmName pattern
Browse files Browse the repository at this point in the history
KerberosRealm is defined in RFC 4120 as:

```
KerberosString  ::= GeneralString (IA5String)
Realm           ::= KerberosString
```

So any ASCII string is valid.  Remove the regex pattern which is
too tight.

Related: https://issues.redhat.com/browse/HMS-3429
  • Loading branch information
frasertweedale committed Mar 13, 2024
1 parent a4f6239 commit 06fe017
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion public.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,6 @@
"format": "realm",
"maxLength": 253,
"minLength": 3,
"pattern": "^[A-Z0-9\\.\\-]+$",
"x-rh-ipa-hcc": {
"type": "defs"
},
Expand Down
1 change: 0 additions & 1 deletion public.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,6 @@ components:
format: realm
maxLength: 253
minLength: 3
pattern: ^[A-Z0-9\.\-]+$
x-rh-ipa-hcc:
type: defs
example: DOMAIN.EXAMPLE
Expand Down

0 comments on commit 06fe017

Please sign in to comment.