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

CDI SessionScoped Bean instance remains unchanged when login with different user

I've been looking for the workaround of this problem for rather plenty of time and no result, so I ask question here. Simply speaking, I'm using a CDI SessionScoped Bean User in my project to manage user information and display them on jsf pages.…
Jason Yang
  • 115
  • 1
  • 5
1
vote
2 answers

post login operation with j_security_check

I am using form-based authentication and j_security_check in my j2ee application which runs on glassfish 3.1. Problem is when login succeed I have to update some data related to authenticated user. How to make post-login operation after…
user992140
  • 23
  • 4
1
vote
1 answer

JSF user logs in successfully even after user account was locked by LDAP

I use JSF 2 deployed on Liberty 22.0.0.6 server. My FORM based authentication is against LDAP using j_security_check. It is working and my user can log in/authenticate and get LTPA2 token back. And logout functionality works as well. However, I…
pixel
  • 9,653
  • 16
  • 82
  • 149
1
vote
2 answers

How to change the original requested page used by j_security_check?

When an unauthenticated user request some resources, he will be redirected to a login page but j_security_check will keep the original requested resource. If the user login successfully, it will be redirected to that resource. The problem is that…
ggarciao
  • 1,618
  • 16
  • 29
1
vote
1 answer

Intercepting j_security_check on Tomcat to modify username for passion to LDAP in Struts 2

I need to modify the username on the login form before it is passed on to LDAP for authentication. Application is struts-based. I need to remove some characters from the j_username before it is passed on to LDAP. Whats is the best way of doing it,…
kbodh
  • 31
  • 1
  • 3
1
vote
1 answer

Rundeck: http error 500: when logging in as admin

I've been trying to set up a rundeck server but run into several issues when the authentication provided either doesn't provide full access to projects and when I've tried to modify the config files, it then fails to authenticate as shown…
1
vote
1 answer

Javaee Jboss j_security_check login always fails

I want to do a simple j_security_check Login for my Java EE project, I found this Tutorial to set it up with WildFly Server but could not yet get it to work. Everytime I try to login, I get redirected to the error page. Here is my code…
Max R.
  • 1,574
  • 2
  • 12
  • 27
1
vote
1 answer

Passing data to j_security_check with python

I have a j_security_check page on a server, and I need to pass data to it. I use Python urllib2 module, sending POST-request with j_username and j_password as parameters. The problem is that I have HTTPError 408 as a response: "The time allowed for…
1
vote
1 answer

Authenticate user with j_security_check

I am working on one application. It is using j_security_check to authenticate user. It is working fine. It authenticates user. I want to display login failure page. For this i am using FORM
ajay
  • 11
  • 1
  • 3
1
vote
1 answer

Getting HTTP 404 Not Found with multiple requests while using form based authentication

I am having an issue with Tomcat and Websphere when users try to login in our application. If a user presses multiple times the return key after entering his/her login details, the form is submitted multiple times. Tomcat and Websphere don't ignore…
Paulo Pinto
  • 632
  • 4
  • 10
1
vote
1 answer

Blank page after login on WildFly 10

I've deployed an application on Wildfly 10, that is working correctly on GlassFish, but I'm getting a blank page //j_security_check when I try to login. I've looked some posts suggesting to include cache control request headers, but it…
EPMS Devteam
  • 273
  • 2
  • 15
1
vote
0 answers

request.getUserPrincipal() returns null in WebSphere

I am using form based authentication with Websphere app server (j_security_check). I want to log the value of j_username. I am not able to do so since I get request.getUserPrincipal() as null. I am not able to get any methods in…
Rajeev Akotkar
  • 1,377
  • 4
  • 26
  • 46
1
vote
3 answers

CQ Login with own messages

Is it possible to programm an own servlet to login in CQ System and return the own message as JSON responses. I mean the same as the J_Security_Check do, but that I have the control of the messages. Login should check credentials and create token…
Try it
  • 315
  • 3
  • 17
1
vote
1 answer

j_security_check url problem

hope you can help me with this: I'm working with j_security_check and have this problem I have a profile page that must be restricted to any unloged user, so i add a security constraint in the web.xml file and works fine if i try to access by…
ErVeY
  • 1,524
  • 4
  • 16
  • 26
1
vote
2 answers

jmeter websphere 6.1 j_security_check

Can someone explain to me how to get jmeter to login. I have an http request that goes to apps/j_security_check. I have added two parameters j_username and j_password. It does not seem to authenticate the user when I run this request.
Doug
  • 390
  • 8
  • 20