[java-identity-provider COMMIT] /trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicali...
noreply at shibboleth.net
noreply at shibboleth.net
Wed Jan 15 11:01:51 EST 2014
Author: rdw
Date: Wed Jan 15 11:01:50 2014
New Revision: 5201
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5201&view=rev
Log:
IDP-359 Add Requester/Responder (SP/IdP) EntityIds to C14N Context
Modified:
trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicalizationContext.java
Modified: trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicalizationContext.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicalizationContext.java?rev=5201&r1=5200&r2=5201&view=diff
==============================================================================
--- trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicalizationContext.java (original)
+++ trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/context/SubjectCanonicalizationContext.java Wed Jan 15 11:01:50 2014
@@ -38,6 +38,12 @@
/** Canonical principal name of subject. */
@Nullable private String principalName;
+
+ /** SP Entity ID.*/
+ private String requesterEntityID;
+
+ /** IdP Entity ID.*/
+ private String responderEntityID;
/** Exception raised by a failed canonicalization. */
@Nullable private Exception canonicalizationError;
@@ -96,4 +102,36 @@
public void setException(@Nonnull final Exception e) {
canonicalizationError = Constraint.isNotNull(e, "Exception cannot be null");
}
+
+ /**
+ * Get the entityID of the SP.
+ * @return Returns the requesterEntityID.
+ */
+ @Nullable public String getRequesterEntityID() {
+ return requesterEntityID;
+ }
+
+ /**
+ * Set the entityID of the SP.
+ * @param spID The requesterEntityID to set.
+ */
+ public void setRequesterEntityID(@Nullable String spID) {
+ requesterEntityID = spID;
+ }
+
+ /**
+ * Get the entityID of the IdP.
+ * @return Returns the responderEntityID.
+ */
+ @Nullable public String getResponderEntityID() {
+ return responderEntityID;
+ }
+
+ /**
+ * Set the entityID of the IdP.
+ * @param idpID The responderEntityID to set.
+ */
+ public void setResponderEntityID(@Nullable String idpID) {
+ responderEntityID = idpID;
+ }
}
More information about the commits
mailing list