|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.beasys.commerce.ebusiness.security.KeyBootstrap
Used as a startup class to bootstrap public and private keys. Checks a property in the commerce.properties file to determine if the application wants to be encryption enabled. The property is is.encryption.enabled=true/false
| Constructor Summary | |
KeyBootstrap()
Constructor comment. |
|
| Method Summary | |
boolean |
bindKeys()
This does most of the work in the class. |
long |
schedule(long t)
Callback from WLS to renew the scheduled callback. |
void |
setServices(T3ServicesDef services)
setServices method comment. |
String |
startup(String name,
Hashtable props)
Implements T3StartupDef gets called by the container as part of startup |
void |
trigger(Schedulable sched)
Timed callback from WLS used to maintain a reference to the KeyFactory to prevent its garbage collection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KeyBootstrap()
| Method Detail |
public boolean bindKeys()
throws Exception
Exceptionpublic long schedule(long t)
schedule in interface Schedulablet - the current time.
public void setServices(T3ServicesDef services)
setServices in interface T3StartupDef
public String startup(String name,
Hashtable props)
throws Exception
startup in interface T3StartupDefExceptionpublic void trigger(Schedulable sched)
trigger in interface Triggerablesched - (not used)
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||