Package com.iizix.comm
Interface IClientTransactionProcessor
- All Superinterfaces:
ITransactionProcessor
- All Known Implementing Classes:
ClientTransactionProcessor
The client transaction processor extends the normal transaction processor with support for user authentication.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoid
appendPublicKey
(SendTransaction trans) Appends the server public key for the Diffie-Hellman key exchange with the client.void
Updates the current user with a password that is encrypted in AES/CBC 256-bit.Methods inherited from interface com.iizix.comm.ITransactionProcessor
onConnection, onDisposed, onPause, onReconnected, processTransaction
Method Details
appendPublicKey
Appends the server public key for the Diffie-Hellman key exchange with the client.- Parameters:
trans
- The transaction.
updateAuthentication
Updates the current user with a password that is encrypted in AES/CBC 256-bit.- Parameters:
trans
- The transaction- Throws:
Exception
- If there is any kind of problem with the authentication, transaction, encryption or alike.