Search code examples
springspring-securityhttp-authentication

Spring Security - Basic HTTP Authentication - change server message


If you are authenticating yourself with basic HTTP Authentication, you will see a popup like this: enter image description here

I want to change: The server says: Spring Security Application to something else. But I am not sure where to change this?


Solution

  • Specify a realm.

    Eg.

    <http realm="My Owesome Web App">