JDBCRealm is implementation of realm (a collection of usernames and passwords that identify valid users of a web application, plus an enumeration of the list of roles associated with each valid user) that works with JDBC supported databases.
Questions tagged [jdbcrealm]
207 questions
0
votes
1 answer
Shouldn't a JDBC realm authentication work with a single table?
I'm trying to set up a very basic JDBC realm authentication in Glassfish 3.1. The application consists of an EJB with one business method, and a remote client application (not a webapp). I think I'm missing something fundamental here.
I've followed…
![](../../users/profiles/2149413.webp)
icecreamfields
- 1
- 2
0
votes
1 answer
Glassfish still use default realm
I have a secure web service (message authentification over ssl) bundeled in a war and I'm trying to use jdbcRealm to authentificate the user.
The jdbcRealm work fine with other ear apps but not for this .war
Actually glassfish is still using the…
![](../../users/profiles/906967.webp)
isoman
- 622
- 1
- 7
- 28
0
votes
1 answer
JDBCRealm digest for MySQL PASSWORD() function
For an internal Tomcat/Java/Struts application, we're converting custom-written authentication code to use JDBCRealm. The database is MySQL 5.0, and the passwords are stored as PASSWORD()-encrypted strings. In our version of MySQL, the PASSWORD()…
![](../../users/profiles/53060.webp)
Plutor
- 2,739
- 2
- 23
- 29
0
votes
1 answer
how can I implement JDBCRealm for user with different roles in each group?
I want to use JDBCRealm for login authentication but instead of having a user_role table I have a groups table which has pointer to the group tables each containing user and it's role in that group,how should I implement JDBCRealm for this…
![](../../users/profiles/1630657.webp)
user1630657
- 3
- 1
0
votes
1 answer
All glassfish login modules stopped working after container reboot
This is expanded version of another login module problem I had. I diagnosed some more important details which encouraged me to start new thread. It occurres that after Glassfish reboot all login modules stopped working. What is even funnier,…
![](../../users/profiles/1389324.webp)
Erwin
- 512
- 4
- 19
0
votes
1 answer
jdbcRealm stopped working after Glassfish reboot
After many attempts I managed to configure jdbcRealm with MySQL. Unfortunately, some time later a database error occurred (too many connection per user) and I was forced to reboot Glassfish 3.1.1
After the reboot I can no longer use basic…
![](../../users/profiles/1389324.webp)
Erwin
- 512
- 4
- 19
0
votes
1 answer
JSPWiki/Tomcat — several JNDIReamls per webapp
I am running a JSPWiki with a JNDIRealm for Authentication against an Active Directory.
Now I have to think about the possibility to add another JNDIRealm to give access to users from another domain controller.
I have seen many solutions to define…
![](../../users/profiles/1602471.webp)
senton999
- 1
- 1
0
votes
1 answer
how to authentificate user with salt passeword sha-1 with tomcat 7
I try to configure datasourceRealm using tomcat 7.0.x with user authentification data store in DataBase in two columns one with salt and another with hash. I don't know how to configure DataSourceRealm with password column and how to authentificate…
![](../../users/profiles/1396856.webp)
kokumbo
- 11
- 1
- 3
0
votes
1 answer
j_security authentication using cURL
I'm using Tomcat JDBCRealm to authenticated users when they follow a protected page. The authentication works properly when reaching a protected page. Now I'd like to automate this process using cURL. I've written the code below but it doesn't work…
![](../../users/profiles/1557239.webp)
charlesen
- 65
- 1
- 7
0
votes
1 answer
Glassfish: how to investigate roles/groups problems
I have a Glassfish server in production which uses JDBC Realm for authentication.
It works well, but there is the need to change all the roles/groups. I developed a new version of the web application in a test environment changing glassfish-web.xml…
![](../../users/profiles/872711.webp)
Filippo
- 951
- 1
- 8
- 25
-1
votes
1 answer
java.lang.ArrayIndexOutOfBoundsException: Out of range
This is for app android, running Android studio, db realm and sql server. i need help
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_list_employee);
…
![](../../users/profiles/9854799.webp)
Julham Ramadhana
- 21
- 3
-1
votes
1 answer
App contains default.realm file yet "No default RealmConfiguration was found. Call setDefaultConfiguration() first"
I am Converting CSV file to realm file on APP ONE then shipping this as the primary database in the APP TWO and setting as default database using
SharedPreferences wmbPreference = PreferenceManager.getDefaultSharedPreferences(this);
boolean…
![](../../users/profiles/6717520.webp)
phpdroid
- 1,555
- 1
- 13
- 31