Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

https://issues.jboss.org/browse/PLFED-321

  • Loading branch information...
commit d33a2b5f5877bd0eaa5b559f783a87e4928e956d 1 parent c08cee3
@pedroigor pedroigor authored
View
2  ...ava/org/picketlink/identity/federation/web/handlers/saml2/SAML2AuthenticationHandler.java
@@ -273,7 +273,7 @@ public Document getResponse(SAML2HandlerRequest request) throws ConfigurationExc
assertion.addStatement(authnStatement);
}
- if (handlerConfig.getParameter(DISABLE_SENDING_ROLES) == null) {
+ if (handlerConfig.getParameter(DISABLE_SENDING_ROLES) == null && (roles != null && !roles.isEmpty())) {
AttributeStatementType attrStatement = StatementUtil.createAttributeStatement(roles);
assertion.addStatement(attrStatement);
}
Please sign in to comment.
Something went wrong with that request. Please try again.