public class AAFListedCertIdentity implements CertIdentity {
//TODO should 8 hours be configurable?
- private static final long EIGHT_HOURS = 1000*60*60*8;
+ private static final long EIGHT_HOURS = 1000*60*60*8L;
private static Map<ByteArrayHolder,String> certs = null;
byte[] fingerprint = X509Taf.getFingerPrint(certBytes);
String id = certs.get(new ByteArrayHolder(fingerprint));
if(id!=null) { // Caller is Validated
- return new X509Principal(id,cert,certBytes);
+ return new X509Principal(id,cert,certBytes,null);
}
return null;
}