try {
Element validateTargetElement = (Element)validateTarget.getToken();
AssertionWrapper assertion = new AssertionWrapper(validateTargetElement);
SAMLTokenPrincipal samlPrincipal = new SAMLTokenPrincipal(assertion);
response.setPrincipal(samlPrincipal);
SecurityToken secToken = null;
byte[] signatureValue = assertion.getSignatureValue();
if (tokenParameters.getTokenStore() != null && signatureValue != null