public static class Security.AuthenticatedAction extends Action<Security.Authenticated>
The user name is retrieved from the session cookie, and added to the HTTP request's
username
attribute.
Action.Simple
Results.ByteChunks, Results.Chunks<A>, Results.Redirect, Results.Status, Results.StatusHeader, Results.StringChunks, Results.Todo
configuration, delegate
Constructor and Description |
---|
AuthenticatedAction() |
AuthenticatedAction(Injector injector) |
Modifier and Type | Method and Description |
---|---|
F.Promise<Result> |
call(Http.Context ctx)
Executes this action with the given HTTP context and returns the result.
|
badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, created, created, created, created, created, created, created, created, created, created, created, created, created, created, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, found, found, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, movedPermanently, movedPermanently, noContent, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, redirect, redirect, seeOther, seeOther, status, status, status, status, status, status, status, status, status, status, status, status, status, temporaryRedirect, temporaryRedirect, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized
public AuthenticatedAction()
@Inject public AuthenticatedAction(Injector injector)
public F.Promise<Result> call(Http.Context ctx)
Action
call
in class Action<Security.Authenticated>