Package com.iizix.comm
Interface IClientTransactionProcessor
- All Superinterfaces:
ITransactionProcessor
- All Known Implementing Classes:
ClientTransactionProcessor
public interface IClientTransactionProcessor extends ITransactionProcessor
The client transaction processor extends the normal transaction processor with support for user authentication.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendPublicKey(SendTransaction trans)
Appends the server public key for the Diffie-Hellman key exchange with the client.void
updateAuthentication(ReadTransaction trans)
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 Detail
appendPublicKey
void appendPublicKey(SendTransaction trans)
Appends the server public key for the Diffie-Hellman key exchange with the client.- Parameters:
trans
- The transaction.
updateAuthentication
void updateAuthentication(ReadTransaction trans) throws java.lang.Exception
Updates the current user with a password that is encrypted in AES/CBC 256-bit.- Parameters:
trans
- The transaction- Throws:
java.lang.Exception
- If there is any kind of problem with the authentication, transaction, encryption or alike.