Jaime Piña
27e9628c3a
Run gofmt -s to simplify code
2021-04-09 15:18:06 -07:00
Matthias Hanel
74642e024e
[Added] verify_and_implicit_allow to tie subject alt name to url in cfg
...
Only works for gateways and routes. When true the subject alt DNS name
must match one url in the corresponding configuration
Signed-off-by: Matthias Hanel <mh@synadia.com >
2020-11-20 13:57:34 -05:00
Ivan Kozlovic
04f96813a7
Validate options for user embedded NATS Server in their app
...
We were doing option validation from options parsing, but added
it also for Users/NKeyUsers options.
Signed-off-by: Ivan Kozlovic <ivan@synadia.com >
2020-09-18 13:09:52 -06:00
Derek Collison
65188f9768
Added parser for new style authorizations
...
Signed-off-by: Derek Collison <derek@nats.io >
2018-08-22 20:41:48 -07:00
Derek Collison
00901acc78
Update license to Apache 2
2018-03-15 22:31:07 -07:00
Tyler Treat
6bdc906288
Add User clone test for nil Permissions
2017-06-08 10:17:33 -05:00
Tyler Treat
5d36a7797e
Fix Options Clone
...
Ensure Options.Clone() only initializes Users and Routes when the
Options it's cloning has them initialized.
2017-06-07 16:54:40 -05:00
Tyler Treat
cc30af8ede
Address code review feedback
2017-06-05 17:43:42 -05:00