Java EE Tutorial #4 - Security Realms with Glassfish Part 2

preview_player
Показать описание
Java EE Tutorial #4 - Security Realms with Glassfish Part 2

In this tutorial I will show you how to create a security realm and configure it to use it with a database. In this video we use the JDBC Connection Pool from a previous tutorial to connect to ou mysql database where we create some new tables for storing the login informations.

If you have any questions, feel free to write a comment ;).

Subscribe now!

Рекомендации по теме
Комментарии
Автор

Hi Dennis.
Which part of code is where you load login page as front page, instead of index.xhtml .
Thanx

cvetomirpetrov
Автор

(Sorry for my bad english) men i dont know if this is a stupid question but is possible to hash with salt i mean do the glassfish security know that i "hashing" with salt?

maurcioquinonez
Автор

In the updated edition of Glassfish you are required to enter a password encryption algorithm when creating a realm. What are we supposed to enter in that field. I entered "SHA-256" is this correct?

LordSuperAstro
Автор

Hi Dennis
first of all thanks for this interesting tuto
I followed your tutorial but I get an error that blocked me .

Web Login Failed: Login failed: Security Exception


in your opinion Dennis what do I have to change?

belhoussainemohamedamine
Автор

it's been 3 days and I still didn't make it.There is that new field in glassfish 4 that is required which is " Encrypt password algorithm" and I don't know what to use.

cedvdb
Автор

Thank you for this tutorial but I just know how to do exactly as you do but don't know why. And why really matter. or else it is like code copy and paste. And the explain is messed up, after learning this I still don't know how to write a program only by myself.

tianchengying