removing unused method
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user