mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user