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. git - Adding SSH Key to GitHub and getting a message "You've ...

    Sep 11, 2023 · Writing any repo with git push always needs to be authenticated, and an SSH key makes the authentication easy to automate. Cloning or otherwise reading a private repo also requires …

  3. 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 …

  4. 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, …

  5. AADSTS75011 Authentication method by which the user authenticated …

    Oct 4, 2021 · Here was the hint from the article you linked to: "However, the user has already authenticated prior to access the application and the AuthnContext (authentication method) used for …

  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. 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 …

  8. c# - Require authenticated user in asp.net core but require custom ...

    Apr 6, 2016 · Require authenticated user in asp.net core but require custom policy in some actions require custom policy Asked 9 years, 9 months ago Modified 1 year, 6 months ago Viewed 19k times

  9. 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 …

  10. How can I make SMTP authenticated in C# - Stack Overflow

    Nov 18, 2008 · The problem is the smtp was not authenticated from who send the message. How can I make SMTP authenticated in my program? does C# have a class that have attribute for enter …