About 381,000 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. python - What's the point of the "is_authenticated" method used in ...

    Feb 19, 2014 · First of all, is_anonymous() and is_authenticated() are each other's inverse. You could define one as the negation of the other, if you want. You can use these two methods to determine if a …

  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. Django user is_authenticated vs. is_active: when should I use one or ...

    Nov 23, 2022 · In addition, the Jinja block {% if user.is_authenticated %} evaluates as false if is_active is False, which is confusing when I think that user.is_authenticated is True and read-only.

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

  6. Flask-Login check if user is authenticated without decorator

    From the Flask-Login docs, it's described how a user of the system can require an authenticated User-model to access a method utilising the decorator syntax: from flask_login import login_required ...

  7. node.js - Express request.isAuthenticated - Stack Overflow

    Dec 21, 2020 · My Express app calls a request.isAuthenticated() method. However, I don't know what it checks to determine whether it's authenticated. My app needs to authenticate via OIDC. How do I tell …

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

  9. IHttpContextAccessor: IsAuthenticated always false - Stack Overflow

    Nov 28, 2024 · I'm building a .NET8 web app with a REST API where I'm trying to check if the requesting user is an admin to execute different code paths based on that but for some reason the …

  10. Github Authentication Failed - ... GitHub does not provide shell access

    Nov 16, 2014 · You've successfully authenticated, but GitHub does not provide shell access. The Github article https://help.github.com/articles/generating-ssh-keys/ says that "Shell access" should not be an …