public AddCapabilityTokenResponseDocument addCapabilityToken(AddCapabilityTokenDocument input)
throws XregistryException {
log.info("Request Received " + input.xmlText());
AddCapabilityToken captoken = input.getAddCapabilityToken();
Timestamp notBefore = new Timestamp(captoken.xgetNotbefore().getDateValue().getTime());
Timestamp notAfter = new Timestamp(captoken.xgetNotafter().getDateValue().getTime());
registryImpl.addCapability(findUserDN(), captoken.getResourceID(), captoken.getActor(),
captoken.getActorType(), captoken.getAction(), captoken.getAssertions(), notBefore,
notAfter);