if(context instanceof JAXBFilterProcessingContext){
JAXBFilterProcessingContext opContext = (JAXBFilterProcessingContext)context;
((NamespaceContextEx)opContext.getNamespaceContext()).addWSSNS();
TokenBuilder x509TokenBuilder = new X509TokenBuilder(opContext, policyClone);
x509TokenBuilder.process();
} else{
SecurableSoapMessage secureMessage = context.getSecurableSoapMessage();
String wsuId = policy.getUUID();
if (wsuId == null){
wsuId = secureMessage.generateId();