Uses of Interface
com.peterphi.std.guice.common.auth.iface.CurrentUser
Packages that use CurrentUser
Package
Description
-
Uses of CurrentUser in com.peterphi.std.guice.common.auth.iface
Methods in com.peterphi.std.guice.common.auth.iface with parameters of type CurrentUserModifier 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
Methods in com.peterphi.std.guice.web.rest.auth.interceptor that return CurrentUserModifier 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
Classes in com.peterphi.std.guice.web.rest.auth.oauth2 that implement CurrentUserMethods in com.peterphi.std.guice.web.rest.auth.oauth2 with parameters of type CurrentUserModifier and TypeMethodDescriptionRedirectToOAuthAccessRefuser.refuse
(AuthScope scope, AuthConstraint constraint, CurrentUser login) -
Uses of CurrentUser in com.peterphi.std.guice.web.rest.auth.userprovider
Methods in com.peterphi.std.guice.web.rest.auth.userprovider that return CurrentUserModifier 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
Constructor parameters in com.peterphi.std.guice.web.rest.templating.thymeleaf with type arguments of type CurrentUserModifierConstructorDescriptionThymeleafTemplater
(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
Subinterfaces of CurrentUser in com.peterphi.usermanager.guice.authenticationMethods in com.peterphi.usermanager.guice.authentication with parameters of type CurrentUserModifier and TypeMethodDescriptionUserLoginModule.getLogin
(CurrentUser user) Auto-cast the user manager's CurrentUser to a UserLogin