22 Sep, 2009

3 commits

  • git-svn-id: https://svn.forgerock.org/openicf/trunk@5274 05b3e5af-d696-470f-a577-fd7599f74d3c
    davidadam
     
  • git-svn-id: https://svn.forgerock.org/openicf/trunk@5273 05b3e5af-d696-470f-a577-fd7599f74d3c
    davidadam
     
  • [A] changes to operation implementations:
    A.1 OpAuthenticateImpl -- rewritten bottom-up based on adapter impl.
    A.2 OpUpdateImpl -- changes mainly caused by erasure of legacy attribute name constants.
    A.3 OpCreateImpl -- the same changes as A.1
    
      
    [B] cleanup of files that are connected to legacy attribute name constants (in old 'constants' package)
    B.1 PatternBuilder deleted
    B.2 added package 'attr' which contains the new simplified attribute name constants.
    
    [C] Other improvements
    - SolarisConnection contains public reference to the configuration, so we don't need to pass them in methods separately. Triggered changes to: BlockAccountIterator, and many other classes.
    - modified generation of schema based on new attribute names form new 'attrs' package.
    - SolarisConnection now enables TELNET connection.
    - SolarisConnection provides the current rootShellPrompt by its getRootShellPrompt() method. (It is always set to the correct one, and the configuration itself is not modified).
    
    [D] TODOs:
    >> Control the generation of the Schema (if it is the same as before transition to 'attr' package attribute names)
    >> Resolve problem of NativeAttribute#getCmdSwitch() -- it should be a private property of the Update/CreateOperation itself, and should not leak into the constants.
    
    
    git-svn-id: https://svn.forgerock.org/openicf/trunk@5271 05b3e5af-d696-470f-a577-fd7599f74d3c
    davidadam
     

17 Sep, 2009

4 commits


16 Sep, 2009

6 commits


15 Sep, 2009

2 commits


14 Sep, 2009

2 commits

  • git-svn-id: https://svn.forgerock.org/openicf/trunk@5200 05b3e5af-d696-470f-a577-fd7599f74d3c
    davidadam
     
  • - added BlockAccountIterator.
      ~ TODO: for now it has hardcoded constant of size 30 for block size, this may be a candidate for configuration property -- check the adapter code)
    - AccountUtil#getAllAccounts handles the iteration over all accounts at once. 
    - Group attributes search TODO
    
    Infrastructural changes:
    - LastCmd, LoginsCmd -- both are used in blocked retrieval of accounts (BlockAccountIterator). They should reveal their capabilities to parse the output (block iteration involves running a special script, that can't be incorporated into a humbe util class like Last/LoginsCmd).
    - SudoUtil is now public, because it should be accessed by search implementation classes. Otherwise we'd need to pass down AbstractOp to low level classes, cascadingly.
    - SolarisEntries#getAllAccounts() need to pass the configuration down, because of running sudoStart and sudoStop commands (SudoUtil)
    
    
    git-svn-id: https://svn.forgerock.org/openicf/trunk@5195 05b3e5af-d696-470f-a577-fd7599f74d3c
    davidadam
     

11 Sep, 2009

1 commit


10 Sep, 2009

2 commits


09 Sep, 2009

2 commits


08 Sep, 2009

2 commits


07 Sep, 2009

3 commits


01 Sep, 2009

1 commit


31 Aug, 2009

1 commit


28 Aug, 2009

1 commit


27 Aug, 2009

8 commits


26 Aug, 2009

2 commits

  • git-svn-id: https://svn.forgerock.org/openicf/trunk@5122 05b3e5af-d696-470f-a577-fd7599f74d3c
    davidadam
     
  • + Bugfix: Disconnect now also executes logout before the Expect4J's connections is closed (this prevented deletion of accounts, as Unit tests contain Authenticate followed by Delete, and Authenticate did not logged off (it called connection#disconnect, but the actual user on the resource was still hanging there -- thus returned a user logged in msg).
    
    git-svn-id: https://svn.forgerock.org/openicf/trunk@5121 05b3e5af-d696-470f-a577-fd7599f74d3c
    davidadam