-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nm): Backend implementation to support EAP-TLS + Minor WebUI fix…
…es (#4872) * feat: initial implimentation of tls backend * fix: weird formatter oddity * fix: removed loggers * refactor: ifPresent if's changed to lamdas * tests: update for new tls changes * fix: revert un-needed change * feat: added support for multiple keystores * tests: removed not needed logging * fix: improved backend stability, and fixed regex * refactor: changed the way the keystore var is passed * feat: added more type security in webUI * refactor: fix comments enable -> unable * refactor: removed to string * refactor: certificate replacement method * refactor: removed not needed Exception * refactor: decryptAndConvertCertificates method * refactor: removed extra newline Co-authored-by: Mattia Dal Ben <[email protected]> * refactor: error message * refactor: added more if checks to improve reliability when applying from webUI * refactor: created a hard copy of the modifiedMap so it is not passed to the configuration service and applied * refactor: removed extra 802-1x in String Co-authored-by: Mattia Dal Ben <[email protected]> * refactor: add specificity to to isCertificate method Co-authored-by: Mattia Dal Ben <[email protected]> * refactor: updated String for better readability Co-authored-by: Mattia Dal Ben <[email protected]> * refactor: add extra safety checks in getTrustedCertificateFromKeystoreMethod Co-authored-by: Mattia Dal Ben <[email protected]> * lint: fix whitespace issues * fix: changed 802-1x -> 802.1x * refactor: removed unnecessary cast to String * refactor: removed extra curly braces in lamdas * refactor: removed type in <> * tests: added basic enterprise test coverage * test: added method for mocking keystore * fix: added static variable for NM_SECRET_FLAGS_NOT_REQUIRED * fix: removed generic exception logging, and changed exceptions --------- Co-authored-by: Mattia Dal Ben <[email protected]>
- Loading branch information
1 parent
8d75084
commit dea99cd
Showing
12 changed files
with
423 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.