Commit Graph
54 Commits
Author SHA1 Message Date
Jaime Melis 46725391be Fix token for OneGate (size must be 32) 2017-06-18 07:03:44 -04:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
juanmont 50410be943 F #4839 Added a new login error when oned is not running 2016-11-15 17:52:25 +01:00
Carlos Martín 1a1d056d6c Bug #4343: Remove default encoding, perform only as fallback 2016-08-25 15:57:23 +02:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Tomáš Kukrál 53b0e1807f fix parsing of Authorization header
Econe server fails with <NoMethodError: undefined method `split' for nil:NilClass>
when using some clients (ec2 Ansible modules for example). The problem
lies in parsing Authentication header format.

Euca sends:
Credential=tom/20160425/undefined-19606/ec2/aws4_request, SignedHeaders=accept;accept-encoding;connection;content-length;content-type;host;x-amz-content-sha256;x-amz-date, Signature=fsomehash8cda2

Ansible EC2 module sends:
Credential=tom/20160425/servers/one/aws4_request,SignedHeaders=host;x-amz-date,Signature=6b2ccdsomehash39f2fc555

Previous implementation fails when fields are separated with ","
(without space). Documentation [1] for AWS API says "are separated by a
comma" so there should be just comma, but I'd prefer to maintain
compatibility with euca and convert headers (remove spaces after comma).

[1] http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html
2016-04-26 20:08:03 +02:00
Daniel Molina 67155222d9 feature #4165: Generate body digest if X-Amz-Content-Sha256 header not provided 2015-11-20 10:43:34 +01:00
Ruben S. Montero cd4804ce6c feature #4111: Fix bug in method name 2015-11-19 23:26:16 +01:00
Ruben S. Montero 7c44af97dd feature #4111: Generic user check methos for Auth classes. Moved x509
and Remote to new method. Now RemoteCloudAuth works for users with
driver public.

(cherry picked from commit dc399e0a44)
2015-11-19 22:46:58 +01:00
Daniel Molina b69831fbd6 feature #4165: Add signature v4 support to econe 2015-11-19 18:29:42 +01:00
lsimngar dee123caf1 Remove opennebula/x509_auth dep
(cherry picked from commit f13e5ad127)
2015-11-18 11:58:19 +01:00
lsimngar eff0e0d68e Include new Kerberos remote auth
(cherry picked from commit 0b94f2fc41)
2015-11-18 11:58:05 +01:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Jaime Melis 8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Ruben S. Montero b4f84e77a0 bug #3351: Fix wrong method call. Thanks to Sebastiaan Smit 2014-11-13 23:24:34 +01:00
Hyun Woo Kim 32b8d4262e Add support for proxy certificates to X509 Cloud Auth 2014-10-28 15:29:45 +01:00
Daniel Molina 84224ee5c5 Feature #3051: Add params[:id] to the authentication 2014-07-23 11:27:20 +02:00
Jaime Melis 4d2546496a Feature #2917: Authenticate using X_ONEGATE_VMID 2014-07-15 19:34:56 +02:00
Javi Fontan a04a2c379e feauture #3041: take out occi from main repo 2014-07-14 22:37:11 +02:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Javi Fontan 8b71eb6a29 feature #2500: option to encode credentials in sunstone 2013-11-27 13:14:34 +01:00
Daniel Molina 0505a30438 bug #2334: Use one_xmlrpc conf parameter in OpenNebulaCloudAuth 2013-11-04 13:21:53 +01:00
Ruben S. Montero 95ea9ecfde feature #2054: Free encoded string in aes encryption. Move token path to history. Minor changes 2013-07-05 01:31:30 +02:00
Daniel Molina 5c2423ab80 feature #2054: Improve error messages 2013-06-27 16:06:39 +02:00
Daniel Molina 33d56c4552 feature #2054: Use vm owner instead of created_by 2013-06-27 12:06:57 +02:00
Daniel Molina 85dc5f5042 feature #2054: Add new OneGate cloud auth 2013-06-27 11:34:54 +02:00
Daniel Molina 7e22885efe bug #1917: Remove conf parameter and use @conf instead 2013-04-23 16:13:10 +02:00
Ruben S. Montero 02a41ab34d bug #1917: Update user pool cache periodically. Disable the cache for those auth methods that does not need it 2013-04-22 23:47:07 +02:00
Ruben S. Montero c13861500c Merge branch 'feature-1741' 2013-02-25 23:44:31 +01:00
Javi Fontan 02cd738d8f feature #1741: escape dn in X509CloudAuth.rb 2013-02-22 16:59:46 +01:00
Javi Fontan 41e138be10 bug #1777: case for unknown EC2 SignatureVersion
Patch provided by Piotr Sawicki <p.sawicki@task.gda.pl>
(cherry picked from commit 0f6915e0f8)
2013-02-22 16:57:49 +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
Hector Sanjuan 0e8bd80f87 Bug #1274: Fix internal server error when wrong auth with opennebula auth
It was caused by an attempt of logging when no logger had been passed to CloudAuth.

Affected Sunstone only.
(cherry picked from commit 97b62f8857a9064eb534041c09b742779cf79dfd)
2012-09-17 18:30:38 +02:00
Daniel Molina 1efef61128 bug #1142: Check public driver 2012-03-21 18:38:49 +01:00
Daniel Molina cbc622f8b5 bug #1142: Check user driver in CloudAuth 2012-03-21 17:18:15 +01:00
Daniel Molina a8ce2e91e7 feature-967: Add OpenNebulaCloudAuth 2012-03-21 16:12:55 +01:00
Daniel Molina be3d1fedf9 feature #985: Add path support for EC2 signature 2012-01-19 12:36:41 +01:00
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Daniel Molina 487ec888b5 Delete delta_token_expiration parameter from Cloud conf files 2011-12-02 18:33:11 +01:00
Daniel Molina f9f20fc9a9 bug #847: Fix EC2 signature version 1 2011-10-28 16:00:41 +02:00
Daniel Molina d80d81280d bug #847: Refactor X509CloudAuth 2011-10-28 13:14:47 +02:00
Daniel Molina c27b3ad024 bug #847: Update server_x509_auth to the new token system 2011-10-26 23:42:31 +02:00
Ruben S. Montero 898750a790 bug #847: Adds option to filter public users in CloudAuth. Fixes paths for auth's files 2011-10-25 22:10:50 +02:00
Ruben S. Montero 198c60b6a4 bug #847: Update EC2Query for the new auth framework 2011-10-25 16:36:21 +02:00
Ruben S. Montero bb4911a50c bug #847: OCCI Server update to new Auth framework 2011-10-25 15:41:27 +02:00
Ruben S. Montero 4f8a1c2f9d bug #847: Added Sunstone Authorization. Updated server classes 2011-10-25 14:44:43 +02:00
Ruben S. Montero e573289f07 bug #847: Renamed server to server_x509, also ServerAuth is now ServerX509Auth to be coherent with the new server classes. Condifuration file also changed to server_x509_auth.conf 2011-10-24 17:24:42 +02:00
Daniel Molina ef302dcbb5 feature #931: Update CloudAuth classes to use new server drivers 2011-10-21 18:37:41 +02:00
Ruben S. Montero fcb352d09d bug #847: Tokens are never sha1_digested. Core authentication mechanism stores the passwords digested, client sends plain passwords. Includes OCA (Ruby), CloudAuth and CLI updates. Ozones needs redesign its password storafe strategy. 2011-10-12 00:27:03 +02:00