* [ISSUE#5696] Add auth plugin interface. (#6593)
* define plugin
* add User model
* add authContext
* add SPI
* add resource, modify request, reformat code
* copyright, Serverloader, IdentityContext
* add unit test
* modify ClassLoader, and delete GrantType
* delete redundancy code
* remove authservice default name
* Change to StringUtils
* Add auth client: plugin and implement (#6883)
* Revise Auth server plugin (#6890)
* [ISSUE # 5696] Replace original auth client (#6885)
* Replace auth client
* Replace auth client original implement
* Replace original auth client
* Revise client: combine function and modify name
* [ISSUE #5696] Add auth server implement (#6901)
* Add auth server implement.
* Modify auth server: class name
* Add MySQL DataBase (#6968)
* add derby database (#6996)
* [ISSUE#5696] Fix auth server type (#7004)
* Add MySQL DataBase
* Add Derby Database
* Replace Auth Server
* Revise: change to AuthSystemType
* [ISSUE#5696] repackage client (#7029)
* Rename and move classes make them more readable.
* Rename and move test classes.
* [ISSUE#5696] Add Ram client auth service impl. (#7036)
* Add Resource abstract.
* Add Ram client auth service impl.
* [ISSUE#5695] Replace the usage of Ram in naming and config module. (#7038)
* Change SecurityProxy usage
* Replace ram usage in naming module
* Replace ram usage in naming module
* Replace ram usage in config module
* Remove unused field and fix unit test.
* [ISSUE#5696] Move and repackage some ram class to ram package. (#7040)
* move client.identity package to auth.ram.identity.
* move SignUtil to ram.utils.
* Add shutdown for auth plugin.
* Move SpasAdapter to new package.
* For PMD.
* For PMD and copyright.
* Fix ram type plugin not login for config module.
* [ISSUE #7114] Enhance the constants for auth module. (#7170)
- Create a Constants.java
- Move all the string literal to the Constants.java
- Delete the PropertiesConstant.java
* [ISSUE#5696] revert nacos server plugin implementation moved operation (#7636)
* Revert "[ISSUE#5696] Fix auth server type (#7004)"
This reverts commit e3b7f0e7
* Revert "add derby database (#6996)"
This reverts commit fea9d727
* Revert "Add MySQL DataBase (#6968)"
This reverts commit 3c0508d2
* Revert "[ISSUE #5696] Add auth server implement (#6901)"
This reverts commit 76ac8434
* Move JwtAuthenticationTokenFilter to security package.
* refactor constants about auth.
* Solve conflicts.
* Add resource parser
* Do some refactor for IdentityContextBuilder
* Repackage some auth classes.
* For checkstyle
* Add SignType
* Add MockAuthPluginService for unit test.
* Add new ProtocolAuthService to replace AuthManager.
* Http request use new plugin.
* Http request use new plugin.
* Grpc request use new plugin.
* Remove AuthManager.java
* Add plugin and auth-plugin module, and move class into module.
* Move client spi to nacos-auth-plugin module
* Remove NamingResourceParser.java
* Remove ConfigResourceParser.java
* remove unused parseName in ResourceParser
* Use specified parser to parse resource when can't find parser by type.
* Repackage some class
* Move default auth impl from console to nacos-plugin-default-impl module.
* Move user controller to nacos-plugin-default-impl module.
* Move auth persistence to nacos-plugin-default-impl module.
* Move user to nacos-plugin-default-impl module.
* Move plugin config to nacos-auth-plugin-impl module.
* Remove unused constants
* Fix compile problem.
* For pmd.
* Fix unit test.
Co-authored-by: Wuyunfan-BUPT <30968107+Wuyunfan-BUPT@users.noreply.github.com>
Co-authored-by: onewe <admin@onew.me>