|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| 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
public class 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| Field 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 ejbCreate()
throws CreateException
SessionImpl
ejbCreate in class SessionImplCreateException
public void ejbPostCreate()
throws CreateException
SessionImpl
ejbPostCreate in class SessionImplCreateException
public void ejbActivate()
throws EJBException
SessionImpl
ejbActivate in class SessionImplEJBException
public void ejbPassivate()
throws EJBException
SessionImpl
ejbPassivate in class SessionImplEJBException
public void ejbRemove()
throws EJBException
SessionImpl
ejbRemove in class SessionImplEJBException
public void setSessionContext(SessionContext ctx)
throws EJBException
SessionImpl
setSessionContext in class SessionImplEJBException
public String encrypt(String dataToEncrypt)
throws InconsistentStateException
dataToEncrypt - The plain text that needs to be encrypted.
InconsistentStateException - if the server is not initialized with decryption password.
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||