OAK-9799 : Optional validator to mark external users/groups as protected (#604)
authoranchela <angela@apache.org>
Mon, 27 Jun 2022 14:15:32 +0000 (16:15 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Jun 2022 14:15:32 +0000 (16:15 +0200)
commit23df42242a29cb1c42cfd61692eae2801d405a92
tree00d96e84f11ac183213b5824dd92bddcc9c6c041
parent5a89b5f441b76780ecd9e041b6a3bc8fa3a8c795
OAK-9799 : Optional validator to mark external users/groups as protected (#604)

* OAK-9799 : Optional validator to mark external users/groups as protected

* OAK-9799 : Optional validator to mark external users/groups as protected (review findings from jose antonio insua)
oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/ExternalIdentityConstants.java
oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/ExternalPrincipalConfiguration.java
oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/ExternalUserValidatorProvider.java [new file with mode: 0644]
oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/IdentityProtectionType.java [new file with mode: 0644]
oak-auth-external/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/external/AbstractExternalAuthTest.java
oak-auth-external/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/ExternalPrincipalConfigurationTest.java
oak-auth-external/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/ExternalUserValidatorTest.java [new file with mode: 0644]
oak-auth-external/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/IdentityProtectionTypeTest.java [new file with mode: 0644]
oak-doc/src/site/markdown/security/authentication/external/defaultusersync.md