mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
18.43.2011 c9da9e4bd4a115a646dfb846972126ca8eef1158
refs
author Matthew Swift <matthew.swift@forgerock.com>
Thursday, August 18, 2011 19:43 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Thursday, August 18, 2011 19:43 +0200
commitc9da9e4bd4a115a646dfb846972126ca8eef1158
tree e646bd115605782c0ad7bbd164f80c3b49629c85 tree | zip | gz
parent 8b2d126d8741e9232358f5b5bfe11825ffdfbd31 view | diff
Initial checkpoint of work for OPENDJ-262: Implement pass through authentication (PTA)

Refactor PasswordPolicy implementation so that we now have a common parent type, "AuthenticatioPolicy", which will act as a common entry point for all authentication policies. In particular, password policies can be thought of as a specific type of authentication policy: one where authentication and the user's credentials are managed locally. PTA can be thought of as a non-local authentication policy: the password is managed by a third party.

With this change we still only have one type of authentication policy and no attempt has been made to refactor code which uses it. More specifically, code such as the local backend WFE just type-casts the authentication policy to a password policy.

Another implication of this change is that sub-entry based password policies now automatically inherit run-time changes made to the default password policy, whereas before a server restart was required.
1 files deleted
41 files modified
5 files added
6474 ■■■■ changed files
opends/resource/config/config.ldif 4 ●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 14 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/AuthenticationPolicyConfiguration.xml 67 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/GlobalConfiguration.xml 7 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyConfiguration.xml 16 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/RootConfiguration.xml 5 ●●●●● diff | view | raw | blame | history
opends/src/admin/messages/AuthenticationPolicyCfgDefn.properties 4 ●●●● diff | view | raw | blame | history
opends/src/admin/messages/GlobalCfgDefn.properties 1 ●●●● diff | view | raw | blame | history
opends/src/admin/messages/PasswordPolicyCfgDefn.properties 1 ●●●● diff | view | raw | blame | history
opends/src/admin/messages/RootCfgDefn.properties 2 ●●● diff | view | raw | blame | history
opends/src/messages/messages/config.properties 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/api/AuthenticationPolicy.java 71 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/api/AuthenticationPolicyFactory.java 86 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/CoreConfigManager.java 16 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DirectoryServer.java 467 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicy.java 1894 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicyConfig.java 187 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicyConfigManager.java 544 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicyFactory.java 1250 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PasswordPolicyState.java 110 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/SubentryPasswordPolicy.java 1150 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/PasswordModifyExtendedOperation.java 25 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/PasswordPolicyStateExtendedOperation.java 13 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/PasswordPolicySubentryVirtualAttributeProvider.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/plugins/PasswordPolicyImportPlugin.java 46 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/EncodePassword.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/ImportLDIF.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/AccountStatusNotification.java 7 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/StaticUtils.java 20 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendAddOperation.java 24 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendBindOperation.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendModifyOperation.java 26 ●●●● diff | view | raw | blame | history
opends/tests/staf-tests/functional-tests/shared/data/security/auth_pwd_syntax/admin_add_MD5_policy.ldif 3 ●●●●● diff | view | raw | blame | history
opends/tests/staf-tests/functional-tests/shared/data/security/auth_pwd_syntax/admin_add_SHA1_policy.ldif 3 ●●●●● diff | view | raw | blame | history
opends/tests/staf-tests/functional-tests/shared/data/security/auth_pwd_syntax/admin_add_SHA256_policy.ldif 3 ●●●●● diff | view | raw | blame | history
opends/tests/staf-tests/functional-tests/shared/data/security/auth_pwd_syntax/admin_add_SHA384_policy.ldif 3 ●●●●● diff | view | raw | blame | history
opends/tests/staf-tests/functional-tests/shared/data/security/auth_pwd_syntax/admin_add_SHA512_policy.ldif 3 ●●●●● diff | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_policy/security_mult_pwd_policies.xml 3 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/resource/config-changes.ldif 12 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/ProxyBindTestCase.java 2 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/SSFTestCase.java 1 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/PasswordPolicyTestCase.java 319 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/SubentryPasswordPolicyTestCase.java 19 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/CryptPasswordStorageSchemeTestCase.java 10 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/ErrorLogAccountStatusNotificationHandlerTestCase.java 3 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/PasswordStorageSchemeTestCase.java 12 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/SASLOverTLSTestCase.java 2 ●●●●● diff | view | raw | blame | history