mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rksdivakar <sdivakar....@gmail.com>
Subject Retrieving user data from Telnet in Apache Mina
Date Thu, 12 Dec 2013 16:47:42 GMT
Hi All,

I am new to this Mina Framework. Exploring the Framework and its good to
learn.

I have a requirement where in the user will be validated in the validated by
following scenario:

1. user enters username via telnet. On validating the username a message is
displayed stating "valid user".
2. then user will enter password where, it will be checked in the properties
file and get validated.

Could only please share me tho logic behind this via telnet.

Via messageRecieved(IoSession session, Object message) method i am receiving
the username through String msg = message.toString();

How can i get the password?

Is it possible to retrieve the value from session object??

Please help.. Thanks in advance!!!!



--
View this message in context: http://apache-mina.10907.n7.nabble.com/Retrieving-user-data-from-Telnet-in-Apache-Mina-tp40722.html
Sent from the Apache MINA Developer Forum mailing list archive at Nabble.com.

Mime
View raw message