com.beasys.commerce.ebusiness.security.pipeline
Class EncryptCreditCardPC
java.lang.Object
|
+--com.beasys.commerce.foundation.pipeline.CommercePipelineComponent
|
+--com.beasys.commerce.ebusiness.security.pipeline.SecurityPC
|
+--com.beasys.commerce.ebusiness.security.pipeline.EncryptCreditCardPC
- All Implemented Interfaces:
- PipelineComponent
- public class EncryptCreditCardPC
- extends SecurityPC
This PipelineComponent extracts and removes a credit card key from
the PipelineSession, retrieves a customer credit card with the
supplied key, encrypts the credit card number, and then adds the modified credit
card back to the PipelineSession customer value attribute. If a
credit card is not supplied, the PipelineSession simply returns.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptCreditCardPC
public EncryptCreditCardPC()
process
public PipelineSession process(PipelineSession pipelineSession)
throws PipelineFatalException,
PipelineNonFatalException,
java.rmi.RemoteException
- Description copied from interface:
PipelineComponent
- The process method which processes the
PipelineSession
and returns the processed PipelineSession.
Note: This method is not allowed to return null. Returning null will
cause the pipeline in which this component is participating to terminate
abnormally.
- Following copied from interface:
com.beasys.commerce.foundation.pipeline.PipelineComponent
- Parameters:
PipelineSession - object- Returns:
PipelineSession the processed PipelineSession object- Throws:
PipelineFatalException - indicates that the component failed to execute
and the pipeline has to be terminated.PipelineNonFatalException - indicates that the component failed to execute. But the
failure is not critical to the pipeline as a whole and hence the pipeline execution has to be continued.RemoteException - on Remote error.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved