j-security-check Questions

4

Solved

I'm building a REST API with jax-rs and WildFly 10. Some of the endpoints are secured. I'm using FORM based authentication. In my javascript code, I check the response of the AJAX request, and if ...
Aeroneurosis asked 5/2, 2016 at 6:49

2

Solved

I have a JSF page which is not protected by j_security_check. I perform the following steps: Open the JSF page in a browser. Restart the server. Click a command button on the JSF page to initia...
Ca asked 19/9, 2012 at 23:10

2

Solved

I'm trying to authenticate myself to a website that uses form-based authentication (e.g., facebook.com) using the Apache HttpClient Java library. Using this website's program as a main example: htt...
Marconigraph asked 27/6, 2014 at 15:27

1

Solved

I have a web application, and I want the home page to include a login form, among other data. If the user choose to log in, he should be redirected to another page (e.g. login_success.jsp). My ques...
Mucus asked 25/5, 2013 at 16:44

4

Solved

I'm wondering what the current approach is regarding user authentication for a web application making use of JSF 2.0 (and if any components do exist) and Java EE 6 core mechanisms (login/check perm...
Pomiferous asked 5/2, 2010 at 11:45

1

Solved

I would like that the users (which are allowed to log on to my site) are loaded from a MySQL database. To do that I want to set up a JDBCRealm for my Apache Tomcat 7 application server. I've read ...
Demona asked 8/9, 2012 at 17:41

1

Solved

I have developed a simple login form to be used in my JSF + PrimeFaces page: <form action="j_security_check" method="post"> <p:dialog modal="true" header="Login" widgetVar="loginDlg"&gt...
Express asked 28/4, 2012 at 20:13

1

Solved

I am learning Java servlets on Tomcat environment. I am learning how to use form based login authentication using j_security_check. So, in my servlet, I have a login page that has j_username and j_...
Literatim asked 2/3, 2012 at 5:20

2

Solved

I get the username of the connected user (using j_security_check) this way, through a managed bean: ...... username = FacesContext.getCurrentInstance().getExternalContext().getUserPrincipal().get...
Cedrickceevah asked 26/5, 2011 at 15:39

1

I'm using j_security_check on a login.jsp. The server is GlassFish Server 3. It all works, when the user is authenticated it then opens index.jsp. My problem is I need to get j_username in my index...
Selfappointed asked 18/2, 2011 at 15:16
1

© 2022 - 2024 — McMap. All rights reserved.