private boolean passThruIsOverriden = false;
private boolean forceAttributePush = false;
private boolean forceAttributeNoPush = false;
+ private boolean singleAssertion = false;
private boolean defaultToPOST = true;
private boolean wantsAssertionsSigned = false;
private int preferredArtifactType = 1;
log.debug("Relying party defaults to Artifact profile.");
}
+ attribute = ((Element) partyConfig).getAttribute("singleAssertion");
+ if (attribute != null && !attribute.equals("")) {
+ singleAssertion = Boolean.valueOf(attribute).booleanValue();
+ }
+ if (singleAssertion) {
+ log.debug("Relying party defaults to a single assertion when pushing attributes.");
+ } else {
+ log.debug("Relying party defaults to multiple assertions when pushing attributes.");
+ }
+
// Relying Party wants assertions signed?
attribute = ((Element) partyConfig).getAttribute("signAssertions");
if (attribute != null && !attribute.equals("")) {
return forceAttributeNoPush;
}
+ public boolean singleAssertion() {
+ return singleAssertion;
+ }
+
public boolean defaultToPOSTProfile() {
return defaultToPOST;
return credential;
}
}
-
}
/**
return wrapped.forceAttributeNoPush();
}
+ public boolean singleAssertion() {
+
+ return wrapped.singleAssertion();
+ }
+
public boolean defaultToPOSTProfile() {
return wrapped.defaultToPOSTProfile();
return false;
}
+ public boolean singleAssertion() {
+
+ return false;
+ }
+
public boolean defaultToPOSTProfile() {
return true;