• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
bhanu balaji
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
 
Uwe Lindenberg
Ranch Hand
Posts: 44
2
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • 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: 44
2
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!