Fix compile time generics error
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 18 Jun 2007 23:33:47 +0000 (23:33 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 18 Jun 2007 23:33:47 +0000 (23:33 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2251 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/profile/saml1/AttributeQueryProfileHandler.java
src/edu/internet2/middleware/shibboleth/idp/profile/saml1/ShibbolethSSOProfileHandler.java
src/edu/internet2/middleware/shibboleth/idp/profile/saml2/AttributeQueryProfileHandler.java
src/edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java

index e97027c..71922f3 100644 (file)
@@ -95,7 +95,8 @@ public class AttributeQueryProfileHandler extends AbstractSAML1ProfileHandler {
         }
         super.populateMessageDecoder(decoder);
 
         }
         super.populateMessageDecoder(decoder);
 
-        decoder.setRequest(requestContext.getProfileRequest().getRawRequest());
+        ProfileRequest<ServletRequest> profileRequest = requestContext.getProfileRequest();
+        decoder.setRequest(profileRequest.getRawRequest());
         requestContext.setMessageDecoder(decoder);
 
         try {
         requestContext.setMessageDecoder(decoder);
 
         try {
@@ -167,7 +168,8 @@ public class AttributeQueryProfileHandler extends AbstractSAML1ProfileHandler {
         }
 
         super.populateMessageEncoder(encoder);
         }
 
         super.populateMessageEncoder(encoder);
-        encoder.setResponse(requestContext.getProfileResponse().getRawResponse());
+        ProfileResponse<ServletResponse> profileResponse = requestContext.getProfileResponse();
+        encoder.setResponse(profileResponse.getRawResponse());
         encoder.setSamlMessage(requestContext.getSamlResponse());
         requestContext.setMessageEncoder(encoder);
 
         encoder.setSamlMessage(requestContext.getSamlResponse());
         requestContext.setMessageEncoder(encoder);
 
index 1f1b10f..7cf9e45 100644 (file)
@@ -336,7 +336,8 @@ public class ShibbolethSSOProfileHandler extends AbstractSAML1ProfileHandler {
         }
 
         super.populateMessageEncoder(encoder);
         }
 
         super.populateMessageEncoder(encoder);
-        encoder.setResponse(requestContext.getProfileResponse().getRawResponse());
+        ProfileResponse<ServletResponse> profileResponse = requestContext.getProfileResponse(); 
+        encoder.setResponse(profileResponse.getRawResponse());
         encoder.setSamlMessage(requestContext.getSamlResponse());
         requestContext.setMessageEncoder(encoder);
 
         encoder.setSamlMessage(requestContext.getSamlResponse());
         requestContext.setMessageEncoder(encoder);
 
index 8e85a30..78188f6 100644 (file)
@@ -109,7 +109,8 @@ public class AttributeQueryProfileHandler extends AbstractSAML2ProfileHandler {
         }
         super.populateMessageDecoder(decoder);
 
         }
         super.populateMessageDecoder(decoder);
 
-        decoder.setRequest(requestContext.getProfileRequest().getRawRequest());
+        ProfileRequest<ServletRequest> profileRequest = requestContext.getProfileRequest(); 
+        decoder.setRequest(profileRequest.getRawRequest());
         requestContext.setMessageDecoder(decoder);
 
         try {
         requestContext.setMessageDecoder(decoder);
 
         try {
@@ -180,7 +181,8 @@ public class AttributeQueryProfileHandler extends AbstractSAML2ProfileHandler {
         }
 
         super.populateMessageEncoder(encoder);
         }
 
         super.populateMessageEncoder(encoder);
-        encoder.setResponse(requestContext.getProfileResponse().getRawResponse());
+        ProfileResponse<ServletResponse> profileResponse = requestContext.getProfileResponse();
+        encoder.setResponse(profileResponse.getRawResponse());
         encoder.setSamlMessage(requestContext.getSamlResponse());
         requestContext.setMessageEncoder(encoder);
 
         encoder.setSamlMessage(requestContext.getSamlResponse());
         requestContext.setMessageEncoder(encoder);
 
index 32c0db1..b9a339f 100644 (file)
@@ -460,7 +460,8 @@ public class SSOProfileHandler extends AbstractSAML2ProfileHandler {
         encoder.setRelyingParty(requestContext.getRelyingPartyMetadata());
         encoder.setRelyingPartyEndpoint(relyingPartyEndpoint);
         encoder.setRelyingPartyRole(requestContext.getRelyingPartyRoleMetadata());
         encoder.setRelyingParty(requestContext.getRelyingPartyMetadata());
         encoder.setRelyingPartyEndpoint(relyingPartyEndpoint);
         encoder.setRelyingPartyRole(requestContext.getRelyingPartyRoleMetadata());
-        encoder.setResponse(requestContext.getProfileResponse().getRawResponse());
+        ProfileResponse<ServletResponse> profileResponse = requestContext.getProfileResponse(); 
+        encoder.setResponse(profileResponse.getRawResponse());
         encoder.setSamlMessage(requestContext.getSamlResponse());
         requestContext.setMessageEncoder(encoder);
 
         encoder.setSamlMessage(requestContext.getSamlResponse());
         requestContext.setMessageEncoder(encoder);