cancel
Showing results for 
Search instead for 
Did you mean: 

Custom 401 " Unauthorized" Error page

Former Member
0 Kudos

Hey,

Could it be to customize the 401 "Unauthorized" error page ?

Let me know

a great day to everyone

Quentin

Accepted Solutions (1)

Accepted Solutions (1)

ekaterinamitova
Advisor
Advisor
0 Kudos

Hi Quentin,

Which version of the SAP AS Java are you using? It is possible that this functionality does not exist in the version that you use.

Best regards,

Ekaterina

Former Member
0 Kudos

here is our SAP AS version :

SAP ECC6 unicode

SAP J2EE Engine/7.00

Thanks for your help

Quentin

ekaterinamitova
Advisor
Advisor
0 Kudos

Hi Quentin,

Unfortunately, as far as I know this is not possible in this version. However I found something related to this issue in the documentation:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f9/4b8e3a89210f25e10000000a11405a/frameset.htm

This functionality will be available in the latest version for sure.

Best regards,

Ekaterina

Former Member
0 Kudos

With witch JAVA AS version is it possible to create custom 401 error pages?

Every time i get :


401
Unauthorized 
  Details:   No details available

is it possible to get more details about the error ?

I tried to change the "detailedErrorResponse"settings HTTP provider into the Visual Admin without any luck .

Anyone ?

Quentin

ekaterinamitova
Advisor
Advisor
0 Kudos

I will check for any possibilities and will write you back.

Former Member
0 Kudos

Thank you

ekaterinamitova
Advisor
Advisor
0 Kudos

Hi Quentin,

There is a way to customize your error pages. The procedure is described in SAP Note 795699.

Best regards,

Ekaterina

Former Member
Former Member
0 Kudos

NOt working

Edited by: Quentin Dubois on Sep 24, 2010 7:32 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, we try to handle the 401 - Unauthorized error: after adapting parts from the example in SAP Note 795699 it don't deploys. How is the process to change such a file? None of our tools are recognizing .ear, .war and .class in a SAP context.

Thanks,

Tobias

Former Member
0 Kudos

Does anyone knows where the 401 page is on the java server !!

they might be somewhere ??

thanks

Quentin

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

yes, the procedure is the one described already:

#795699 -- Customizing default error messages for HTTP

ear, war, etc is just a zip like archive... If you rename it to zip, you'll be able to extract it.

Best Regards,

Ervin

Former Member
0 Kudos

It worked, sorry for complaining.

adding the following ,made it work.

<servlet>

<servlet-name>401.jsp</servlet-name>

<jsp-file>/error/401.jsp</jsp-file>

</servlet>

<error-page>

<error-code>401</error-code>

<location>/error/401.jsp</location>

</error-page>

I had to work on my msecuryty constrainst and i could access to the page.

good day and sorry again

quentin