Ruben S. Montero
0f44677325
feature #2796 : Client side utilities to manage tokens: Ruby OCA, oneuser CLI. Also the token management across drivers (SSH & X509 included) is now homogenous
2014-09-06 22:22:40 +02:00
Ruben S. Montero
91e15fb377
feature #2796 : Add login token to User object, the LoginToken is persistent
2014-09-03 17:15:13 +02:00
Ruben S. Montero
75889814f1
feature #2796 : Add LoginToken class to abstract token management both for sessions and tokens
2014-09-03 14:10:45 +02:00
Ruben S. Montero
88987631d9
feature #2858 : Add umask to Request attributes
2014-05-27 12:58:46 +02:00
Ruben S. Montero
dbe21675fa
System attributes, Group and User quotas are local tables needs to be bootstraped locally
2014-03-08 02:44:53 +01:00
Carlos Martín
2e8dc65fd6
Bug #2503 : Add rollback in case of error
2014-03-04 17:09:04 +01:00
JensHoffmann
0a3ba8aca9
Bug #2503 : Improve setting of password/auth_driver
...
UserChangePassword followed this strategy:
a1. Eventually encrypt user password if the users
auth_driver is CORE_AUTH
a2. Set (probably encrypted) password with
User::set_password
a3. User::set_password tries to validate (probably
encrypted) password instead of the raw password
UserChangeAuth did something similar:
b1. If password is given (not empty) do a1 through a3
b2. Set auth_driver
The change proposes the following:
* In set_password:
1. Validate the raw password
2. Do encryption if needed
* In UserChangePassword: simply call set_password
* In UserChangeAuth: set auth_driver *before* calling
set_password, such that set_password does the right thing
if the auth_driver changes
Note: I needed to move the implementation of set_password
from User.h to User.cc since it seems impossible to access
UserPool::CORE_AUTH from within User.h.
2014-03-04 17:00:11 +01:00
Ruben S. Montero
7686ca93e0
Merge branch 'master' into vdc-federation
...
Conflicts:
include/GroupPool.h
include/UserPool.h
2014-01-23 16:36:22 +01:00
Carlos Martín
0a33f08de1
Feature #2632 : Make two separate methods to update user/group, or its quotas
2014-01-22 18:54:48 +01:00
Ruben S. Montero
cda9fa28e7
feature #2632 : Moved DB implementation to its own class
2014-01-21 23:21:18 +01:00
Carlos Martín
d5d904b114
Feature #2632 : Extract user quotas to another table
2014-01-15 16:27:50 +01:00
Jaime Melis
11520021f7
Bump to version 4.5.0
2014-01-09 11:51:20 +01:00
Javi Fontan
1abee8aafc
Take advantage of delete not acting on null values
...
Nebula.h and User.h
2013-12-10 18:03:03 +01:00
Carlos Martín
7bfb930292
Feature #1742 : Add a set of group IDs to Users
2013-08-23 12:39:14 +02:00
Ruben S. Montero
5dc50875d4
feature #1879 : New function to check object names.
2013-04-10 12:56:06 +02:00
Carlos Martín
9179e73a83
Feature #1611 : Insert default quotas element in the USER & USER_POOL xmls
...
This saves the extra xmlrpc call each time the pool/user is shown
2013-02-28 14:53:34 +01:00
Jaime Melis
7357bffe34
Update copyright notice
2013-01-24 16:18:30 +01:00
Jaime Melis
af61e33f8c
Update year to 2013
2013-01-24 16:03:57 +01:00
Carlos Martín
780d7742f2
Feature #1681 : Read User template's UMASK attribute to create new objects
2013-01-21 14:38:07 +01:00
Ruben S. Montero
819f1b6a41
feature #1288 : Abstract quota functionality to be reused by Groups
2012-06-08 13:45:15 +02:00
Ruben S. Montero
82e3f2e052
feature 1288: Add missing updates after modifying user quotas. XML-RPC method to set user quotas
2012-06-07 00:04:08 +02:00
Ruben S. Montero
5c7dc58c66
feature #1288 : Image Quotas
2012-06-05 23:32:05 +02:00
Ruben S. Montero
4420b1d81b
feature #1288 : New VM and Network quotas. Integration qith VM create operation
2012-06-05 19:04:02 +02:00
Ruben S. Montero
e73c78869b
feature #1288 : Better interface for Quotas
2012-06-04 00:45:56 +02:00
Ruben S. Montero
ce3609c28c
feature #1288 : Better syntax to define DATASTORE quotas
2012-06-02 02:58:46 +02:00
Ruben S. Montero
6819043e4e
feature #1288 : Add rollback to image creation
2012-05-30 12:53:51 +02:00
Ruben S. Montero
552d370593
feature #1288 : Better integration for Quotas with RequestManager
2012-05-30 02:20:16 +02:00
Ruben S. Montero
d6beb1fb06
feature #1288 : Work on Quota interface. Integration with authZ/authN system
2012-05-29 00:36:13 +02:00
Ruben S. Montero
18695f1314
feature #1288 : Image quotas in the user class
2012-05-28 00:13:38 +02:00
Carlos Martín
3c1cf1f1b3
Feature #1112 : Fix oneimage update (broken in commit:92dd8d4c)
2012-03-14 15:48:06 +01:00
Jaime Melis
a2b7cb6bc9
Bump to version 3.2.0
2012-01-12 12:29:18 +01:00
Ruben S. Montero
e6628a1f75
Feature #862 : Re-factor PoolObjectAuth. Moved ObjectType to PoolObjectSQL. simplified interface for AuthManger::add_auth.
2012-01-03 02:58:23 +01:00
Carlos Martín
75d5e7a1fb
Add the Object type to the PoolObjectAuth class
2012-01-02 22:14:43 +01:00
Carlos Martín
f0d8ac78d6
Bug #759 : Check if XML is valid before it is stored in the DB.
2011-12-19 17:09:31 +01:00
Ruben S. Montero
7a44026d66
bug #847 : Get rid of unneeded constructor in AuthRequest
2011-10-21 10:15:26 +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
30734a57f2
Bug #847 - #929 : Add session expiration time in oned.conf
2011-10-20 12:53:36 +02:00
Carlos Martín
0ff522488f
Bug #847 - #929 : Include authentication session expiration time
2011-10-20 11:55:44 +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
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
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
cbf64ecf1b
bug #847 : Auth drivers are set in OpenNebula core. Login tokens do not include the driver, so the hash logic needs update, see #911
2011-10-11 19:15:13 +02:00
Ruben S. Montero
b94dd94f3f
bug #847 : Adds template to Users to store metadata. Added OCA (ruby) methods and command option
2011-10-11 00:20:50 +02:00
Carlos Martín
21bca20780
Bug #848 : Add error message and stop oned execution if bootstrap fails
2011-10-10 06:14:46 -07:00
Carlos Martín
f2a45ed139
Bugs #797 , #485 : Add invalid character checks to user names, add invalid char ':'
2011-09-13 17:54:51 +02:00
Ruben S. Montero
0faf6203fb
bug #797 : OpenNebula core prevents a password with spaces to be used
...
(cherry picked from commit f0410c9e75
)
2011-09-09 18:33:37 +02:00
Ruben S. Montero
66485c6ed7
MULTIPLE GROUPS: Removed initial effort to support multiple user groups for the users. This should be easily recovered to complete this feature in the future
2011-07-07 19:01:04 +02:00
Ruben S. Montero
8e33e4cded
feature #687 : Resources now stores the name of the owner and the group
2011-06-30 11:31:00 +02:00
Ruben S. Montero
60294c229b
feature #407 : Fixes tests for Users. Groups are added in allocate
2011-06-09 12:05:46 +02:00
Ruben S. Montero
954038d426
feature #407 : Users gets the gid of user performing the allocate if not oneadmin. Group are added to users groups in constructor. Groups are updated in user allocate
2011-06-09 00:12:39 +02:00