How to verify if a forum user is registered or not using a java app
I'm developing a desktop IRC client using Netbeans... But as you may know, anybody can access an IRC room by just using a username... in order to control who can access the chatroom, I need to verify if the user has an account registered in my website (I'll basically have two text areas, one for pass and one for the username), I haven't developed the website yet... I am thinking about using Joomla or SMF... but the main thing I need you to help me with, is which libraries should I use and what process can I do to login and get an answer if the user is registered or not... I can do research, but I'd like a little guide or any tip you could give me.
A better description:
I have an irc chat room in irc.bl.com
I have my website.com
I have the app that connects to irc.bl.com #myroom, but before it must verify if i am registered in mywebsite.com
Re: How to verify if a forum user is registered or not using a java app
We can't really answer that question, since we have no idea what your setup is. For example, how are your users stored? In a database? In a text file? XML? Persistence? A piece of paper? Quantum state hard drives from the future?
It's hard to answer general questions like this other than to point you to google.
Re: How to verify if a forum user is registered or not using a java app
Quote:
Originally Posted by
KevinWorkman
We can't really answer that question, since we have no idea what your setup is. For example, how are your users stored? In a database? In a text file? XML? Persistence? A piece of paper? Quantum state hard drives from the future?
It's hard to answer general questions like this other than to point you to google.
Well, as I mentioned before, I haven't yet created my website... but will probably be a smf or phpbb forum... so it will basically store the users in a mysql... but the whole point of my question is not to access the db directly... but to connect to the forum and use the program to login there... then if the login is sucessful, welcome to chat, else "error, no acc registered"...
I was reading about some apache libraries... but I'm not sure if they will do what I want...
Re: How to verify if a forum user is registered or not using a java app
If you haven't created your website, then it's downright impossible to tell you how to access it. Presumably, you'd access it in the same way you write it- whether that's direct sql or hibernate or something, that's up to you. It partly depends on how familiar you are with sql and database access. If the answer is "not at all" then I suggest you start with some basic sql calls writing to and reading from a database, then go from there. Or perhaps you don't even need a database for something this simple. Again, up to you.