LOG.fine("Found KeyType: " + keyType);
keyRequirements.setKeyType(keyType);
} else if (tokenRequirements.getClaims() == null
&& "Claims".equals(localName) && STSConstants.WST_NS_05_12.equals(namespace)) {
LOG.fine("Found Claims element");
<BUG>RequestClaimCollection requestedClaims = parseClaims(child);
</BUG>
tokenRequirements.setClaims(requestedClaims);
} else {
LOG.fine("Found unknown element: " + localName + " " + namespace);

LOG.fine("Found KeyType: " + keyType);
keyRequirements.setKeyType(keyType);
} else if (tokenRequirements.getClaims() == null
&& "Claims".equals(localName) && STSConstants.WST_NS_05_12.equals(namespace)) {
LOG.fine("Found Claims element");
RequestClaimCollection requestedClaims = parseClaims(child, claimsParsers);
tokenRequirements.setClaims(requestedClaims);
} else {
LOG.fine("Found unknown element: " + localName + " " + namespace);
