11 Dec, 2009
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5545 05b3e5af-d696-470f-a577-fd7599f74d3c
-
- configuration names, types - refactoring: getNisPwdDir(), isDefaultNisPwdDir() - introducing concept of rootUser vs. loginUser (TBD: alters to SolarisConnection) git-svn-id: https://svn.forgerock.org/openicf/trunk@5544 05b3e5af-d696-470f-a577-fd7599f74d3c
10 Dec, 2009
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5543 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5542 05b3e5af-d696-470f-a577-fd7599f74d3c
05 Dec, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5536 05b3e5af-d696-470f-a577-fd7599f74d3c
04 Dec, 2009
2 commits
-
…uld be configured now. git-svn-id: https://svn.forgerock.org/openicf/trunk@5535 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…ses are involved in the tests now. git-svn-id: https://svn.forgerock.org/openicf/trunk@5534 05b3e5af-d696-470f-a577-fd7599f74d3c
01 Dec, 2009
4 commits
-
…. (followup on revs: 5512, 5517) git-svn-id: https://svn.forgerock.org/openicf/trunk@5520 05b3e5af-d696-470f-a577-fd7599f74d3c
-
… 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
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5512 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
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
7 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@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@5495 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
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
6 commits
-
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@5482 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5481 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
-
… 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
10 Nov, 2009
3 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5475 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5474 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5473 05b3e5af-d696-470f-a577-fd7599f74d3c
09 Nov, 2009
3 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5472 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…to satisfy connapter. git-svn-id: https://svn.forgerock.org/openicf/trunk@5471 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…ls on the given resource. -- Literature on generation of /etc/shell files: http://docs.sun.com/app/docs/doc/817-1717/6mhe95f7e?l=en&a=view&q=%2Fetc%2Fshells git-svn-id: https://svn.forgerock.org/openicf/trunk@5470 05b3e5af-d696-470f-a577-fd7599f74d3c
06 Nov, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5469 05b3e5af-d696-470f-a577-fd7599f74d3c