Results 1 to 4 of 4
  1. #1
    aarifmkhan is offline Member
    Join Date
    Dec 2010
    Posts
    2
    Rep Power
    0

    Default authentication from server

    hi all

    plz tell how we can authenticate users from server

    i want to read a private file from server

    my inputs are :

    url of the private file :
    username:
    password:



    Authenticator.setDefault(new Authenticator()
    // {
    // protected PasswordAuthentication getPasswordAuthentication(){
    // return new PasswordAuthentication("username","password".toCha rArray());
    // }});


    but server is not autheticate these

    thanks

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    aarifmkhan is offline Member
    Join Date
    Dec 2010
    Posts
    2
    Rep Power
    0

    Default

    i want to download a private file from server to my mobile by using android

    bt becz its an private file so it requires authentication of the client

    i am passing above inputs but server isnt authenticating the user request

    regards
    aarif

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Server authentication using SSL
    By jyoti in forum Advanced Java
    Replies: 0
    Last Post: 11-23-2009, 08:12 PM
  2. jsp authentication
    By tascoa in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-13-2009, 06:47 PM
  3. [SOLVED] How to do authentication
    By Mrs. Deswal in forum Networking
    Replies: 8
    Last Post: 05-21-2009, 02:54 PM
  4. IIS Authentication
    By akkarin in forum Java Applets
    Replies: 0
    Last Post: 03-30-2009, 12:35 PM
  5. SSL Server with authentication of clients
    By zoltan in forum Networking
    Replies: 0
    Last Post: 10-15-2008, 12:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •