Package org.takes.facets.auth
Class PsAll
- java.lang.Object
-
- org.takes.facets.auth.PsAll
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Opt<Identity>
enter(Request request)
Authenticate the user by the request.Response
exit(Response response, Identity identity)
Wrap the response with the user.
-
-
-
Constructor Detail
-
PsAll
public PsAll(List<? extends Pass> passes, int identity)
Ctor.- Parameters:
passes
- All Passes to be checked.identity
- Index of a Pass whose Identity to return on successfulenter(Request)
-
-