mirror of https://github.com/apache/cloudstack.git
SAMLUtils: put name id policy on authnrequest
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
fecc6b6e48
commit
d46e45991d
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue