removing unused method

This commit is contained in:
srasmusson
2016-06-17 16:22:19 +02:00
parent 66ce9b33c2
commit f244c2a819
2 changed files with 1 additions and 13 deletions

View File

@@ -85,16 +85,4 @@ public class OpenSAMLUtils {
}
}
public static Envelope wrapInSOAPEnvelope(final XMLObject xmlObject) throws IllegalAccessException {
Envelope envelope = OpenSAMLUtils.buildSAMLObject(Envelope.class);
Body body = OpenSAMLUtils.buildSAMLObject(Body.class);
body.getUnknownXMLObjects().add(xmlObject);
envelope.setBody(body);
return envelope;
}
}

View File

@@ -169,7 +169,6 @@ public class ConsumerServlet extends HttpServlet {
SAMLSignatureProfileValidator profileValidator = new SAMLSignatureProfileValidator();
profileValidator.validate(assertion.getSignature());
SignatureValidator.validate(assertion.getSignature(), IDPCredentials.getCredential());
logger.info("SAML Assertion signature verified");
@@ -179,6 +178,7 @@ public class ConsumerServlet extends HttpServlet {
}
private void setAuthenticatedSession(HttpServletRequest req) {
req.getSession().setAttribute(SPConstants.AUTHENTICATED_SESSION_ATTRIBUTE, true);
}