PCP2 web application login message

Hello,
I have an xserve with pcp2 activated and when you want to connect to the web pcp application you arrive to an https web page http://youserver:8170/podcastproducer/capture/login. When you come for the fisrt time to this page your web browser give you a warming :
this connection is not certified
You have to validate the self-signed certificate to continue. You get this message only once but i would like to go through. I suppose it's possible to set a valid certificate into the server and i would like to know how to do so.
Franck

Podcast Producer, which depends on OSX Server, has its own forum here:
http://discussions.apple.com/forum.jspa?forumID=1355
where hopefully you can get answers from people with experience of this.

Similar Messages

  • Pl/sql web application login and logout problem

    Hi, every expert.
    I am making a web application with pl/sql, and I focus on the login and logout recently.
    I make use of owa_cookie to login and logout, it works wonder in login process as the cookie values are sent to the page successfully, and cookie info was killed successfully when logging out, but the problem is when i click the back button on the browser it can still go back to the previous page, only if i refresh it again it can work propely

    As far as I know, there is only Java API for managing the application. You might need to look into making some java web services to handle this.

  • Unable to specify web application Login Module

    HI all,
    i have the following problem with JDev11Tech Preview R2:
    I have jazn login module which i specify under the Tools -> Embedded OC4J preferences -> Authentication -> Login Configuration
    The login module data is filled into the system-jazn-data.xml under the:
    \jdevstudio1111_TechnPreview2\system11.1.1.0.20.46.84\o.j2ee\embedded-oc4j\config:
    <jazn-loginconfig>
    <application>
    <name>Insis</name>
    <login-modules>
    <login-module>
    <class>com.fadata.insis.security.InsisLoginModule</class>
    <control-flag>required</control-flag>
    <options>
    <option>
    <name>debug</name>
    <value>false</value>
    </option>
    </options>
    </login-module>
    </login-modules>
    </application>
    </jazn-loginconfig>
    But when i try to obtain the LoginContext i receive an exception
    "No LoginModules configured for Insis"
    I have that configuration working in JDev 10.1.3
    Thank you very much in advance!
    Krasimir

    Krasimir,
    in JDeveloper 11 the LoginModule is no longer configured in system-jazn-data.xml but in jps-config.xml (which also has a different format for creating it). So you can look at the jps-config.xml and figure it out yourself or wait for us to document how it works (which is a how-to I am planning to write but with very low priority for now).
    Frank

  • Unable to start debugging on the web server error message when running asp

    Hi Mark,
    i want to apply a asp web application on your book at page 336/337
    I am using .NET 2005 pro. edition.But if i run(play button) the asp web site
    it gives above error message which i wrote on the subject.
    Could someone help me?
    Thanks for reading..
    Regards..
    S.K

    You may want to check whether your Web application has been configured to use "Integrated Windows Authentication".
    Go to your IIS, check the Properties of your web application under Web Sites\Default Web Site, select "Directory Security" tab, click the first "Edit..." button (for Anonymous access and authentication control). At the very bottom, make sure "Integrated Windows authentication" is checked.
    Re-start your Web application.
    Message was edited by:
    shsu

  • Sharepoint FBA web application error: Server Error in '/' Application. when login to the web application

    Hello Team,
    I have configured FBA in SharePoint 2010. After the FBA i can get the SQL users using people picker and added users as a site collection admin.
    When i tried to access the site, it shows login page and i have given user name and password then pressed signin button, it's try to redirect the another page and showing below error,
    Server Error in '/' Application.
    Runtime Error 
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed. 
    Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application.
    This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly"/>
        </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="On" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>
    "An exception occurred when trying to issue security token: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported
    method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
    <title>IIS 7.5 Detailed Error - 500.19 - Internal Server Error</title> 
    <style type="text/css"> 
    <!-- 
    body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} 
    code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} 
    .config_source code{font-size:.8em;color:#000000;} 
    pre{margin:0;font-size:1.4em;word-wrap:break-word;} 
    ul,ol{margin:10px 0 10px 40px;} 
    ul.first,ol.first{margin-top:5px;} 
    fieldset{padding:0 15px 10px 15px;} 
    .summary-container fieldset{padding-bottom:5px;margin-top:4px;} 
    legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} 
    legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; 
     border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; 
     border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'..
    I checked sharepoint logs and didn't see any log. but i can see below error logged in  Event viewer application logs,
    I tried changing all customErrors mode and still same error.
    Kindly help me on this, how to resolve the issue.
    Thanks in advance.
    JP

    Hi,
    According to your description, my understanding is that the error occurred when you accessed SharePoint site through form based authentication.
    How did you configure the form based authentication?
    Here is a link about the steps required to configure FBA in SharePoint 2010 for your reference, and check the steps to see if there anything wrong in your configuration:
    http://www.codeproject.com/Articles/352841/How-to-Configure-Form-Based-Authentication-FBA-in
    Through the common error message, we cannot find what exactly caused the error.
    Here is a similar thread for you to take a look:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/120ab535-63d2-4205-a51f-1987e9c0cf79/sharepoint-fba-the-content-type-texthtml-charsetutf8-of-the-response-message-does-not-match-the?forum=sharepointgeneralprevious
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Ios7 bookamrking web application to home screen via Safari crashes after login and when we try to open any link inside. Can anyone please tell me if there is any scheduled fix for this bug in safari?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

  • Error message while installing "FDM Web Application" on windows 64-bit

    I am unable to install "FDM Web Application" on a 64-bit windows platform. I have an error message indicating that 64-bit components for HFM & EPMA cannot co-exist with 32-bit components for HSF/FDM. Is there a way to install it? From the packages I downloaded, I have installed EPMA 64-bit. So I presume I'll have to uninstall EPMA 64-bit and re-install EPMA 32-bit?
    OS: Windows Server 2003 R2 Enterprise x64 Edition SP2
    Oracle WebLogic 9.2 MP3 32-bit
    Thanks in advance.
    Kind regards,
    Andy

    Hi,
    What version are you trying to install, as the latest release 11.1.1.3 should now support it.
    In the 11.1.1.3 Readme - http://download.oracle.com/docs/cd/E12825_01/epm.111/readme/epm_1111300_readme.html
    FDM now provides support for 32-bit binaries in a 64-bit environment. (though that was from version 11.1.1.1)
    Though saying that FDM can only run in IIS32bit mode, if you have installed EPMA 64bit it will have set IIS to 64 bit, so uninstall 64bit and use 32bit.
    FDM supports 64-bit servers running in 32-bit emulation mode only. Because IIS cannot run under 32-bit and 64-bit mode simultaneously on the same server, Financial Management and FDM Web components cannot be deployed on the same 64-bit server. All other components can be deployed together.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can make java servlet sent soap message to other java web application

    hello,
    i want to make simple servlet send soap message to other java web application containing web service????
    for example
    web application " A " contain web service add two number
    java servlet " B " send soap message contain num1 and num2 to A to add them.
    how can do this????

    I tried that but my problem is that the code is so old. At least what I saw. I don't know how old is too old and I'm trying to do things "right." I saw code from 1998, but I don't know if that's still what you do. It might still work, but that doesn't mean it's correct. There's so much out there on Java that so old that half the time I'm not sure what to do because some other technology in J2EE or the latest Java SDK might have come up with a new way to do things. Thanks.

  • Messages: "Web application processing terminated"

    Hello all,
    When i execute a webtemplate, the message "web application processing is terminated" as a link.
    Diagnosis are as follows:
    Diagnosis
    The system had to terminate processing of the Web application.
    The reason could be that the system was no longer able to find the Web application server session.
    System response
    Processing the navigation step is not possible.
    Procedure
    Call up the Web Application again.
    Note: Use the start URL and not the URL that is currently displayed in the Web Browser.
    Procedure for System Administration
      Notification Number BRAIN 278 
    this is heppening after i enter the input in the variable screen. could you let me know what is the possible problem?
    Regards,
    Ravi

    Hi,
    This is due to a time out.
    There are some parameters that can be set to adapt the default duration of a web session.
    I do not remind the relevant SAP notes; you might perform a search on SDN posts: I'm pretty sure that there is a post on that topic.
    Best regards,
    LauQ

  • Cisco CAD agent automatically login to 3rd party web application

    I am aware that Cisco UCCX CAD agents have the ability to launch a web application by configuring the web page within the UCCX Desktop Administrator. This is an excellent feature; however, I need to automate the login to the web application using CAD as well. Is there a way have CAD launch the application and push the user credentials required to login to the application as well once the agent logs into CAD?

    This can be configured in CDA as either voice contact workflow or agent management workflow.

  • JSF Intro Tutorial - Error Message: "Error instantiating web-application"

    Hi all there !
    I find JDeveloper a very good tool to learn how to produce websites.
    I 've just started with the tutorials.
    Specifically: http://www.oracle.com/technology/obe/obe1013jdev/10131/jsfintro/jsfintro.htm
    The problem I found is in Runing the application section:
    "1. ...Right-click /welcome.jsp in the diagram (faces-config.xml) and select Run from the context menu."
    The OC4J server starts, shows a lot of messages (warnings, errors, etc.) in its Log, open Firefox Navigator and shows a page with error: "Error instantiating web-application" , "Application: JSFIntro-view-webapp has been stopped".
    JDeveloper I am using is: version 10.1.3.1.0.
    I also tried with MS-IEXPLORE (changing the Preferences) with the same result (different look though).
    I am saving the log in a txt file I could send to you if needed.
    Thanks in advance.

    Hi Roberto,
    The jsfintro obe is working fine for me and most of the people who tested it.
    I've seen the "Error instantiating web-application" when I usually deploy to a
    Standalone OC4J being run on older JDK version than my JDev 10.1.3.1 (JDK 1.5)
    Yet, I don't think you are deploying the jsfintro application.
    Check where you installed JDeveloper: it is recommended to have it under
    a folder name without any space. eg: C:\jdev10131
    Check to see if you can run any other application :
    eg: in JDev, Help menu -> Cue Cards -> Learn about J2EE applications ...
    you should find some simple JSF ones.
    if that still doesn't work, try downloading JDevStudio version 10.1.3.2, then
    decompress it under your C:\jdev10132 folder, then run jdeveloper.exe.
    Hopefully, this will run fine.
    Steff

  • Cant login sharepoint web application

    Hello exports.
    I have a problem. My company needs to some users restrict logon to PC. I have a few users with logon restrictions and they havnt login sharepoint web application for my intranet web.
    User1 have login to my domain controller name for authenticate some web browser application. But cant login sharepoint web application. I have changed User1 logon to all workstation can login sharepoint. 
    Please tell me sharepoint authentication mechanism and how to resolv my problem?
    Thanks and regards

    So if a user has the userWorkstations attribute set, they cannot log into SharePoint? Have you tried adding the SharePoint servers into the userWorkstations attribute?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Web Application Shows Pop up message after Upgrading to Java 7 Update 11

    Hello,
    We have developed a Java based Enterprise Web Application and currently using in Production environment. With the recent Java Security vulnerability issue, the client machines (desktops) were upgraded to Java 7 update 11 (Java plugin for Web browser). After the upgrade, users are having issues in accessing the application. User gets a Security Warning popup - "Do you want to run this application? An Application from the location below is requesting permission to run Location: xyz.... ". Even if they check the "Do not show this again for this app" checkbox, it still shows the Security Warning popup for every screen clicked by the user. The Application has "Trusted Certificate" but using a 3rd party jar which has an unsigned applet. The popup goes away if we change security level to Medium. We don't want to reduce the security level from 'High' to 'Medium' because of the Security issues and users may access other websites.
    Is there a way to resolve the unsigned applet issue without compromising the security?
    Thanks
    Padmanaban

    With Java 7u11 Oracle increased the default security level to help reduce the of recently discovered exploits getting past the security sandbox.
    That said, I seem to recall from a few years ago that any untrusted component delivered to the client might cause the entire application to be treated as untrusted (as it should), and this may be the case here.
    Although license issues may prevent you from doing this, I have found that unpacking and then repacking-and-resigning (with your own key) all 3rd party JARs can get around this, but only you can decide whether this is (a) legal and (b) advisable in the first place.

  • Web application through web clipping portlet configured through SSO

    I have followed the steps in the below URL in integrating the external application with SSO configuration.
    http://MKD-164540.wipro.com:7778/portalTools/webClipping/providers/webClipping
    After adding the web clipping portlet to the portal page it is giving the below message.
    User authentication failed. Please use the following link to update the information.
    Update login information.
    Navigating to "Update login information. " link showing to enter the log in and password details.I am confused which log in details I have to submit here. I have tried my AD credentials and application login details. Its not working anything.
    If anybody have any idea on this, Please help me.
    Regards,
    -Venu

    Either the login information is not correct (it explains it should not be domain\username but just username) or the authentication format from your Microsoft proxy server (Kerberos?) is not compatible with the Web Clipping portlet. You might get a better reply in the Portal forum about supported proxy authentication methods for the WebClipping portlet.

  • Problem in web application deployment in weblogic 8.1

    hiiiiiiiii freinds!
    i am a newcomer in the field of servlets and JSPs.Me and my freinds are developing a client/server chat application but i am facing a problem in transferring the control from one JSP to another JSP.I am using Oracle 10g and weblogic 8.1upon clicking the submit button at login.jsp i am seeing following message at web browser.
    /loginhandler.jsp(4): class 'com.mycompany.login.Login' could not be loaded
    probably occurred due to an error in /loginhandler.jsp line 4:
    <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" />
    codes for JSPs and bean class aregiven below-
    login.jsp
       1. <html> 
       2. <head><title></title> 
       3. <script language="javascript"> 
       4. function Validate(){ 
       5. var name=document.frm.userName 
       6. var password=document.frm.passWord 
       7.  
       8. if ((name.value==null)||(password.value=="")){ 
       9. alert("Please Enter user name") 
      10. user.focus() 
      11. return false 
      12. } 
      13. if ((name.value==null)||(password.value=="")){ 
      14. alert("Please Enter password") 
      15. pass.focus() 
      16. return false 
      17. } 
      18. return true 
      19. } 
      20. </script> 
      21. </head> 
      22. <body> 
      23. <form method="post" action="loginhandler.jsp"> 
      24. username - <input type="text" name="userName"><br> 
      25. password - <input type="password" name="passWord"><br> 
      26. <input type="submit" value="Submit"> 
      27. <input type="reset" value="Reset"> 
      28. </form> 
      29. <jsp:include page="showformat.jsp"/> 
      30. </body> 
      31. </html>  loginhandler.jsp
       1. <%@page contentType="text/html"%> 
       2. <%@page pageEncoding="UTF-8"%> 
       3. <%@page import="java.util.*" %> 
       4. <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" /> 
       5. <jsp:setProperty name="idHandler" property="*" /> 
       6. </jsp:useBean> 
       7. <html> 
       8. <head><title></title></head> 
       9. <body> 
      10. <% 
      11. String userName = request.getParameter("userName"); 
      12. String passWord = request.getParameter("passWord"); 
      13. if (idHandler.authenticate(userName, passWord)){ 
      14. response.sendRedirect("welcome.jsp"); 
      15. } else { 
      16. response.sendRedirect("loginfailed.html"); 
      17. } 
      18. %> 
      19. </body> 
      20. </html>  welcome.jsp
       1. <html> 
       2. <head><title>welcome!!!!!!</title></head> 
       3. <body> 
       4. <% 
       5. String name=(String)request.getAttribute("userName"); 
       6. out.println("Welcome" +name); 
       7. %> 
       8. </body> 
       9. </html>  login.java
       1. package com.mycompany.login; 
       2. import java.sql.*; 
       3. import java.io.*; 
       4.  
       5. public class Login  
       6. { 
       7. //default constructor 
       8. public Login(){} 
       9. //method for the database connection 
      10. public Connection getConnection() 
      11. throws IOException{ 
      12. Connection conn = null; 
      13. try{ 
      14. Class.forName("oracle.jdbc.driver.OracleDriver"); 
      15. conn = DriverManager.getConnection( 
      16. "jdbc:oracle:thin:@localhost:1521:xe", 
      17. "system", 
      18. "abcdefgh"); 
      19. } 
      20. catch(SQLException e) 
      21. { 
      22. System.out.println("SQLException: " + e.getMessage()); 
      23. while((e = e.getNextException()) != null) 
      24. System.out.println(e.getMessage()); 
      25. } 
      26. catch(ClassNotFoundException e) 
      27. { 
      28. System.out.println("ClassNotFoundException: " + e.getMessage()); 
      29. } 
      30. return conn; 
      31. } 
      32. //method that is called from validateuser.jsp and this checks for the authentic user and 
      33. public boolean authenticate(String user, String pass) 
      34. throws SQLException, IOException{ 
      35. String Username = null, Password = null; 
      36. Login dbconn = new Login(); 
      37. Statement stmt = dbconn.getConnection().createStatement(); 
      38. String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'"; 
      39. ResultSet rs = stmt.executeQuery(sql); 
      40. if(rs.next()){ 
      41. Username = rs.getString("USER_NAME"); 
      42. Password = rs.getString("PASS_WORD"); 
      43. } 
      44. if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){ 
      45. return true; 
      46. } 
      47. else return false; 
      48. } 
      49. }  it is requested that please don't neglect or ignore any programming error in pages as i am a newcomer in the field of web development.also suggest some good content and study material for developing interactive and user freindly chat client/server web application.reply as soon as possible!

    ya i have done it and i have put it under the sub directories of classes directory and also included the import also i have modified the codes but problem is same.
    login.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.util.*, java.text.*" errorPage="" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><title></title>
    <script language="javascript">
    function Validate(){
    var name=document.frm.userName
    var password=document.frm.passWord
    if ((name.value==null)||(password.value=="")){
    alert("Please Enter user name")
    user.focus()
    return false
    if ((name.value==null)||(password.value=="")){
    alert("Please Enter password")
    pass.focus()
    return false
    return true
    </script>
    </head>
    <body>
    <form method="post" action="loginhandler.jsp">
    username - <input type="text" name="userName"><br>
    password - <input type="password" name="passWord"><br>
    <input type="submit" value="Submit">
    <input type="reset" value="Reset">
    </form>
    <br><br><br><br><br><br><br>  &nbsp
    </form>
    <jsp:include page="showformat.jsp"/>
    </body>
    </html>loginhandler.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"><%@page contentType="text/html"%>
    <%@ page pageEncoding="UTF-8"%>
    <%@ page import="java.util.*" %>
    <%@ page import="com.mycompany.login" %>
    <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="session">
    <jsp:setProperty name="idHandler" property="userName" />
    <jsp:setProperty name="idHandler" property="passWord" />
    </jsp:useBean>
    <html>
    <head><title></title></head>
    <%
    String userName = request.getParameter("userName");
    String passWord = request.getParameter("passWord");
    if(userName == null)
    userName = "";
    if(passWord == null)
    passWord = "";
    if(!userName.equals("") && !password.equals("")){
    session.setAttribute("User", userName);
    session.setAttribute("Password", passWord);
    if (idHandler.authenticate(userName, passWord)){
    response.sendRedirect("welcome.jsp");
    } else {
    response.sendRedirect("loginfailed.html");
    %>
    <body></body>
    </html>welcome.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*, java.io.*, java.util.*, java.text.*" errorPage="" %>
    <%@ page import="com.mycompany.login" %>
    <jsp:getProperty name="idHandler" property="*">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><title>welcome!!!!!!</title></head>
    <body>
    <%
    String name=(String)session.getAttribute("User");
    out.println("Welcome" +name);
    %>
    </body>
    </html>
    (code)
    login.javapackage com.mycompany.login;
    import java.sql.*;
    import java.io.*;
    public class Login {
    String Username = null, Password = null;
    //default constructor
    public Login(){}
    //method for the database connection
    public Connection getConnection()
    throws IOException{
    Connection conn = null;
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@localhost:1521:xe",
    "system",
    "abcdefgh");
    catch(SQLException e)
    System.out.println("SQLException: " + e.getMessage());
    while((e = e.getNextException()) != null)
    System.out.println(e.getMessage());
    catch(ClassNotFoundException e)
    System.out.println("ClassNotFoundException: " + e.getMessage());
    return conn;
    //method that is called from loginhandler.jsp and this checks for the authentic user and
    public boolean authenticate(String user, String pass)
    throws SQLException, IOException{
    Login dbconn = new Login();
    Statement stmt = dbconn.getConnection().createStatement();
    String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'";
    ResultSet rs = stmt.executeQuery(sql);
    if(rs.next()){
    Username = rs.getString("USER_NAME");
    Password = rs.getString("PASS_WORD");
    if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){
    return true;
    else return false;
    public void setUsername(String name)
    Username=name;
    public String getUsername()
    return Username;
    public void setPassword(String password)
    Password=password;
    public String getPassword()
    return Password;

Maybe you are looking for