• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Unable prevent multiple login using the same user name and password using jsf +jpa +oracle

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm new to jsf & i'm not able to prevent multiple login using the same user name and password using jsf +jpa +oracle.

I'm not getting any error, but i'm able to login through different browsers(IE,Chrome).

Below are list of my source files.
1.login.xhtml
2.User.java
3.UserQuery.Java
4.persistance.xml
5.LoginBean.java
6.Util.java
7.AuthFilter.java
8.web.xml

Much appreciated any help or idea in this regard.

Thanks in Advance.
Bala
 
Ranch Hand
Posts: 45
2
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bala,

Did you read this article:

http://docs.oracle.com/javaee/5/tutorial/doc/bnbxj.html

I think writing your own realm-class is a good idea.

Best regards,

Uwe
 
Uwe Lindenberg
Ranch Hand
Posts: 45
2
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh sorry. It is not a realm class, but a part of the web servers configurations file.  I will post the snippet for Wildfly soon
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic