• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic