01 Dec, 2009
3 commits
-
… used only by search for now, but it is in the AbstractOp for safety reasons. The operation should not have a direct access to the connector API. git-svn-id: https://svn.forgerock.org/openicf/trunk@5519 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5518 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5517 05b3e5af-d696-470f-a577-fd7599f74d3c
30 Nov, 2009
3 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5512 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5511 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5510 05b3e5af-d696-470f-a577-fd7599f74d3c
27 Nov, 2009
1 commit
-
* UpdateNativeGroupCommand.java + basic unit test. * UpdateNISGroupCommand.java -- TODO needs some testing on special NIS resource. REFACTORINGS: - refactoring: OpCreateImpl, OpDeleteImpl - better naming of entry and account related variables. - cleanup of NativeAttribute (unused methods / fields) - refactoring UpdateNISUserCommand: sudoStart should be before the try/finally block. If something goes wrong in sudoStart, the program should stop immediately, and should not try to do sudoReset (that lies in the finally block). - united calls of getOwner script across all the NIS operations (AbstractNISOp#initGetOwner() is the central hub for all). - both Create/UpdateNISGroupCommand use the same logic for processing some output, so created a common method for them: AbstractNISOp#parseNisOutputForErrors(String outputFromCommand). - better naming in UpdateNISUserCommand.java, OpDeleteImpl.java, OpCreateImpl.java - erased unnecessary code from NativeAttribute. - doc update on SolarisConnection (needs review from Andrei TBD) git-svn-id: https://svn.forgerock.org/openicf/trunk@5509 05b3e5af-d696-470f-a577-fd7599f74d3c
26 Nov, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5508 05b3e5af-d696-470f-a577-fd7599f74d3c
25 Nov, 2009
4 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5507 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5506 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…ing interfaces. This is supported just in JDK 1.6 & above.) git-svn-id: https://svn.forgerock.org/openicf/trunk@5505 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…CreateImpl' for dispatching NIS/Native command variations for Account/Group objectclasses. - introduced the pattern for naming operation implementation classes: [OpName][NIS, Native][User, Group]Command.java, for instance: DeleteNativeUserCommand.java - implemented delete for NIS groups ('DeleteNISGroupCommand') - refactor #1: Create and Delete NIS Group commands have some shared code, that was placed in to common ancestors of all NIS commands ('AbstractNISOp'). - javadoc extension: SolarisConnection git-svn-id: https://svn.forgerock.org/openicf/trunk@5504 05b3e5af-d696-470f-a577-fd7599f74d3c
24 Nov, 2009
12 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5503 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5502 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5501 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5500 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…are same code in this library git-svn-id: https://svn.forgerock.org/openicf/trunk@5499 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5498 05b3e5af-d696-470f-a577-fd7599f74d3c
-
+ unit tests TODO add NIS GROUP delete too. git-svn-id: https://svn.forgerock.org/openicf/trunk@5497 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5496 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5495 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5494 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…ass. The underlying implementations were ready earlier: CreateNISGroupCommand, CreateNativeGroupCommand) - added tests (OpCreateImplTest#createGroupTest()) to test creating of a /native/ account. -- TODOs: handle double attempt to create the same group/account with InvalidArgumentException (check the contract) git-svn-id: https://svn.forgerock.org/openicf/trunk@5493 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…en multiple Objectclasses (GROUP, ACCOUNT) are used interchangeably. If there will be some performance problem, one could introduce a cache with a Map git-svn-id: https://svn.forgerock.org/openicf/trunk@5492 05b3e5af-d696-470f-a577-fd7599f74d3c
20 Nov, 2009
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5491 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…rather than log and continue git-svn-id: https://svn.forgerock.org/openicf/trunk@5490 05b3e5af-d696-470f-a577-fd7599f74d3c
18 Nov, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5489 05b3e5af-d696-470f-a577-fd7599f74d3c
16 Nov, 2009
1 commit
-
- implement Group search - align Group and Account search (for both Native and NIS use cases) - implement and test GroupIterator TODO: add javadoc where needed + more unit tests (w.r.t. search for Group in OpSearchImpl --> We have to wait with this, until other group operations are ready too. (CRUD)) git-svn-id: https://svn.forgerock.org/openicf/trunk@5488 05b3e5af-d696-470f-a577-fd7599f74d3c
13 Nov, 2009
11 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5487 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5486 05b3e5af-d696-470f-a577-fd7599f74d3c
-
Renamed Delete operation related classes accoring to the new naming schema: [operationName]&[Native|NIS]&[User|Group]&[Command] git-svn-id: https://svn.forgerock.org/openicf/trunk@5485 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5484 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5483 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5482 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5481 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5480 05b3e5af-d696-470f-a577-fd7599f74d3c
-
Erasing this, as there's no sensible source to know this. GroupId, users are set based on presence of the respective parameters in the attribute list. The created group's name is handled in __NAME__ attribute. ------------ Notes: Results of Investigation on adapter's SaveAs behavior: * Fact: do not perform change of groupId if saveAs==true. This is quite strange in context of what SaveAs really does. It's nothing else just creating a user with given user list, that /happens/ to be identical with some existing group on the resource. Presently we have no information about 'saveAs' state in the connector. And I hardly doubt, there's any real reason to make decision about skipping the groupId change (given by form input from user) based on presence of saveAs operation mode. Followup w/ Rafael... git-svn-id: https://svn.forgerock.org/openicf/trunk@5479 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5478 05b3e5af-d696-470f-a577-fd7599f74d3c
-
… need to finish other objectclasses (GROUP, SHELL) before the contract tests can be run on them too. git-svn-id: https://svn.forgerock.org/openicf/trunk@5477 05b3e5af-d696-470f-a577-fd7599f74d3c
12 Nov, 2009
1 commit
-
…ass. TBD unit tests for native op. git-svn-id: https://svn.forgerock.org/openicf/trunk@5476 05b3e5af-d696-470f-a577-fd7599f74d3c