cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/saml-production-grade to 2a17755
Date Thu, 04 Jun 2015 17:23:22 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/saml-production-grade 6dfed2588 -> 2a177554e


CLOUDSTACK-8462: Add new User Source

By reusing the source field, we can find if a user has been SAML enabled or not.
The limitation is that, once say a user is imported by LDAP and then SAML
enabled - they won't be able to use LDAP for authentication

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2a177554
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2a177554
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2a177554

Branch: refs/heads/saml-production-grade
Commit: 2a177554e8d674a6e5377a8879a3bd3857ad7e8f
Parents: 6dfed25
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Thu Jun 4 19:20:09 2015 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Jun 4 19:20:09 2015 +0200

----------------------------------------------------------------------
 api/src/com/cloud/user/User.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2a177554/api/src/com/cloud/user/User.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/user/User.java b/api/src/com/cloud/user/User.java
index 33d6235..c9d91d7 100644
--- a/api/src/com/cloud/user/User.java
+++ b/api/src/com/cloud/user/User.java
@@ -23,7 +23,7 @@ import org.apache.cloudstack.api.InternalIdentity;
 public interface User extends OwnedBy, InternalIdentity {
 
     public enum Source {
-        LDAP, UNKNOWN
+        LDAP, SAML2, UNKNOWN
     }
 
     public static final long UID_SYSTEM = 1;


Mime
View raw message