All Questions
Tagged with authentication java
41 questions
9
votes
2
answers
954
views
JavaFX app with User Authentication and SQL Persistence
This JavaFX program is just supposed to allow a user to register a username and password and then have it stored in an SQL database.
There's been some criticism that it's not clean, readable or ...
4
votes
2
answers
451
views
Springboot - Authentication Service
I am developing a Web application using Spring boot (I am a beginner). How can I make my code better?
This code is from "AuthenticationService.java".
I first made an interface for defining ...
2
votes
2
answers
168
views
Simple authentication server
Here's a simple authentication server. It's pretty basic but has the core functionality of sign-up and log-in handling. Your best bet is to simply run the ...
2
votes
0
answers
156
views
MVVM signing in using firebase
I'm new to MVVM architecture. I want to have authentication with email + password, google and Facebook. I'm not sure if there should be separate view models for each authentication way:
...
3
votes
0
answers
95
views
JWT authentication system login through API
This is my first time writing an authentication system. Here's how it works, first client needs to send credential within authorization header like { Authorization : 'Basic ' + credential } through ...
5
votes
3
answers
4k
views
A simple Java login system
I created a simple log-in system in Java for a project. Security isn't a concern here, hence the plaintext password, but I'm interested in how I can improve the quality of my code. Everything seems to ...
5
votes
4
answers
362
views
Java methods to add and authenticate users in MySQL
I'm going through some code and trying to figure out how to get rid of duplicates from the following two methods. Both methods execute a simple login/register query to a local MySQL DB. I couldnt ...
2
votes
1
answer
1k
views
Employee database
To keep in practice with good techniques of java programming, I've decided to write a database. All it does it stores employees, allows users that are logged in to get/set employees, and has a login ...
7
votes
3
answers
369
views
Java Servlet & JSP simple login
I am currently learning Java Servlets and JSP at university. As a little practice I created a project where I want to be able to login into a protected area. Now, I got it working by using a ...
2
votes
0
answers
95
views
Firebase login/registration process for a dating app
I am developing another bigger project, I want to try a simple DatingApp and currently I try to develop a Login and Registration Form. There is no special register / login button, the code will later ...
0
votes
1
answer
400
views
Simple Android Volley login request
I've made a simple login API request which gets a token as a response. I had to use Toast a few times. Is is possible to make it with only two ...
2
votes
1
answer
223
views
Implementation of login and registration functions in servlet filter
I'm a newbie in servlet API. I have a test task to create a very simple web app with one home page and an authorization form. The requirement is to use filter somewhere in my app.
Given that it's a ...
1
vote
3
answers
4k
views
Login module with JDBC
I made simple login module that is responsible for handling registration, and signing in my application. How can I improve this code? Are there any conventions for this case?
The idea is to create ...
1
vote
1
answer
2k
views
Simple login with jsp
I made a simple login page with Java EE, jsp, servlet, tomcat and jdbc.
It does following:
login user
register user
after login it creates token for the session so ya can be directed from start page ...
4
votes
1
answer
4k
views
Java Swing MVC implementation for login process
I'm new to MVC. I have made small implementation in Java Swing using MVC pattern. I want little help from you to check if the code is appropriate to MVC pattern or not.
So here is my code:
1. ...