if (sigParts.size() > 0) {
if (sigToken instanceof KerberosToken) {
krbToken.setParts(sigParts);
try {
krbToken.signMessage();
} catch (WSSecurityException e) {
throw new RampartException("errorInSignatureWithKerberosToken");
}
this.setInsertionLocation(RampartUtil.insertSiblingAfter(rmd,
this.getInsertionLocation(), krbToken.getSignatureElement()));