/** Profile request message. */
private SubjectQuery message;
+ /** Provider id to retrieve relying party configuration. */
+ private String providerId;
+
/** Issue instant for the response. */
private DateTime issueInstant;
public ProfileResponseContext(ProfileRequest r, SubjectQuery m) {
request = r;
message = m;
+ providerId = m.getIssuer().getSPProvidedID();
issueInstant = new DateTime();
}
}
/**
+ * Gets the provider id.
+ *
+ * @return provider id
+ */
+ public String getProviderId() {
+ return providerId;
+ }
+
+ /**
* Gets the issue instant for the response.
*
* @return issue instant