Questions tagged [j-security-check]

j_security_check is a default URL in web applications using JAAS, the Java Authentication and Authorization Service, and Spring Security. It is used to implement security.

j_seucrity_check is the action that needs to be set on a html form when using Java Servlet Form Authentication (container security).

See the Java Tutorial for more information.

163 questions
0
votes
1 answer

Authenticating encrypted password with j_security_check

I am trying to authenticate a username and password using j_security_check with tomcat. The postgresql database holds the password encrypted and am not sure (at all) how to compare the plain text password to the encrypted database password. Thanks…
0
votes
1 answer

JAAS with grizzly websockets does not work

Why doesn't @RolesAllowed of JAAS work i.e. why there is no exception when an unauthorized websocket request comes to the server. If the same request is an ajax request it works perfectly! I am using grizzly websockets and glassfish server.
Mumzee
  • 719
  • 1
  • 11
  • 25
0
votes
0 answers

j_security_check always return fail

I've try to done a assignment at school. But, I'm facing problem. j_security_check alway return fail. I've try to google many document. but it couldn't solve this. Anyone has some idea? And how to redirect new page after login, now i can see i could…
Kevin Huynh
  • 39
  • 1
  • 1
  • 8
0
votes
1 answer

get j_username in j_security_check JSF 2.0

I have simple page, I want to retrieve j_username to save it in session as a logged in user, i can't fetch it from the form. here Server it self perform authentication in this code
Sarz
  • 1,970
  • 4
  • 23
  • 43
0
votes
0 answers

commandButton to commandLink in a login form

This is my xhtml login page ...
RevivedPicard
  • 129
  • 2
  • 12
0
votes
1 answer

Implementing j_security_check bypass

I have an application based on JSF 2.2 with Primefaces, that uses j_security_check to authenticate users. The application is doing well, but we have a situation, where other applications can authenticate the same user. The problem is, that this…
0
votes
1 answer

can I write actionListner or action for

I need to execute a backing bean method using a in the following form:
nrupen
  • 65
  • 1
  • 9