29 Aug, 2011
1 commit
-
Add unit tests for AuthenticationPolicy and AuthenticationPolicyState. git-svn-id: https://svn.forgerock.org/opendj/trunk@7209 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Aug, 2011
1 commit
-
Increase soTimeouts to 60 seconds for unit tests which expect IO to complete. This will ensure that the timeout is not exceeded during GCs, etc. git-svn-id: https://svn.forgerock.org/opendj/trunk@7207 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Aug, 2011
1 commit
-
Introduce AuthenticationPolicyState abstract class for managing bind context. This interface will allow PTA implementations to persist state to the user's entry as needed (e.g. cached passwords). git-svn-id: https://svn.forgerock.org/opendj/trunk@7203 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Aug, 2011
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7201 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…g filter of the form "(changeNumber>=xxxx)" where xxxx<firstChangeNumber. Matt pointed to the incriminated piece of code, which didn't consider that specific case. We should add some test for this, but since it involves purging, delays, I recommend to add that in functional test, not unit test. git-svn-id: https://svn.forgerock.org/opendj/trunk@7200 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Aug, 2011
1 commit
-
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. git-svn-id: https://svn.forgerock.org/opendj/trunk@7192 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Aug, 2011
2 commits
-
… quite slow and imports are taking longer than 60 seconds. git-svn-id: https://svn.forgerock.org/opendj/trunk@7180 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…he nightly unit tests to hang. git-svn-id: https://svn.forgerock.org/opendj/trunk@7179 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Aug, 2011
1 commit
-
…e following tests have been tagged: org.opends.server.replication.server.ReplicationServerTest#replicationServerConnected org.opends.server.replication.server.ReplicationServerTest#multipleWriterMultipleReader org.opends.server.replication.server.AssuredReplicationServerTest#testSafeDataLevelOne Other tests listed in OPENDJ-256 do not fail as frequently but may be disabled in a subsequent change. git-svn-id: https://svn.forgerock.org/opendj/trunk@7178 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Aug, 2011
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7168 41b1ffd8-f28e-4786-ab96-9950f0a78031
02 Aug, 2011
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7167 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7166 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jul, 2011
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7158 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…exes id2children and id2subtree Add a boolean option "subordinate-indexes-enabled" to the JE backend configuration which can be used for disabling the subordinate indexes id2children and id2subtree. git-svn-id: https://svn.forgerock.org/opendj/trunk@7155 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Jul, 2011
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7153 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7152 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Jul, 2011
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7147 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Jul, 2011
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7144 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Jul, 2011
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7138 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Jul, 2011
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7125 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7123 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7120 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ew one fails with unwilling to perform (would result in multiple password in the entry). Make sure we update the passwords counters when deleting values. Unit-tests added to make sure we do not have regressions in the future git-svn-id: https://svn.forgerock.org/opendj/trunk@7119 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Jul, 2011
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7117 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Many thanks to Nemanja Lukic and his colleagues at Profiq S.R.O for this kind contribution. The contribution has been modified as follows: *) integrate as core feature of OpenDJ, not extension *) rename package names accordingly *) remove dependency on BouncyCastle.org MD4 implementation, by porting implementation to OpenDJ *) re-implement setOddParity method in order to avoid potential copyright issues with existing implementations. *) simplify configuration model and validation. TODO: *) support u: and dn: authid in password modify extended operation. git-svn-id: https://svn.forgerock.org/opendj/trunk@7116 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Jul, 2011
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7112 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7111 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Jul, 2011
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7100 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…itoring intervals configurable Try increasing connection timeouts from 500ms to 4s in order to tolerate slow. Values are hard-coded for now, but this will at least indicate if network timeouts are the cause of unit test failures. git-svn-id: https://svn.forgerock.org/opendj/trunk@7092 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Jul, 2011
1 commit
-
The conflict resolution code didn't consider the case where a single modify operation could contain multiple modifications on an attribute, especially a replace after adds or delete. All changeNumbers would then be equals. Replace always wins over all precedent operations on the attribute, as Modifications are ordered (Sequence of). git-svn-id: https://svn.forgerock.org/opendj/trunk@7090 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jun, 2011
2 commits
-
…y) filter is used in Search filter. git-svn-id: https://svn.forgerock.org/opendj/trunk@7086 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7080 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Jun, 2011
4 commits
-
Tests are passing 100% of the time on my machine. Not passing almost 100% of the time on builds.forgerock.org (Jenkins-CI). Bare metal vs VMs ? git-svn-id: https://svn.forgerock.org/opendj/trunk@7079 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…enkins: extend soTimeouts) git-svn-id: https://svn.forgerock.org/opendj/trunk@7077 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7076 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7075 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Jun, 2011
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7068 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Jun, 2011
2 commits
-
… isMemberOf). But each test was clearing the 2 backends used for test. Moved that to the pre-test, so it's only done once per test, reducing the time to run the tests to 5 s per test on my machine. git-svn-id: https://svn.forgerock.org/opendj/trunk@7062 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@7060 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Jun, 2011
1 commit
-
Processing of the string based cookie was not handling errors consistently, as code was duplicated between the constructor and another parsing method. The fix required some minor refactoring. All nightlytests have been successfully passing on my development machine. git-svn-id: https://svn.forgerock.org/opendj/trunk@7052 41b1ffd8-f28e-4786-ab96-9950f0a78031