Uses of Interface
com.peterphi.std.guice.common.auth.iface.CurrentUser
Package
Description
-
Uses of CurrentUser in com.peterphi.std.guice.common.auth.iface
Modifier and TypeMethodDescriptionAccessRefuser.refuse
(AuthScope scope, AuthConstraint constraint, CurrentUser user) Return a Throwable (should either be an Error or a RuntimeException) to be raised when the provided user fails the authentication constraint -
Uses of CurrentUser in com.peterphi.std.guice.web.rest.auth.interceptor
Modifier and TypeMethodDescriptionAuthConstraintUserInterrogator.getUser()
Returns the underlying user record for the current user, for retrieving Access Refuser, etc.
The return of this method will not be used to bypass theAuthConstraintUserInterrogator.hasRole(String)
method on the interrogatorPassthroughUserInterrogator.getUser()
-
Uses of CurrentUser in com.peterphi.std.guice.web.rest.auth.oauth2
Modifier and TypeMethodDescriptionRedirectToOAuthAccessRefuser.refuse
(AuthScope scope, AuthConstraint constraint, CurrentUser login) -
Uses of CurrentUser in com.peterphi.std.guice.web.rest.auth.userprovider
Modifier and TypeMethodDescriptionWebappAuthenticationModule.getCurrentUser
(com.google.inject.Injector injector, javax.servlet.http.HttpServletRequest request) -
Uses of CurrentUser in com.peterphi.std.guice.web.rest.templating.thymeleaf
ModifierConstructorDescriptionThymeleafTemplater
(org.thymeleaf.TemplateEngine engine, GuiceConfig configuration, com.codahale.metrics.MetricRegistry metrics, com.google.inject.Provider<CurrentUser> userProvider) ThymeleafTemplater
(org.thymeleaf.TemplateEngine engine, GuiceConfig configuration, com.codahale.metrics.MetricRegistry metrics, com.google.inject.Provider<CurrentUser> userProvider, boolean isTransientInstance) -
Uses of CurrentUser in com.peterphi.usermanager.guice.authentication
Modifier and TypeMethodDescriptionUserLoginModule.getLogin
(CurrentUser user) Auto-cast the user manager's CurrentUser to a UserLogin