02 Mar, 2010

1 commit

  • 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
    davidadam
     

01 Mar, 2010

3 commits


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
    davidadam
     

24 Feb, 2010

2 commits


23 Feb, 2010

2 commits


19 Feb, 2010

2 commits


18 Feb, 2010

1 commit


17 Feb, 2010

1 commit


16 Feb, 2010

2 commits


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
    davidadam
     

11 Feb, 2010

2 commits


10 Feb, 2010

1 commit


09 Feb, 2010

1 commit


05 Feb, 2010

2 commits


29 Jan, 2010

1 commit


25 Jan, 2010

1 commit


22 Jan, 2010

2 commits


21 Jan, 2010

4 commits


20 Jan, 2010

1 commit


08 Jan, 2010

1 commit


07 Jan, 2010

1 commit


06 Jan, 2010

1 commit


05 Jan, 2010

1 commit


04 Jan, 2010

2 commits


24 Dec, 2009

3 commits