cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [10/10] git commit: updated refs/heads/master to d46e459
Date Fri, 12 Sep 2014 15:16:44 GMT
SAMLUtils: put name id policy on authnrequest

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/d46e4599
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d46e4599
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d46e4599

Branch: refs/heads/master
Commit: d46e45991de29919e03f5f60250d4e9c4d7d06b0
Parents: fecc6b6
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Fri Sep 12 17:11:06 2014 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Fri Sep 12 17:11:06 2014 +0200

----------------------------------------------------------------------
 utils/src/org/apache/cloudstack/utils/auth/SAMLUtils.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d46e4599/utils/src/org/apache/cloudstack/utils/auth/SAMLUtils.java
----------------------------------------------------------------------
diff --git a/utils/src/org/apache/cloudstack/utils/auth/SAMLUtils.java b/utils/src/org/apache/cloudstack/utils/auth/SAMLUtils.java
index e2c77b9..b08fa24 100644
--- a/utils/src/org/apache/cloudstack/utils/auth/SAMLUtils.java
+++ b/utils/src/org/apache/cloudstack/utils/auth/SAMLUtils.java
@@ -154,8 +154,8 @@ public class SAMLUtils {
         authnRequest.setIssueInstant(new DateTime());
         authnRequest.setProtocolBinding(SAMLConstants.SAML2_REDIRECT_BINDING_URI);
         authnRequest.setAssertionConsumerServiceURL(consumerUrl);
-        //authnRequest.setProviderName(spId);
-        //authnRequest.setNameIDPolicy(nameIdPolicy);
+        authnRequest.setProviderName(spId);
+        authnRequest.setNameIDPolicy(nameIdPolicy);
         //authnRequest.setRequestedAuthnContext(requestedAuthnContext);
 
         return authnRequest;


Mime
View raw message