public boolean defaultToPOSTProfile();
/**
- * A boolean indication of whether assertions issued to this Relying Party should be digitall signed (This is in
+ * A boolean indication of whether assertions issued to this Relying Party should be digitally signed (This is in
* addition to profile-specific signing).
*/
public boolean wantsAssertionsSigned();
/**
+ * A boolean indication of whether attributes sent with an authentication response should be included in the same
+ * assertion or left in a second assertion for compatibility with broken SAML products.
+ */
+ public boolean singleAssertion();
+
+ /**
* Returns the type of SAML Artifact that this appropriate for use with this Relying Party.
*/
public int getPreferredArtifactType();
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;
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;
<xs:attribute name="forceAttributePush" type="xs:boolean" use="optional"/>
<xs:attribute name="signAssertions" type="xs:boolean" use="optional"/>
<xs:attribute name="forceAttributeNoPush" type="xs:boolean" use="optional"/>
+ <xs:attribute name="singleAssertion" type="xs:boolean" use="optional"/>
<xs:attribute name="defaultToPOSTProfile" type="xs:boolean" use="optional"/>
<xs:attribute name="schemaHack" type="xs:boolean" use="optional"/>
<xs:attribute name="defaultAuthMethod" type="xs:string" use="optional"/>