try again
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 11 Jul 2007 13:22:31 +0000 (13:22 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 11 Jul 2007 13:22:31 +0000 (13:22 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2307 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/profile/saml2/AbstractSAML2ProfileHandler.java

index 5eff534..13efdf0 100644 (file)
@@ -565,8 +565,8 @@ public abstract class AbstractSAML2ProfileHandler extends AbstractSAMLProfileHan
         // TODO handle encryption
 
         SubjectConfirmationData confirmationData = subjectConfirmationDataBuilder.buildObject();
-        ServletRequest httpRequest = requestContext.getProfileRequest().getRawRequest();
-        confirmationData.setAddress(httpRequest.getRemoteAddr());
+        ProfileRequest<ServletRequest> profileRequest = requestContext.getProfileRequest();
+        confirmationData.setAddress(profileRequest.getRawRequest().getRemoteAddr());
         confirmationData.setInResponseTo(requestContext.getSamlRequest().getID());
         confirmationData.setNotOnOrAfter(issueInstant.plus(requestContext.getProfileConfiguration()
                 .getAssertionLifetime()));