This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Security: How to create custom realm class which is connected with DB. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Security: How to create custom realm class which is connected with DB." Watch "Security: How to create custom realm class which is connected with DB." New topic
Author

Security: How to create custom realm class which is connected with DB.

Kyaw Htoo
Greenhorn

Joined: Jun 19, 2006
Posts: 2
I want to know how to create custom realm in Sun Java System Application Server version 9.

I need to config and implement with security more than which supported by application server.

Please help me and give some code sinnpet for the following.

1. How to create custom realm
2. How to create class for custom realm
3. How to connect with database.
4. How to map with application.

Thanks
Kyaw Htoo.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
Please do not post the same question to multiple forums, as it is confusing and potentially time-wasting if multiple identical conversations take place simultaneously. I have deleted the other copy, because this one is more specific.


Ping & DNS - my free Android networking tools app
Kyaw Htoo
Greenhorn

Joined: Jun 19, 2006
Posts: 2
Thanks Ulf Dittmer for your advice.

Kyaw Htoo.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
A quick Google search finds this highly relevant page.
 
jQuery in Action, 2nd edition
 
subject: Security: How to create custom realm class which is connected with DB.
 
Similar Threads
Tomcat 7 custom authenticator valve not being triggered
IIS Integrated Authentication + Tomcat Form-based (or basic) Authentication
Creating users programatically
Java for log in authentication? (looking for tutorial that applies to situation)
Weblogic Security Realm