Package io.quarkiverse.renarde.security
Class ControllerWithUser<U extends RenardeUser>
- java.lang.Object
-
- io.quarkiverse.renarde.Controller
-
- io.quarkiverse.renarde.security.ControllerWithUser<U>
-
- Type Parameters:
U- your implementation ofRenardeUser
public abstract class ControllerWithUser<U extends RenardeUser> extends Controller
A controller subtype with a current user.
-
-
Field Summary
Fields Modifier and Type Field Description protected RenardeSecuritysecurity-
Fields inherited from class io.quarkiverse.renarde.Controller
flash, identity, renderArgs, uriInfo, validation
-
-
Constructor Summary
Constructors Constructor Description ControllerWithUser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UgetUser()-
Methods inherited from class io.quarkiverse.renarde.Controller
badRequest, beforeRedirect, emptyAsNull, flash, forbidden, forbidden, notFound, notFound, notFoundIfNull, prepareForErrorRedirect, redirect, seeOther, seeOther, temporaryRedirect, validationFailed
-
-
-
-
Field Detail
-
security
@Inject protected RenardeSecurity security
-
-
Method Detail
-
getUser
protected U getUser()
-
-