Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Bill Burke 2014-07-25 10:41:06 -04:00
commit c63467c79f

View file

@ -146,6 +146,9 @@ public class ApplicationManager {
if (!applicationModel.isBearerOnly() && !applicationModel.isPublicClient()) {
buffer.append(" <credential name=\"secret\">").append(cred).append("</credential>\n");
}
if (applicationModel.getRoles().size() > 0) {
buffer.append(" <use-resource-role-mappings>true</use-resource-role-mappings>\n");
}
buffer.append("</secure-deployment>\n");
return buffer.toString();
}