Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
c63467c79f
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ public class ApplicationManager {
|
||||||
if (!applicationModel.isBearerOnly() && !applicationModel.isPublicClient()) {
|
if (!applicationModel.isBearerOnly() && !applicationModel.isPublicClient()) {
|
||||||
buffer.append(" <credential name=\"secret\">").append(cred).append("</credential>\n");
|
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");
|
buffer.append("</secure-deployment>\n");
|
||||||
return buffer.toString();
|
return buffer.toString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue