cancel
Showing results for 
Search instead for 
Did you mean: 

403 Forbidden Exception

Former Member
0 Kudos

Hello,

I have deployed an J2EE application consisting of only one web module. It's a simple struts application containing a little bit security checking. It's packed as simple EAR file (w/o SAP specific descriptor files). Typing in the URL the browser shows an error: "403 Forbidden. You are not authorized to view the requested resource."

What did I forget to configure? I know it's J2EE compliant. The same application runs in Bea Weblogic fine!

regards, maik

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Maik,

i got exactly the same problem. I tried out form based and base auth methods but always get a 403 error. Did you get further with that sice you started the thread?

regards, Carsten

Former Member
0 Kudos

Hi,

after some problems I got an application up and running using struts and JAAS.

As a very first approach I did the following in the visual admin:

- created a user

- assigned the user to the group Administrators

Then I had to maintain the application, useful help topics are:

- Defining Web Application Security Roles

- Configuring Authentication

- Specifying Security Constraints.

It took a bit of time but it's working.

Hope I could help,

Astrid

Former Member
0 Kudos

Hi Astrid,

thanks for your answer, first of all.

Your absolutely right, authentication works if I create a new user. But what I actually want to do is authenticate the user with my own login module which compares username and password with values in a database.

It seems that the authentication from my login module is not enaugh for the WAS.

Any idea?

regards, Carsten

Former Member
0 Kudos

Hi again,

Astrid, this was a better hint than I expected:-)

I only had to configure my resources in visual admin to accept external users....

If your not to far away I would invite you to a coffee

thanks a lot

Carsten

Former Member
0 Kudos

Hello,

I'm glad that I could help you. That's what a forum is built for, isn't it ? Next time, you'll help me.

Now I am going to drink your (java) coffee virtually. Thanks.

Have a nice day, Astrid

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Maik,

which version do you use? How do you deploy the file? How did you get the struts environment into the system?

Regards,

Benny

Former Member
0 Kudos

Hi,

could you please send me this application.

I could try to debug the problem.

Trifon Trifonov

email: trifon.trifonov@sap.com