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
0 answers

Java j_security_check 404

I have an app with protected directory, so when I enter in it asks for username and password in a form, with the action "j_security_check" and "j_username" and "j_password". j_security its working fine, because if I put wrong credentials it…
Arnau
  • 9
  • 9
0
votes
0 answers

Intercept / filter j_security authentication

In my realm I'm intercepting the authentication of j_security_check, execute some other code and redirect to j_security afterwards. I managed to do that like so: @Override public void doFilter(ServletRequest servletRequest, ServletResponse…
Greta
  • 300
  • 1
  • 10
0
votes
0 answers

j_security_check does not redirect status code 200 instead of 303

I'm new with auth. On test environment (behind vpn) click on the popup login, a POST is sent at the following url: https://local:5556/XYZ-Doc/j_security_check with status code 303 and location in response header such…
0
votes
1 answer

JSF user lockout after X failed login attempts

For my JSF 2.3 application, I use form login in to authenticate user (against LDAP). The container is Liberty server. This is all working fine. However, I am trying to implement user lockout after 3 failed login attempts and I am not sure how to do…
pixel
  • 9,653
  • 16
  • 82
  • 149
0
votes
1 answer

Jakarta and Glassfish - Basic authentication works, Form authentication do not

I am pretty new into web development. Currently I am trying to do an Form Based Authentication on my Jakarta app. I managed to create a realm on Glassfish 6.0.0 and to integrate it on the web.xml descriptor. I managed to make the Basic…
0
votes
1 answer

Login form for webapp refreshing endlessly on submit in IE 8, works fine in Firefox

I have a simple username/password form that on submit does a j_security_check on an LDAP for user credentials. Improper credentials behave as expected in both browsers, but when you give the form correct credentials and hit Submit, FF behaves as…
Brian
  • 1
0
votes
0 answers

Nginx authenticate against backend server with j_security_check

I need a reverse proxy for a backend Rest API to avoid CORS and debugging issues while developing a Svelte App. I've tried a few options like Node JS Express with http-proxy-middleware, Nginx, etc. The problem is that the backend JAX-RS Rest API…
jachsa
  • 1
  • 1
0
votes
1 answer

j_security_check for jsf app not working in IE

I have a simple jsf app developed and working on tomcat 6.0.13. I added some security contraints to the entire application by adding the usual setting in web.xml. When I now deploy the application to tomcat and check, it works absolutely fine in…
ManiP
  • 713
  • 2
  • 8
  • 19
0
votes
1 answer

how to redirect to j_security_check in the managed bean?

i've successfully run a based FORM authentication project and trying to do the same with an icefaces project. In other terms i want to use ice:form instead of form, so i was wondering if i could redirect the login request to j_security_check in the…
boskonovic
  • 125
  • 3
  • 16
0
votes
3 answers

Migrate LDAP configurarions from Websphere to Liberty

I'm starting with a new maven web jsf application in local development. I have already a correctly configured Websphere 8.5 application server with correct configurations to use ldap. The new project will use Liberty instead traditional Websphere. I…
Falco
  • 1,458
  • 3
  • 19
  • 47
0
votes
1 answer

Java EE: Unauthenticated POST and j_security_check

I tried to do some research on this and came across the following question on another site: http://www.theserverside.com/discussions/thread.tss?thread_id=36561 Unfortunately, the answer there was to switch to GET requests, which I'm hoping there's a…
Nick
  • 2,265
  • 7
  • 30
  • 34
0
votes
2 answers

J_scurity_check fails in Firefox 4

The applications works fine in Firefox3.6 ,all versions of IE. I downloaded Firefox 4 and tried to login. When I entered user name and password and click on submit button, It just clears the labels and when I hit on refresh button it submits the…
tapps
  • 51
  • 2
  • 11
0
votes
1 answer

j_security_check filter is not working in jboss eap 6.4

I searched fıor a solution on internet and could not find anything. My Issue is about using j_security_check on my login.jsp to filter and forward it to postloginfilter.java. To do so I have wrote these lines in web.xml
Cantek Çetin
  • 41
  • 1
  • 7
0
votes
0 answers

Pentaho can't do Login with only ONE user. All other users works fine

I am using Pentaho integrated with other app developed. I am using Multi-Tenancy 1234@test, for example, and I login in pentaho through the app, not directly by pentaho login screen. We use Nginx to Proxy Pentaho. The problem is: All the users…
Yago
  • 1
  • 1
  • 3
0
votes
1 answer

Request to j_security_check return 408 error only with right paramters

I want to send request to j_security_check from servlet and get auth cookie from response. Code: String url = "http://someserver:8080/j_security_check?j_username=user&j_password=qwerty"; HttpURLConnection connection = (HttpURLConnection) new…
Alexander
  • 315
  • 2
  • 10