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

j_security_check need user name to populate form from database

I am working on a homework assignment that is due shortly and I have searched and searched and searched for the answer to this and I just don't know where to go at this point. I am using Eclipse Juno, with Tomcat 7.0 and a MySql database. I have to…
JenRobb
  • 13
  • 2
  • 8
0
votes
2 answers

Java forms auth with j_security_check and Glassfish

I'm dipping my toe into the murky waters of Java and I'm working through the PackPub JavaEE 6 With Netbeans7 book . One of the early examples is forms authentication which involves setting up deployment descriptor (web.xml) with a security role…
LDJ
  • 6,896
  • 9
  • 52
  • 87
0
votes
1 answer

Websphere j_security_check struts2 issue

I have a web project working fine in JBOSS with form-based auth. But when i deploy the same in websphere 7 i am getting HTTP 500 error. My web.xml Test struts2
paramupk
  • 626
  • 1
  • 11
  • 32
0
votes
0 answers

websphere url context error (JSPG0036E)

Issue on Websphere 6.1 I hope I'm missing something obvious: We have an application which gets deployed to a configured Websphere environment. We're trying to mimic this WebSphere configuration on a different platform (Linux vs Solaris), but maybe…
dr jerry
  • 9,768
  • 24
  • 79
  • 122
0
votes
1 answer

Adding user role constraint redirects Browser to jsf.js script?

My JSF form login was working with Constraint 1 however when I added Constraint 2 to my web.xml doing a submit on the form now takes me to a jsf javascript page. Can someone tell me what I am doing wrong? I'm hoping this is a quick configuration…
simgineer
  • 1,754
  • 2
  • 22
  • 49
0
votes
0 answers

ManagedBeanCreationException issue while setting up for JSF/j_security_check test

I'm hoping someone can give me a hint at what's going on here with this exception. I'm putting together an environment where i can test out j_security_check with JSF and what I'm noticing is when i redeploy my application without restarting…
simgineer
  • 1,754
  • 2
  • 22
  • 49
0
votes
2 answers

j_username cannot be accessed using spring_security_check

I created a login page using spring_security_check. Here:
User:
Matin Kh
  • 5,192
  • 6
  • 53
  • 77
0
votes
1 answer

Glassfish 3.1.2 - after creating cluster & deploying app j_security_check loop

I've finally got my app deployed to a 2 instance single node test cluster fronted by apache/mod_jk load balancing. In a non-clustered environment I've been using container security with JDBCRealm for ages and it works reliably. In the cluster…
Oversteer
  • 1,778
  • 1
  • 22
  • 38
0
votes
2 answers

Porting j_security_check from JBOSS to Websphere

I am using j_security_check for my struts web project and i am deploying it in jboss. In my web.xml i have defined role testuser, created a jar file which contains users.properties and roles.properties with jar name as TestUserInfo.jar where Test…
paramupk
  • 626
  • 1
  • 11
  • 32
0
votes
1 answer

Can j_security_check authentication be followed by another web authentication mechanism?

In my web app, I am using form-based login. I have a scenario where I have to validate the users present in a different database in addition to the data of the table set in login-config.xml. So,I was thinking of this flow: User tries to access a…
Sudhakar
  • 3
  • 2
0
votes
1 answer

Websphere pre-login to j_security_check

I am using Websphere with j_security_check and I have a working login filter with CONFIDENTIAL and SSL settings. Due to some complex requirements, I need to process the j_username variable before performing j_security_check. From one of the answers…
-1
votes
1 answer

Images in JSP page do not display on first load (cleared cache)

I have a web app running on tomcat that requires a user to login via j_security_check. The page redirects the user to a login.jsp page if they are not logged in. I added some images to the jsp and these images do not appear on the page if it is…
Dan
  • 57
  • 3
  • 11
-3
votes
1 answer

ViewExpiredException not thrown on ajax request if JSF page is protected by j_security_check - Follow up

ViewExpiredException not thrown on ajax request if JSF page is protected by j_security_check provides the solution when the login page is the JSF page. But what if the login page is a JSP page? I have a jsp login page:
1 2 3
10
11