Skip to Content
avatar image
Former Member

Manage HTML response code in Post-Login

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 24, 2015 at 09:24 AM

    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-messages-text-on-logon-page-for-sap-netweaver-portal-73"

    Add comment
    10|10000 characters needed characters exceeded