About 50 results
Open links in new tab
  1. java - Spring Security Expression: "authenticated" vs. "isAuthenticated ...

    Oct 10, 2021 · According to the Spring Security docs, the expression to check whether a user is authenticated is isAuthenticated(). So we would do @PreAuthorize("isAuthenticated()"), for example.

  2. Spring Security: what do authorizeRequests (), anyRequest () and ...

    authorizeRequests() Allows restricting access based upon the HttpServletRequest using RequestMatcher implementations. permitAll() This will allow the public access that is anyone can …

  3. 403 Forbidden vs 401 Unauthorized HTTP responses - Stack Overflow

    Jul 21, 2010 · A clear explanation from Daniel Irvine [original link]: There's a problem with 401 Unauthorized, the HTTP status code for authentication errors. And that’s just it: it’s for authentication, …

  4. What is "additional authenticated data" in AES-GCM?

    13 AAD stands for Additional Authenticated Data or Additional Associated Data. This is data that can be send in the clear together with the cipher text. Both the encrypted message and the AAD are …

  5. 5.7.57 SMTP - Client was not authenticated to send anonymous mail ...

    I have to send mails using my web application. Given the below code showing The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 …

  6. How to check if a user is logged in (how to properly use user.is ...

    The document says: Read-only attribute which is always True (as opposed to AnonymousUser.is_authenticated which is always False). This is a way to tell if the user has been …

  7. spring security - why securitycontextholder assigned as anonymous ...

    Feb 1, 2025 · spring cloud gateway works as expected and User also authenticated by keycloak. But why securitycontextholder assigned as anonymous securitycontext for authenticated users.below is …

  8. Only Allow Authenticated Users (Entra, B2C) - Stack Overflow

    Jul 3, 2024 · Problem: I am trying to setup an Azure Static Web App so the html content of it would be only accessible to the authenticated (Entra B2C) users: 1. What I have: I have a static web app in …

  9. language agnostic - What HTTP code to use in "Not Authenticated" …

    Jun 23, 2016 · Unless you intend to use HTTP authentication, the correct response is 403 ("Forbidden"). A response code of 401 triggers the browser to display a password dialog box, and then resubmit the …

  10. 5.7.57 Client not authenticated to send mail - Stack Overflow

    Jan 12, 2022 · The server response was: 5.7.57 Client not authenticated to send mail. Error: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Mailbox.