|
From: Jon B. <jon...@ac...> - 2003-08-28 08:35:10
|
Dear All, I've started work on the SCEP stuff and found one NPE which I've fixed & checked back in. I've also added some error conditions for the failinfo in response messages. I've got some questions on the actual structure of the code I've been working with. So far I've only changed se.anatom.ejbca.ca.sign.RSASignSessionBean and se.anatom.ejbca.protocol.IResponseMessage. However, I'm planning on changing the possible constant values in IResponseMessage to enumerated types. The thing that puzzles me the most is the responseClass parameter to RSASignSessionBean.createCertificate(). This is passed in and then an instance is created and passed back as the return value. Could this be changed to a factory of some sort, or even an attribute in the deployment descriptor ? Apologies if the question is dumb as I'm not too familier with EJB development. Regards, Jon. |