|
From: Tomas G. <to...@pr...> - 2003-05-12 13:36:37
|
Robert Klerer wrote: > I'm playing with ejb-2.0 > > I'm trying to change the certificate validity period for a new End User > certificate. Changing setValidity(730); to setValidity(7300); in > EndUserCertificateProfile then rebuilding, redeploying and restarting does > not seem to have any effect. The default profile is stored in the database when starting the server for the first time. It is better to change validity throught the Web-GUI. Or better yet, create a new profile, which is the intended way. But if you really want to change the default you should stop JBoss, delete the contents of the database table 'CertificateProfileData' and restart JBoss again. Or you must change the 'upgrade' function of the certificate profile class to update the profile with the new value. This might conflict with future upgrades of the default profile off-course. Regards, Tomas |