- Added specific WITH_RESTCONF compile contants for _NATIVE and _FCGI for C code
- Restconf auth=none changes - Load clixon-restconf and resolve features earlier so that config features work - Removed auth=none code from example (this was non-std half-baked basic auth) - Changed tests that used auth-type=none to enable feature clixon-restconf:allow-auth-none - Moved cert creation from sub-shell to servercert function - Fixed typos for dockerfile rename of restconf evhtp to native
This commit is contained in:
parent
2bf75158a6
commit
244060fddc
38 changed files with 159 additions and 178 deletions
|
|
@ -98,7 +98,9 @@ typedef int (*clicon_upgrade_cb)(
|
|||
* For now only used by restconf frontend
|
||||
*/
|
||||
enum clixon_auth_type {
|
||||
CLIXON_AUTH_NONE = 0, /* Message is authenticated automatically, Do not call ca-auth callback */
|
||||
CLIXON_AUTH_NONE = 0, /* Message is authenticated automatically to
|
||||
anonymous user, maye be changed by ca-auth callback
|
||||
FEATURE clixon-restconf:allow-auth-none must be enabled */
|
||||
CLIXON_AUTH_CLIENT_CERTIFICATE, /* TLS Client certification authentication */
|
||||
CLIXON_AUTH_USER, /* User-defined authentication according to ca-auth callback.
|
||||
Such as "password" authentication */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue