cgl.narada.service.security.impl
Class EntitySecurityService

java.lang.Object
  extended by cgl.narada.service.security.impl.EntitySecurityService

public class EntitySecurityService
extends Object


Constructor Summary
EntitySecurityService()
           
 
Method Summary
 void decryptContentPayload(NBEvent nbEvent)
          Throw a service exception if the digest is not right or if the signature isn't right.
 void encryptContentPayload(NBEvent nbEvent, Properties props)
          Mode, Padding, provider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntitySecurityService

public EntitySecurityService()
                      throws ServiceException
Throws:
ServiceException
Method Detail

encryptContentPayload

public void encryptContentPayload(NBEvent nbEvent,
                                  Properties props)
                           throws ServiceException
Mode, Padding, provider

Throws:
ServiceException

decryptContentPayload

public void decryptContentPayload(NBEvent nbEvent)
Throw a service exception if the digest is not right or if the signature isn't right. Finally, simply replace the encryptedPayload with the normal payload and release.



For comments and suggestions please send e-mail to The NaradaBrokering Project