Hi,

I am quite new to MINA. I needed some help regarding design of an
application(simple client and server). It goes something like this

1. Client initiates communication with a server. It has to authenticate
itself using basic authentication. So it needs to send Base64 encoded
"username;password" string to the server and read the corresponding reply.

2. Next after it is authorized it needs to simply keep checking for data the
server sends i.e the client doesn't send anything but simply keeps reading
and displaying the data the server pushes to the client. This pushed data
has a certain format. I was able to write the encoding/ decoding filter for
this.

My question is how do I go  about the authentication part. Can I initially
apply the basic authentication(BA) filter and also my pushed-data filter and
later remove my BA filter once I am done with it. How do I go about
designing my BA filter ?

Any help would be appreciated.

Regards,
Parth Santpurkar

Reply via email to