Commit Graph
7896 Commits
Author SHA1 Message Date
Ruben S. Montero 3a2cbc229b bug #847: This commit includes several changes to the auth mechanism:
1.- Simplified auth methods for UserPool
2.- Added special SERVER_AUTH method for sudo'ing
3.- Added special PUBLIC_AUTH method for only-public interface users
4.- Added special driver name ("default") to authenticate unknown users
2011-10-21 01:17:46 +02:00
Ruben S. Montero 26a6c633a4 bug #847: Added driver option to examples in command help 2011-10-21 01:17:23 +02:00
Ruben S. Montero 60e2301928 bug #847: Fixes tests for session cache 2011-10-21 01:16:56 +02:00
Carlos Martín 86c127320e Bug #847: Perform sha1 for new passwords if the core driver is used 2011-10-20 19:22:42 +02:00
Carlos Martín 303d17b260 Bug #847 - #918: Add password to one.user.chauth method, this way the driver and the auth driver are changed atomically 2011-10-20 18:58:40 +02:00
Carlos Martín 319e170ea5 Bug #847: Add new ACL operation to change the user auth driver. TODO: update Sunstone acl tab 2011-10-20 17:46:33 +02:00
Carlos Martín 30734a57f2 Bug #847 - #929: Add session expiration time in oned.conf 2011-10-20 12:53:36 +02:00
Hector Sanjuan d481b332bb Feature #789: Whitespace cleanup, correct indentation in OZones ruby files
That means, no spaces at the end of lines, no tabs, 4-space indent...
2011-10-20 12:21:26 +02:00
Carlos Martín 0ff522488f Bug #847 - #929: Include authentication session expiration time 2011-10-20 11:55:44 +02:00
Ruben S. Montero d690e728d0 bug #867: Postpone qcow2 management to integrate it with quota system 2011-10-20 11:21:38 +02:00
Hector Sanjuan a48ba32dfd Feature #789, Task #905: Fix access to subresources in onezone command.
Capitalization/symbolization of hash keys after previous commits.
2011-10-20 11:19:47 +02:00
Hector Sanjuan 8b7c02b914 Feature #789: Symbolize the keys from resource data hashes.
This means accessing properties of a resource should primarily be done with a symbol name: vdc[:HOSTS] instead of vdc["HOSTS"]. All client code updated accordingly.

In practice, and to easy the task of developers it will still work if Strings are used (.to_sym performed by default).
2011-10-20 10:53:47 +02:00
Ruben S. Montero cee35c0750 Merge branch 'feature-873' 2011-10-19 23:51:39 +02:00
Ruben S. Montero ee76f711fd bug #867: Minor change to du function 2011-10-19 23:04:15 +02:00
Hector Sanjuan de9423c69c Task #905: Capitalize ozones data
All data is now represented with keys in capital letters. Resources attributes must be accessed with capital letters.

Server JSON is directly parsed with symbolize_keys => true.
2011-10-19 18:13:14 +02:00
Jaime Melis dfa237b2ee Bug #867: Image size is not accurate for empty files. 2011-10-19 13:09:34 +02:00
Carlos Martín b8ab225614 Bug #847 - #928: The character ':' is now allowed in passwords 2011-10-18 18:48:31 +02:00
Carlos Martín 92b05d5971 Bug #847: Update the scheduler client, it does not hash the password 2011-10-18 18:01:32 +02:00
Carlos Martín 34359e7a60 Bug #847 - #901: onedb migrator adds USER TEMPLATE & AUTH_DRIVER, IMAGE FSTYPE & PATH. 2011-10-18 12:18:11 +02:00
Daniel Molina 612dc31489 feature #849: Add OCCI PUT compute tests 2011-10-17 18:40:19 +02:00
Daniel Molina f1272b23d8 feature #849: Improve OCCI PUT compute 2011-10-17 18:37:45 +02:00
Carlos Martín e4fbfc96b4 Merge branch 'master' into bug-847 2011-10-17 18:11:25 +02:00
Carlos Martín 75324dab26 onedb: The 3.0 migrator was renamed to 3.0.0 in one-3.0, but not in master. See commit:ac2f9966 2011-10-17 17:31:46 +02:00
Carlos Martín c42364d9d9 Bug #847 - #899: Add user and vnet update methods to Java OCA 2011-10-17 17:20:20 +02:00
Carlos Martín 64bd883283 Bug #847 - #918: Add chauth method in Java OCA 2011-10-17 17:05:02 +02:00
Carlos Martín 6b43690216 Bug #847 - #911: Java OCA client does not hash the password, add new driver parameter for one.user.allocate 2011-10-17 16:54:56 +02:00
Carlos Martín 8d356a5841 Bug #847: Add the auth driver column to oneuser list output 2011-10-17 15:21:13 +02:00
Carlos Martín d2e781cd27 Bug #847 - #918: Add method to change user auth driver in core, ruby oca and CLI 2011-10-17 15:08:00 +02:00
Hector Sanjuan c806c7288d Feature #789: Move ozones api files one level up
zona.rb can be found directly in ozones lib/ dir. Install script updated accordingly.
2011-10-17 01:45:00 +02:00
Hector Sanjuan 5ab4becd3f Task #904: Document new oZones API
Added comments to all "module zona" files. Comments can be processed with YARD to produce nice documentation.
2011-10-17 01:36:42 +02:00
Hector Sanjuan 241ea1265a Add missing license header to onevdc 2011-10-16 18:58:25 +02:00
Ruben S. Montero 30a9162f5e Merge branch 'master' into bug-847
Conflicts:
	src/um/UserPool.cc
2011-10-15 00:22:52 +02:00
Ruben S. Montero 1122f2f2d3 Merge branch 'master' of git.opennebula.org:one 2011-10-15 00:07:32 +02:00
Ruben S. Montero cd4c5d5dcb bug #866: Removed unneeded check after starting the server 2011-10-15 00:06:51 +02:00
Ruben S. Montero e2f2c25ee3 bug #847 - #913: Fixes Network tests and some core bugs 2011-10-14 17:15:20 +02:00
Carlos Martín a61cd0bb0a Bug #871: Avoid locked tables in onedb upgrade. Thanks to jan horacek <jahor@jhr.cz> 2011-10-14 16:51:29 +02:00
Carlos Martín 9ed5b738a4 Bug #848: Take into account bug #871, avoid table lock 2011-10-14 16:49:13 +02:00
Daniel Molina faa3a8b8c6 feature #801: Add onequota unset 2011-10-14 16:47:56 +02:00
Daniel Molina 1040d34766 feature #873: Add OCCI GET /user tests 2011-10-14 15:54:01 +02:00
Daniel Molina 409b565dc8 feature #873: Add UserOCCI and UserPoolOCCI classes 2011-10-14 15:53:32 +02:00
Daniel Molina 5911824045 feature #873: Add quota information to OCCI 2011-10-14 15:52:54 +02:00
Daniel Molina 20a0a78184 feature #873: Add mapping for errno to HTTP codes 2011-10-14 15:51:52 +02:00
Daniel Molina bb6ee69f29 feature #873: Add errno value to the OpenNebula Error class 2011-10-14 15:50:54 +02:00
Carlos Martín 057e20531c Bug #848: Fix tests 2011-10-14 15:37:10 +02:00
Carlos Martín ba8399c9f5 Bug #848: Add 3.1.0 migrator, it will truncate existing names with more than 128 chars. 2011-10-14 15:13:56 +02:00
Ruben S. Montero 5407e58967 bug #847 - #913: Fixes Images Unit Tests. 2011-10-14 13:16:49 +02:00
Ruben S. Montero 7052b887ee bug #847 - #913: Fixes unit tests for User 2011-10-13 23:50:40 +02:00
Hector Sanjuan d28dd0b445 Task #908: Integrate OzonesClient in zona.rb api.
This commit deletes OzonesClient.rb. All functionality has been merged to zona.rb and OzonesJSON.rb.

All dependent files have been accordingly updated. Cli operations have been manually tested. API operations have not been tested yet.
2011-10-13 20:12:03 +02:00
Ruben S. Montero 07c8236945 bug #847 - #913: Fixes AuthManager tests 2011-10-13 18:55:04 +02:00
Ruben S. Montero 5412c6fec2 feature #789: Fixes parser for NAME attributes 2011-10-13 17:09:13 +02:00