cancel
Showing results for 
Search instead for 
Did you mean: 

Manage HTML response code in Post-Login

Former Member
0 Kudos

Hello,

In order to be compliant to security requirements, we need get another response code from our Portal when entering incorrect credentials.

When everything is OK, I understand HTTP response code is 200.

But when I enter incorrect credentialss, it shouldn´t be that way.

Is there a way to change this ? For example, that the system send a code 302 back?

Thanks in advance for your help and advices

Best Regards,

Jonathan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

If it can help someone else, I put SAP answer here. To be short, it´s not possible to make that change because the page is loaded correctly.

"Unfortunately there is no way to change the html code from 200 to 401

for example. When authentication fails the error is handled and

"Authentication failed" message is sent, so even if the authentication

does not work the server displays one page that is was possible to

process in the server that's why showing 200. As so for I know only

the authentication error message can be changed, please have a look in

the wiki:

http://scn.sap.com/community/enterprise-portal/blog/2014/04/18/change-the-authentication-error-messa..."

Answers (0)