01 Mar, 2010
3 commits
-
AccountAttributeTest * testSecondaryGroup triggered changes to the way that multivalue attributes are handled. TODO: best would be to have a bookkeeping on which attributes can be multivalued (and set the schema of connector accordingly too). For now only CommandSwitches class knows about this. It would be good to warn ASAP the user when some multivalued attribute receives an invalid input. git-svn-id: https://svn.forgerock.org/openicf/trunk@5702 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…ng, for sake of consistence. git-svn-id: https://svn.forgerock.org/openicf/trunk@5701 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5700 05b3e5af-d696-470f-a577-fd7599f74d3c
26 Feb, 2010
1 commit
-
M test/java/org/identityconnectors/solaris/test/SolarisUpdateTest.java M test/java/org/identityconnectors/solaris/test/SolarisTestBase.java M test/java/org/identityconnectors/solaris/test/SolarisAuthenticateTest.java M test/java/org/identityconnectors/solaris/SolarisConnectorTest.java SolarisTestBase#enableTrustedLogin(username) is called in case we need to do authentication (==login) after create. 2) Changes to the connector Schema this triggered changes to contract test configuration too (SchemaApiOpTests, config.groovy): M test/config/org.identityconnectors.solaris.SolarisConnector/config/config.groovy M main/java/org/identityconnectors/solaris/SolarisConnector.java M main/java/org/identityconnectors/solaris/operation/search/LoginsCommand.java Now we express true nature of LOCK and PASSWD_FORCE_CHANGE AccountAttributes, which are inherently boolean. Moreover these two attributes are not common to fetch, so we set them not returned by default. * TODO: futher optimalization could be done to set RETURNED_BY_DEFAULT only attributes which are fetched by logins command. 3) Issue #619, Issue #620 Implemented UNLOCK functionality incl. unit tests. NativeAttribute#LOCK is readable and updateable. M main/java/org/identityconnectors/solaris/operation/PasswdCommand.java M test/java/org/identityconnectors/solaris/operation/PasswdCommandTest.java M test/java/org/identityconnectors/solaris/operation/CommandSwitchesTest.java M main/java/org/identityconnectors/solaris/operation/CommandSwitches.java 4) Clarified NativeAttribute#PWSTAT (alias force_change for password) attribute. 'force_change' can be updated only to true. The resource will force the user to change her password on the next login. However force_change is not updateable to false, Exception will be thrown in this case. M main/java/org/identityconnectors/solaris/operation/CommandSwitches.java git-svn-id: https://svn.forgerock.org/openicf/trunk@5699 05b3e5af-d696-470f-a577-fd7599f74d3c
24 Feb, 2010
3 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5698 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5697 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5696 05b3e5af-d696-470f-a577-fd7599f74d3c
23 Feb, 2010
2 commits
-
…, #2 Update*User commands simplified. git-svn-id: https://svn.forgerock.org/openicf/trunk@5695 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5694 05b3e5af-d696-470f-a577-fd7599f74d3c
22 Feb, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5693 05b3e5af-d696-470f-a577-fd7599f74d3c
19 Feb, 2010
2 commits
-
…. Plus added additional tests for Group handling. git-svn-id: https://svn.forgerock.org/openicf/trunk@5692 05b3e5af-d696-470f-a577-fd7599f74d3c
-
* added tests 'force_change' attribute git-svn-id: https://svn.forgerock.org/openicf/trunk@5691 05b3e5af-d696-470f-a577-fd7599f74d3c
18 Feb, 2010
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5690 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…knownUid error for SolarisTx configuration. git-svn-id: https://svn.forgerock.org/openicf/trunk@5689 05b3e5af-d696-470f-a577-fd7599f74d3c
17 Feb, 2010
5 commits
-
…thenticate api op tests to fail, but this is inherent to Solaris Tx, and there's nothing much we can do about it without changing the connector. git-svn-id: https://svn.forgerock.org/openicf/trunk@5688 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5687 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5686 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5685 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…d for create, that doesn't enable authentication by default.) git-svn-id: https://svn.forgerock.org/openicf/trunk@5684 05b3e5af-d696-470f-a577-fd7599f74d3c
16 Feb, 2010
5 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5683 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5682 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5681 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5680 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5679 05b3e5af-d696-470f-a577-fd7599f74d3c
15 Feb, 2010
1 commit
-
* Solaris NIS test configuration was failing in unit tests -- at search passage. It turned out that search didn't return the right list of users, and NIS search needs a re-worked way of listing account details (logins command doesn't work for NIS accounts, using 'ypmatch batman passwd' instead). How it was fixed: * AccountIterator was augmented with NIS search capabilities. Other refactoring included in this commit: * All implementations of Iterator<SolarisEntry> now allow two type of initializations: #1 given user list for iteration #2 if no user list given, they fetch it from the resource. Another crucial bugfix in LoginsCommand: accountLine.split(":", -1); This enables to return an empty attribute at the end of line, for instance "foo:bar:" will be parsed to ["foo", "bar", ""], thank to -1 parameter. git-svn-id: https://svn.forgerock.org/openicf/trunk@5678 05b3e5af-d696-470f-a577-fd7599f74d3c
13 Feb, 2010
3 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5677 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5676 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5675 05b3e5af-d696-470f-a577-fd7599f74d3c
12 Feb, 2010
3 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5674 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5673 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5672 05b3e5af-d696-470f-a577-fd7599f74d3c
11 Feb, 2010
8 commits
-
…() failures on NIS configuration. git-svn-id: https://svn.forgerock.org/openicf/trunk@5671 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5670 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…r number of accounts. Bugfixes to LoginsCommand and AccountIterator. git-svn-id: https://svn.forgerock.org/openicf/trunk@5669 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…asswd() test for NIS configuration. git-svn-id: https://svn.forgerock.org/openicf/trunk@5668 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…test for NIS configuration git-svn-id: https://svn.forgerock.org/openicf/trunk@5667 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5666 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5665 05b3e5af-d696-470f-a577-fd7599f74d3c
-
We need to control this in the connector. For NIS configuration now tests: org.identityconnectors.solaris.SolarisConnectorTest.testDuplicateUpdate() and org.identityconnectors.solaris.SolarisConnectorTest.testDuplicateCreate() pass. git-svn-id: https://svn.forgerock.org/openicf/trunk@5664 05b3e5af-d696-470f-a577-fd7599f74d3c
10 Feb, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5663 05b3e5af-d696-470f-a577-fd7599f74d3c