Logging into forum through a java app

I am trying to write a program to log into a forum..
I do have some experience working with java, and I have been able to figure out how to connect to the URL, but I can't figure out how to input the user/pass through the java program.
<table border="0" cellpadding="0" cellspacing="3" width="500"><tbody><tr>
<td colspan="2" width="500"><b>Error:</b> You must login to access this forum. 
Please login below, or <a href="http://*****.com/index.cgi?action=register">register</a>
for an account.<br><br></td></tr><tr><td width="175">Username:</td><td width="175">
<input name="username" size="20" tabindex="1" maxlength="18" type="text"></td><td width="150">
<a href="http://*********.com/index.cgi?action=register">Create New Account</a></td></tr><tr><td width="175">Password:</td>
<td width="175"><input name="password" size="20" tabindex="2" type="password"></td><td width="150"><a href="http://*****.com/index.cgi?action=forgotpassword">Forgot Your Password?</a></td></tr><tr>
<td width="175">Stay logged in for:</td><td width="175"><select name="minutes" tabindex="3">
<option value="15">15 minutes</option><option value="30">30 minutes</option><option value="60">1 hour</option>
<option value="120">2 hours</option><option value="240">4 hours</option><option value="360" selected="1">6 hours</option>
<option value="720">12 hours</option><option value="1440">1 day</option><option value="10080">1 week</option><option value="-1">Forever</option></select></td><td width="150"></td></tr><tr><td width="175"></td>
                            <td width="175"><font size="2">
                              <input name="submit" type="submit" tabindex="4" value=" Login ">
                            </font></td>
                            <td width="150"></td></tr></tbody></table>that's the table for the login.
any help would be appreciated, thanks!
-Reid

I am trying to write a program to log into a forum..
I do have some experience working with java, and I have been able to figure out how to connect to the URL, but I can't figure out how to input the user/pass through the java program.
<table border="0" cellpadding="0" cellspacing="3" width="500"><tbody><tr>
<td colspan="2" width="500"><b>Error:</b> You must login to access this forum. 
Please login below, or <a href="http://*****.com/index.cgi?action=register">register</a>
for an account.<br><br></td></tr><tr><td width="175">Username:</td><td width="175">
<input name="username" size="20" tabindex="1" maxlength="18" type="text"></td><td width="150">
<a href="http://*********.com/index.cgi?action=register">Create New Account</a></td></tr><tr><td width="175">Password:</td>
<td width="175"><input name="password" size="20" tabindex="2" type="password"></td><td width="150"><a href="http://*****.com/index.cgi?action=forgotpassword">Forgot Your Password?</a></td></tr><tr>
<td width="175">Stay logged in for:</td><td width="175"><select name="minutes" tabindex="3">
<option value="15">15 minutes</option><option value="30">30 minutes</option><option value="60">1 hour</option>
<option value="120">2 hours</option><option value="240">4 hours</option><option value="360" selected="1">6 hours</option>
<option value="720">12 hours</option><option value="1440">1 day</option><option value="10080">1 week</option><option value="-1">Forever</option></select></td><td width="150"></td></tr><tr><td width="175"></td>
                            <td width="175"><font size="2">
                              <input name="submit" type="submit" tabindex="4" value=" Login ">
                            </font></td>
                            <td width="150"></td></tr></tbody></table>that's the table for the login.
any help would be appreciated, thanks!
-Reid

Similar Messages

  • How to fetch all the portal groups into dropdown through webdynpro Java App

    Hello All,
    I have a requirement where I have to fetch all  the groups available in user administrator in portal into a dropdown, so that the admin can select the group from the dropdown and after that when he executes a button u201CGet Detailsu201D he must be able to get the list of users who has been assigned that group .
    I need to achieve this through WebDynpro Java.
    Any pointers or documents on this is very very helpful.
    Thanks,
    Manasa.
    Edited by: Manasa Boyapati on Sep 12, 2011 7:25 AM

    Hi,
    Can you try using the below code ?
    IUser uid = UMFactory.getUserFactory().getUserByLogonID(Userid);
    Iterator groups =  uid.getParentGroups(false);
    while (groups.hasNext())     
      String str_grpname = (String)groups.next();
      IGroup Group = UMFactory.getGroupFactory().getGroup(str_grpname);
    ary_groups.add(Group.getUniqueName());
    Hope you can achieve you results by tweeking this..
    Regards,
    Vijay.

  • TS4268 i am trying to log into facetime through my Macbook Pro and it shows me this message "the server encountered an error processing registration please try again later". what does this mean and what should i do?

    i am trying to log into facetime through my Macbook Pro and it shows me this message "the server encountered an error processing registration please try again later". what does this mean and what should i do? also on my iphone 5 i am trying to log in with my apple ID but everytime i try it sayd incorrect password! please help!!

    Wait until Apple fix it. See: http://www.apple.com/support/icloud/systemstatus/

  • Why am I getting a message that I need to log into the Canadian store for app updates and iTunes

    Why am I getting a message that I need to log into the Canadian store for app updates and I tune purchases?

    Should you be in the Canadian App Store? Is that your store? Of not - or of you need to see what store you are in.
    Settings>iTunes and App Stores>Apple ID
    Tap your ID
    Tap View Apple ID
    Enter your password
    Go to country/region in the popup window to change the store

  • Unable to log into forums

    i had to create a new account because when i tried to log in with the original one i created under community it gives me message about a one time password reset and to folllow link in email.  problem never get email.  tried to register under personal account says email is in use.  how do i get my original account ihave had for over 3 years?

    Garreth Curran wrote on 10/6/2010 10:31 AM:
    I can log in to Enterprise Cafe but not into the forums on it.  I can log into the forums through a browser.  Can anyone help?
    That usually only happens with Adobe employees
    1 Which Adobe ID are you using in Enterprise cafe?
    2 Which Adobe ID are you using in your browser?
    3 Which browser are you using?
    4 If you are on Windows and not using IE, can you try logging in on the
    forums through IE?
    5 Which version of Enterprise cafe do you have?
    If that doesn't provide any clues, would you be comfortable running a
    packet sniffer?

  • Setting privilege level for logging into ASA through ACS

    Hi!,
    In my environment i implemented AAA for logging into switches, routers, asa etc through ACS which is being configured TACACS+.
    I have set different privilege levels like readonly, readwrite etc into ACS. There are working fine when i try to login into switch or router.
    But in ASA i am unable to restrict the privilege levels of different users.
    Can someone plz guide me with ASA & ACS setting to solve this issue!!!!!

    Hi!!
    I tried this option. It is working fine with routers & switches. But for ASA privilege access it is not functioning.
    I created 3 profiles in "Shared Profiles" & added 1 of them in Group setting & added users to this group with mentioning group authentication. This way i am able to control access to the switches & routers with proper privilege. But the same way when i tried to impolement ASA it's not happening.
    Can u plz check it out...

  • Anyone else seeing "Invalid server response" when logging into VCMA through a web browser?

    I am getting "Invalid server response" when I log into VCMA from Safari on my iPhone. I have the app on my iPad and it will connect and manage my ESXi hosts normally (so I am fairly certain the setup and config of the Virtual Appliance went ok).
    I Googled the error and got some returns about different Virtual Appliances doing the same thing. Seems to be an issue with running VCenter on a Windows 2008 server (which we are). Users reported switching VCenter to Windows Server 2003 boxes and it worked fine.
    Anyone else ran into this and figured it out?
    My environment:
    vCenter Server 4.1.0 - Build:258902
         - running as a VM on ESXi 4.1.0 - Build: 348481
         - running on top of Windows Server 2008 R2 Standard SP1
         - vSphere Client 4.1.0 - Build: 258902
    vCenter Server and VCMA Appliance are on the same subnet.

    I had not done that yet, but thanks to your suggestion I have made that change.
    I am not sure if the above fixed the issue, but I am now able to get the website to load. I was trying to load the page https://vcmaServerIP:5480 which will load a login page. When you try to log into it, I was and am still getting the error I first posted about. By some weird chance I tried to load the page https://vmcaServerIP and got a completely different looking page and was able to log in and work like I should be able to.
    So, lesson learned: do not put the :5480 at the end of the URL and you will get the correct login page.
    Thank you dschubot for your help.

  • I can't log into the adobe content viewer app on my ipad

    I just updated the content viewer app, when I try to log on I get an authentication failed message. I was able to log into adobe.com so my info is correct. does anyone know how to work around this?

    Log in to https://digitalpublishing.acrobat.com (not adobe.com) and accept the Terms of Use.

  • My iPad mini will no longer log into iTunes or any AppleID app since upgrading to iOS 8.1. Any suggestions?

    My son upgraded his iPad mini a couple of weeks ago to iOS 8.1. The internet and everything else still works but he has not been able to log into iTunes for anything since. When we log in it says "cannot connect to iTunes store". We have confirmed the password and it still works of our other devices. We have confirmed his devices is still enabled under the Apple ID. Suggestions?

    I wish that had worked. I logged off from the setting on the mini and on my main computer. I got the same message that it cannot log into the store. I was able to log back in on my computer though.

  • Can't log into BC through muse

    I am having a major problem with Muse and BC and need some help.
    I log into my Adobe account and load Muse, but when I try to log into BC for publishing, I get an UNKNOWN ERROR message. If I enter an incorrect password I get an INCORRECT PASSWORD message so there seems to be some problem with Muse connecting with BC. I have reset my BC password and successfully logged into BC online, but still have the same UNKNOW ERROR in Muse.
    Any ideas?
    I am begging to panic as a client need site updates asap.
    Thanks
    Dave

    Hi,
    please refer to this thread, An unknown authentication error has occurred using your Adobe ID (AUTH_UNKNOWN_ERROR)
    Please let me know if you have any other query.

  • Retrieving cookies when logging into java forums through a java application

    Hello --
    I am currently working on a spider application that will have the ability to login to sites of interest and then begin crawling.
    I thought an easy place to start would be to login to java forums. However, I have run into a bit of a snag with all of the cookies....
    The following is the information that I am posting:
    action = "login"
    url = "http://forum.java.sun.com/index.jsp"
    UserId     // my username
    Password // my password
    Submit = "Log in"
    AutoLogin = "1"
    I am doing this using HttpURLConnection that was created using http://developer.java.sun.com/servlet/SessionServlet as the URL. Then I create an output stream etc:
    OutputStream os = huc.getOutputStream();
    os.write(sb.toString().getBytes("US-ASCII")); // where sb is a StringBuffer which contains the above information separated with &'s
    os.close();
    This is when I run into my problem...Next, I try to obtain the session cookies (using the same HttpURLConnection that I posted with) but I am not getting all of the cookies.
    As a test, I set my browser to prompt for cookies and I found that when you submit your login information three cookies are set: JDC, JSessionId, and SessionCredentials. Then two more cookies are set JSessionId again and jiveUserLastVisited -- I think these cookies are actually set while getting the http://forum.java.sun.com/index.jsp page. Anyway the only cookies that I get through my program are JSessionId and jiveUserLastVisited.
    So to remedy this I tried setting followRedirects to false on my HttpURLConnection (before I perform my post) and then I tried to get the Set-Cookie header immediately following my post. What I found was after calling getFieldHeader() my connection has changed -- when I do a getConnection on my HttpURLConnection the connection has changed to the second page (http://forum.java.sun.com/index.jsp) even with redirects set to false.
    I guess my inexperience with web applications has caught up with me. Does anybody have any ideas?
    Thanks,
    Lisa

    Lisa
    Did you get any reply on this ?? I am also writing a similar web crawler and i also ran into similar problems.
    let me know if you found the solution. thanks.
    -P

  • Logging into forums

    This is an annoying issue that I've run into a few times since I joined last night.  I'll typically browse through the forums when I am not logged in.  When I try to post a new topic, it brings me to a login page.  It accepts my credentials and then brings me to a page that says "The board you requested has been deleted.  Please update your bookmarks" or something to that effect.  I then have to go searching for the board that I had been viewing.

    who is programming this site? {please keep your posts courteous} i have never seen so many bugs on a "professional" site before. You guys dont have QA/Testers?
    because of this site, i hate verizon even more. 
    Message Edited by KaLin on 03-21-2009 12:21 PM

  • Problem logging into forum ?

    The forum software is misbehaving again.
    For people who have trouble logging in, please navigate to http://mysun.sun.com/portal/dt and login from there.
    Once you are logged in, you can navigate back to this forum by typing in http://forum.java.sun.com/forum.jspa?forumID=45 in the same window or else you can follow the links (Got this workaround from this post => http://forum.java.sun.com/thread.jspa?threadID=671215)
    cheers,
    ram.

    Dear Madathil_Prasad,
    After login into the forum as per the way suggested by you I have posted the following thread :
    http://forum.java.sun.com/thread.jspa?threadID=671245&tstart=0
    can you please advice me on above thread. Why it is happening ?
    regards,
    savdeep.

  • How to find out who is logged into portal through webdynpro application

    hi,
    whenever anyone logs in through the portal and runs a webdynpro iview, the webdynpro application should be such that it gives the name of the user logged in.
    Eg, if i logiin and run the webdynpro iview, the application should display that I have logged in.
    how can this be done?
    its urgent.

    add the jar file com.sap.security.api.jar
    IWDClientUser wdUser = null;
    IUser user = null;
    IUserAccount[] acct = null;
      try
         wdUser = WDClientUser.getCurrentUser();
         user = wdUser.getSAPUser();
         if (user!=null)
              acct = user.getUserAccounts();
              if (acct[0] != null)
                   strUserID = acct[0].getLogonUid();
                   wdContext.currentContextElement().setCa_UserId(strUserID);
              else
                   strUserID = "acc is null";
         else
              strUserID = "user is null";

  • How to log into gmail with default Mail app

    So my gmail has a 2 step verification option to have it more secure, but the default mail app on my iphone 5S does not give me the option to give a second verification so I can't log in.
    They continuously say my password is incorrect because of this...
    Any way to fix this please?
    Ludwig Dory

    After more googline I actually found the solution, I'll post it here in case anyone else has the same problem I had:
    You have to go to the double verification setup in browser https://accounts.google.com/b/0/SmsAuthSettings and generate an app specific password, this is the only way it'll work.

Maybe you are looking for