24 Nov, 2009
4 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5503 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
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
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
05 Nov, 2009
1 commit
-
-- org.identityconnectors.contract.test.SearchApiOpTests.testCaseInsensitiveSearch() * config.groovy -- org.identityconnectors.contract.test.DeleteApiOpTests.testDeleteThrowUnknownUid() * OpDeleteImpl.java git-svn-id: https://svn.forgerock.org/openicf/trunk@5466 05b3e5af-d696-470f-a577-fd7599f74d3c
04 Nov, 2009
1 commit
-
… of Update. Turning off generation of inactive attribute. git-svn-id: https://svn.forgerock.org/openicf/trunk@5464 05b3e5af-d696-470f-a577-fd7599f74d3c
03 Nov, 2009
3 commits
-
…P__ related stuff in Schema and config.groovy temporarily. git-svn-id: https://svn.forgerock.org/openicf/trunk@5458 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…read as much users as it can (best effor). git-svn-id: https://svn.forgerock.org/openicf/trunk@5450 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…ry to read as much users as it can (best effor). git-svn-id: https://svn.forgerock.org/openicf/trunk@5449 05b3e5af-d696-470f-a577-fd7599f74d3c
30 Oct, 2009
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5444 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5443 05b3e5af-d696-470f-a577-fd7599f74d3c
27 Oct, 2009
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5426 05b3e5af-d696-470f-a577-fd7599f74d3c
-
…rio, when the connection (upon invalid auth) would be left in an unusable state. git-svn-id: https://svn.forgerock.org/openicf/trunk@5424 05b3e5af-d696-470f-a577-fd7599f74d3c
20 Oct, 2009
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5409 05b3e5af-d696-470f-a577-fd7599f74d3c
-
- concept of accepts, rejects, and command. - changed all operations to use the new convention - eliminated direct call of expect4j, which can be dangerous (order of matchers matters!) -- "That's one small step for a man, a giant leap for mankind" (Armstrong) git-svn-id: https://svn.forgerock.org/openicf/trunk@5406 05b3e5af-d696-470f-a577-fd7599f74d3c
15 Oct, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5395 05b3e5af-d696-470f-a577-fd7599f74d3c
12 Oct, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5375 05b3e5af-d696-470f-a577-fd7599f74d3c
06 Oct, 2009
1 commit
-
… born: SolarisConnection. git-svn-id: https://svn.forgerock.org/openicf/trunk@5358 05b3e5af-d696-470f-a577-fd7599f74d3c
02 Oct, 2009
1 commit
-
… compared to Solaris 10 and earlier). git-svn-id: https://svn.forgerock.org/openicf/trunk@5340 05b3e5af-d696-470f-a577-fd7599f74d3c
30 Sep, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5337 05b3e5af-d696-470f-a577-fd7599f74d3c
25 Sep, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5327 05b3e5af-d696-470f-a577-fd7599f74d3c
24 Sep, 2009
3 commits
-
- added UpdateCommand, that handles all the update procedure. - made all the *Command static, as they preserve no state. - Simplified OpUpdateImpl - added PASSWD to NativeAttribute and to AccountAttribute. - Reorganized the triangle of classes: CommandSwitches, CreateCommand, UpdateCommand. (now all of them are static, create and update override the default mapping of command line switches given by CommandSwitches). git-svn-id: https://svn.forgerock.org/openicf/trunk@5311 05b3e5af-d696-470f-a577-fd7599f74d3c
-
* merged CommandUtil's functions to SolarisUtil * fixed SolarisConfiguration#makeDir getters/setters git-svn-id: https://svn.forgerock.org/openicf/trunk@5305 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5304 05b3e5af-d696-470f-a577-fd7599f74d3c
23 Sep, 2009
1 commit
-
- simplified OpCreateImpl - added CommandSwitches map class which provides switches for Update, Create and Passwd Commands. - TODO decouple Create from getting the MutexAcquirescript from Update. - added a few new attributes used by create in SolarisConfiguration TODOS - OpUpdateImpl: TODO refactor it according to OpCreateImpl to a new form, see FIXME note. - CommandUtil: too little to be standalone, thing of some merge. git-svn-id: https://svn.forgerock.org/openicf/trunk@5299 05b3e5af-d696-470f-a577-fd7599f74d3c
22 Sep, 2009
2 commits
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5273 05b3e5af-d696-470f-a577-fd7599f74d3c
-
[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
17 Sep, 2009
2 commits
-
. Search op unit tests are enabled. *M* made SolarisEntries's methods static (no state involved) *M* UniversalNode -- filter that accepts all entries * OpSearchImpl now is completely initialized through constructor (evaluate() method has no args). Reason: it has to preserve the state throughout search; disputable. *M* Account/GroupAttribute doesn't need a fromNative() method. It is never used. (erasing unit tests for this method too). git-svn-id: https://svn.forgerock.org/openicf/trunk@5236 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5234 05b3e5af-d696-470f-a577-fd7599f74d3c
16 Sep, 2009
4 commits
-
- AbstractOp has a constructor argument Class that enables to create per operation logging. - Eliminated SearchHelper (merged into LoginsCommand) - Eliminated duplicity between AccountUtil and AccountIterator. AccountUtil#getAccount() now works with a simple iteration over single list of 'SolarisEntry'-s. git-svn-id: https://svn.forgerock.org/openicf/trunk@5225 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5215 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5212 05b3e5af-d696-470f-a577-fd7599f74d3c
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5211 05b3e5af-d696-470f-a577-fd7599f74d3c
15 Sep, 2009
1 commit
-
- erasing SearchPerformer (legacy low performance class) - temporarily OpSearchImpl is commented, as impl. TODO - rewritten Node + FilterTranslator structure; every Node sits in node package now (mv). -> new method on Node-s: boolean evaluate(SolarisEntry entry) -- TODO impl this. git-svn-id: https://svn.forgerock.org/openicf/trunk@5204 05b3e5af-d696-470f-a577-fd7599f74d3c
14 Sep, 2009
1 commit
-
- 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
11 Sep, 2009
1 commit
-
git-svn-id: https://svn.forgerock.org/openicf/trunk@5189 05b3e5af-d696-470f-a577-fd7599f74d3c