|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beasys.commerce.foundation.SessionImpl
com.beasys.commerce.ebusiness.security.EncryptorImpl
The EncryptorImpl
is the implementation used by the Encryptor
service.
Encryption does not require that the server be in a consistent state. This ensures that
data gets encrypted and stored and in turn orders go through by default.
Encryptor
,
EncryptorHome
,
Serialized FormField Summary |
Fields inherited from class com.beasys.commerce.foundation.SessionImpl |
_ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty |
Constructor Summary | |
EncryptorImpl()
|
Method Summary | |
void |
ejbActivate()
ejbActivate method. |
void |
ejbCreate()
ejbCreate method. |
void |
ejbPassivate()
ejbPassivate method. |
void |
ejbPostCreate()
ejbPostCreate method. |
void |
ejbRemove()
ejbRemove method. |
String |
encrypt(String dataToEncrypt)
Takes string of data to encrypt and returns a string of encrypted data. |
void |
setSessionContext(SessionContext ctx)
setSessionContext method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncryptorImpl()
Method Detail |
public void ejbActivate() throws EJBException
SessionImpl
ejbActivate
in interface SessionBean
ejbActivate
in class SessionImpl
EJBException
public void ejbCreate() throws CreateException
SessionImpl
ejbCreate
in class SessionImpl
CreateException
public void ejbPassivate() throws EJBException
SessionImpl
ejbPassivate
in interface SessionBean
ejbPassivate
in class SessionImpl
EJBException
public void ejbPostCreate() throws CreateException
SessionImpl
ejbPostCreate
in class SessionImpl
CreateException
public void ejbRemove() throws EJBException
SessionImpl
ejbRemove
in interface SessionBean
ejbRemove
in class SessionImpl
EJBException
public String encrypt(String dataToEncrypt) throws InconsistentStateException
InconsistentStateException
- if the server is not initialized with decryption password.public void setSessionContext(SessionContext ctx) throws EJBException
SessionImpl
setSessionContext
in interface SessionBean
setSessionContext
in class SessionImpl
EJBException
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |