02 Mar, 2010
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5704 05b3e5af-d696-470f-a577-fd7599f74d3c
-
LOCK is now hanlded correctly as boolean. Altered Schema to match the real nature of attribute (Multivalue, type, required flag for create). CommandSwitches thank to NativeAttribute#isSingleValue() can actively check that one doesn't send a multivalue items to a singlevalue attribute. git-svn-id: https://svn.forgerock.org/openicf/trunk@5703 05b3e5af-d696-470f-a577-fd7599f74d3c
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
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
1 commit
-
…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
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
09 Feb, 2010
4 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5662 05b3e5af-d696-470f-a577-fd7599f74d3c
-
….nis.UpdateNISGroup.listToString(List<? extends Object>, String) does matter. git-svn-id: https://svn.forgerock.org/openicf/trunk@5658 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5657 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…should be passed as a separate one, not in SolarisEntry. SolarisUtil - javadoc update. git-svn-id: https://svn.forgerock.org/openicf/trunk@5656 05b3e5af-d696-470f-a577-fd7599f74d3c
05 Feb, 2010
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5655 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…ment should be given. Also clarified semantics of NativeAttribute#LOCK. git-svn-id: https://svn.forgerock.org/openicf/trunk@5654 05b3e5af-d696-470f-a577-fd7599f74d3c
01 Feb, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5651 05b3e5af-d696-470f-a577-fd7599f74d3c
29 Jan, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5650 05b3e5af-d696-470f-a577-fd7599f74d3c
25 Jan, 2010
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5644 05b3e5af-d696-470f-a577-fd7599f74d3c