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
Glassfish 4 Authentication (JDBCRealm and JPA 2) works with Dery but not with MySQL
I followed this tutorial http://slackspace.de/articles/jdbc-security-with-glassfish-3-1-and-java-ee-6/ for setting up authentication. Using Glassfish 4, MySQL 5.5, Ubuntu 12.04 LTS.
Everything works fine with Derby but I have no success with MySQL.…

Stefan
- 576
- 7
- 27
0
votes
1 answer
Glassfish 4 JBDCRealm NameNotFoundException
This might be very basic, but I stuck in it for couple of hours now, so please hear me out.
I'm trying to do a JDBCRealm-based of authentication in a Java 7 web app on Glassfish 4.0 in Eclipse. This blog post was the reference for cofiguring…

Khosrow
- 556
- 1
- 6
- 16
0
votes
1 answer
JDBCRealm correctly configured but no successful connection
I post this question after having searched thoroughly in Internet with no situation alike found. I'm trying to use a JDBCRealm to authenticate users in a simple test web application deployed with Tomat 7.0.42 and MariaDB 5.5 in a development…

user2925957
- 1
- 1
0
votes
1 answer
JDBC Realm does not load any groups for a user [403 Forbidden]
When using JDBCRealm in Glassfish as a means of authentication, you are unable to log in users as no group/role is loaded for the user. This is often only noticeable by a 403 Not Authorised message on your application.
Enabling FINEST logging for…

Tim
- 514
- 8
- 17
0
votes
1 answer
Tomcat can't find dependency of my realm
I'm developing a java web application with Netbeans and maven.
I implemented my own Realm extending class org.apache.catalina.realm.DataSourceRealm.
So, I have a parse error in context.xml caused by java.lang.ClassNotFoundException:…

Gustavo S. Vendramini
- 45
- 1
- 5
0
votes
1 answer
Glassfish JDBCRealm and request.login()
I'm having some problems logging users in using a realm and request.login(), I have found some similar questions but none that solve my problem.
Login.xhtml
…

Sergei
- 585
- 4
- 9
- 21
0
votes
2 answers
How to destroy JSF session created after Http status 403
I am using JDBCRealm to do authentication and authorization in my web app. In regard to authentication, I am using FORM with j_security_check service. I have configured everything including a HTTP Status 403 error page where the user is going to be…

DonKariro
- 71
- 7
0
votes
1 answer
Tomcat JDBCRealm authentication does not work after deploy
I have a web application that works via eclipse (locally) but after I deploy it to the server with a war file the authentication does not work, I keep getting the failure page when I'm trying to login.
I see that the username and password exist in…

Itay Gal
- 10,706
- 6
- 36
- 75
0
votes
2 answers
Tomcat 7 - JDBCRealm login
I'm using the JDBCRealm with tomcat 7. I want to build a simple login page.
This is my login form:
Login Form
and my web.xml content is:
FORM
…

Itay Gal
- 10,706
- 6
- 36
- 75
0
votes
1 answer
Setting JDBCLoginTimeoutSeconds on the ServerMBean for Weblogic
How to set up jdbc-login-timeout-seconds before I start the server. On Weblogic server startup, if a database is unreachable for a data source, Weblogic Server threads hang inside the JDBC driver code waiting for a reply from the database…

Anish George
- 165
- 1
- 4
0
votes
1 answer
how to modify the basic login authentification from tomcat with Realm?
I have a webproject with tomcat, java and jsp. I have done an authentication with Realm (Basic Authentication) in my server.xml from the tomcat like this:

java java
- 405
- 1
- 11
- 25
0
votes
1 answer
JDBC Realm error without message
I'm srtuggling at the moment with authentication of JDBC Realm. My situation is follows:
I have created JDBC Realm with GlassFish 3.1.2.2 and setup was done properly or at least I think so. I know how to config it and in fact it works fine but…

Amir
- 1,031
- 2
- 19
- 42
0
votes
1 answer
JDBC Security Popup on Glassfish 3.1.2.2
I am running a JSF application on Glassfish 3.1.2.2 with JDBC Realms authentication.
I was wondering if there was anyway that I can disable the login popup that appears whenever someone tries to access a restricted page and is not logged in and…

Phillip Huff
- 555
- 1
- 6
- 19
0
votes
0 answers
Login with custom Java EE Realm
I've created a Java EE Application with glassfish and netbeans.
I installed the custom flexible jdbc Realm from here.
I followed all the instructions and used the properties which are shown below(both to default and server-config)
datasource.jndi =…

BreJohn
- 23
- 3
- 8
0
votes
2 answers
Using JDBCRealm securing REST webservices?
I have read very nice answers here how to secure REST-services, but all of them are just pure theory and didn't help so much. How you implement JDBCRealm-FORM authentication when using REST?
Login form

Sami
- 2,311
- 13
- 46
- 80