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

    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 …

  2. 403 Forbidden vs 401 Unauthorized HTTP responses - Stack …

    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 …

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

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

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

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

  6. 5.7.57 SMTP - Client was not authenticated to send anonymous …

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

  7. c# - ASP.NET Core 7 Web API - Stack Overflow

    Jun 27, 2023 · ASP.NET Core 7 Web API - authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user Asked 2 …

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

    Apr 6, 2016 · My Asp.net core site required authentication by default services.AddMvc(config => { //only allow authenticated users var policy = new AuthorizationPolicyBuilder() .

  9. c# - How does Request.IsAuthenticated work? - Stack Overflow

    HttpRequest.IsAuthenticated will be true when the user making the request has been authenticated. Essentially, this property provides the same information as …

  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 …