Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Authenticating Java FX application

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    15
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Default Authenticating Java FX application

    Hi all,

    I am creating a free game in java FX and I would like to offer some advanced features for the supporters (a user of the application that donates to support the project).

    But I dont know how to authenticate the user to some network service.
    i would like to have a hosted application (or light framework) accessible through the network so the user can do something like login with posting credentials (email, password and maybe his IP adress - so I can check if he has passed his credentials to someone else) and to be able to manage the service to add, remove, (un)block users.

    I dont know if I should try to create an authentication app myself, as it seams it shouldnt be as hard as I have no roles, no authorization, just a simple authentication. I would like to host it somewhere for free, than maybe if it will be succesful a want to have my own paid light hosting.

    I looked for some frameworks, like Apache Shiro, but i would like to know what are the approaches in this kind of donating user authentication, before dwelling into some framework for months just to realize that it is not what I want.

    My another google skills took me only to spring security (seems to me heavy for this) or some guides how to secure the application itself (thats not my case).

    Could you suggest me some approach or point me to some up-to-date overview blogs/articles? I dont want to be security specialist just to do this simple task. Thank you.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Authenticating Java FX application

    Quote Originally Posted by Zavael View Post
    maybe his IP adress - so I can check if he has passed his credentials to someone else
    This is almost certainly a bad idea.

    You might want to check out the Google Play API: https://code.google.com/p/google-api...DeveloperGuide
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. The Following User Says Thank You to KevinWorkman For This Useful Post:

    Zavael (May 15th, 2014)

  4. #3
    Junior Member
    Join Date
    Apr 2014
    Posts
    15
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Default Re: Authenticating Java FX application

    thank you, i will look at that and try to find some inspiration
    the IP address was my first attempt as the simplest way to prevent from sharing credentials between users - in future with next releases I would make it more sophisticated with more time to study

  5. #4
    Junior Member
    Join Date
    Jul 2014
    Posts
    11
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Authenticating Java FX application

    Also I recommend you to read the next article - http://go4idm[dot]blogspot[dot]com/2009/08/authenticating-javafx-application-using[dot]html. I hope you'll find answer for your question.

Similar Threads

  1. Replies: 1
    Last Post: August 23rd, 2013, 06:33 AM
  2. how to run any installed application through my java application??
    By sgsamanthjain in forum Java Theory & Questions
    Replies: 1
    Last Post: April 1st, 2011, 08:17 AM
  3. Replies: 1
    Last Post: January 12th, 2011, 05:55 AM
  4. Replies: 0
    Last Post: December 3rd, 2009, 04:43 PM