jdbcrealm Questions

1

Solved

I have this security configuration in Glassfish domain.xml which works for 4.0 but fail in 4.1.1 can someone help to identify what is wrong. The only difference is the class package "ee" GF 4.0 (w...
Uveitis asked 18/11, 2016 at 22:11

5

Solved

I am having a simple Java web application with not more than 20-25 users who would be logged in. I am currently using tomcat server to host it and am using the UderDatabaseRealm for access control....
Investiture asked 5/11, 2014 at 16:6

3

Solved

We are currently using tomcat 5.5 and would like to add a salt to our JDBCRealm authentication. I was wondering if there was any existing classes or do we need to extend JDBCRealm and write our own...
Jambeau asked 8/6, 2011 at 13:4

2

I am using tomcat 8.0. I configured a realm element in the context.xml file which specifies that I will be implementing the DataSourceRealm. In addition, as per the tomcat 8 realm configuration ins...
Lucillelucina asked 19/5, 2015 at 15:59

1

I've recently updated Glassfish from 3.1.2 to 4.0 and wanted to set up a JDBCRealm that I used before on my app which uses FORM based authentication. The passwords are hashed with SHA-256 in the da...
Diddle asked 29/3, 2014 at 12:21

4

Solved

How do you use a JDBCRealm to handle authenticating and authorizing users in servlets? The only example I can find is to create the DataSource in web.xml (such as Authentication against database us...
Stringendo asked 3/7, 2013 at 6:22

2

Solved

I'm using GlassFish server 4.0 in which I have assigned different authorities/roles to different users. A user may have multiple authorities/roles. For example, an admin user may be associated wit...
Reber asked 2/11, 2013 at 18:16

1

Solved

Currently I've a Swing app and I wan't to integrate Apache Shiro in order to authenticate and delegate permissions to certain roles. I've already managed to read the users from the shiro.ini file t...
Shantelleshantha asked 10/9, 2013 at 20:39

1

Solved

I am trying to authenticate a servlet running within Tomcat 6 using Shiro. I have the following shiro.ini file: [main] ps = org.apache.shiro.authc.credential.DefaultPasswordService pm = org.apach...
Disc asked 3/7, 2013 at 5:43

1

Solved

I would like that the users (which are allowed to log on to my site) are loaded from a MySQL database. To do that I want to set up a JDBCRealm for my Apache Tomcat 7 application server. I've read ...
Demona asked 8/9, 2012 at 17:41

1

Solved

It is my first post here. I would have two questions with regard to declarative Java EE security: (1) file-based authentication and (2) DB-based authentication. I enclosed the relevant parts of the...
Eidson asked 7/5, 2012 at 13:40

2

Solved

I have the following database schema (MySQL): My login is a form based authentication system, to which i am trying to create a jdbc realm. My web.xml: <login-config> <auth-method...
Reinaldoreinaldos asked 20/2, 2012 at 3:56

1

Solved

I configured a new jdbcRealm in Glassfish 3.1.1 and turned on FINEST logging and I get the following when I try to login with a username and password. It complains that the realm my web app is mapp...
Vaughnvaught asked 29/11, 2011 at 5:34

1

Solved

I'm trying to set a container managerd security a realm for my web app (JSF 2.1 + hibernate). I have noticed that Tomcat 7 can only use one type of realm at a time. To use Tomcat in netbeans (7.0)...
Showplace asked 8/11, 2011 at 16:14

1

Solved

I am attempting to setup container managed security with GlassFish v3.1.1 Build 12 and JSF 2.1. I keep getting the following exception for some reason and I am unable to login. WARNING: WEB9102: W...
Villalpando asked 29/10, 2011 at 21:5

1

Solved

I want to know if it's possible to create JDBC Realm configuration in Glassfish 3.1 without admin console, like creation of a Data Source with the glassfish-resources.xml. When developers download ...
Osculation asked 21/10, 2011 at 16:17

1

Solved

I use jdbcRealm for security in my glassfish v3.0.1 b22. It is set up so that it use the USER table inside my database for authentication by following this blog: http://blogs.oracle.com/foo/entry/m...
Leeleeann asked 9/8, 2010 at 21:53

1

I have created web services based on Jersey (auto generated via Netbeans). I have also created a user names “testClient” with password “secret” and created User group “Users” and used file Realm u...
Cuttlefish asked 8/8, 2010 at 12:32
1

© 2022 - 2024 — McMap. All rights reserved.