11 Mar, 2010

5 commits


10 Mar, 2010

2 commits

  • ---------------
    LOG FOR previously commited REV 5711
    
    * added tests for password aging attributes
      M test/java/org/identityconnectors/solaris/test/SolarisTestBase.java
      M test/java/org/identityconnectors/solaris/operation/PasswdCommandTest.java
    --todo: some tests are @Ignore, we need better resource setup.
    
    * bugfix
      M main/java/org/identityconnectors/solaris/operation/PasswdCommand.java
    
    * Refactored to use CommandSwitches util class
      M main/java/org/identityconnectors/solaris/operation/CreateNativeUser.java
    
    
    
    
    git-svn-id: https://svn.forgerock.org/openicf/trunk@5712 05b3e5af-d696-470f-a577-fd7599f74d3c
    davidadam
     
  • 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@5711 05b3e5af-d696-470f-a577-fd7599f74d3c
    davidadam
     

09 Mar, 2010

1 commit


02 Mar, 2010

2 commits


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

3 commits


23 Feb, 2010

2 commits


19 Feb, 2010

2 commits


18 Feb, 2010

2 commits


17 Feb, 2010

1 commit


16 Feb, 2010

5 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

8 commits


10 Feb, 2010

1 commit


09 Feb, 2010

1 commit