public class AuthAction extends Action<AuthAction>
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthAction.InMemoryRevokedTokenCache |
static class |
AuthAction.InMemorySessionDao |
static class |
AuthAction.JwtUserDao |
static interface |
AuthAction.SessionDao |
static interface |
AuthAction.UserDao |
Rule.RuleMatcher| Modifier and Type | Field and Description |
|---|---|
static int |
AUTH_ACTION_DEFAULT_ORDER_IS_100 |
protected java.lang.String |
authenticatedPerm |
protected java.lang.String |
collection |
protected AuthAction.SessionDao |
sessionDao |
protected AuthAction.UserDao |
userDao |
configMap, configStr, excludeMatchers, excludeOn, includeMatchers, includeOn, log, name, order| Constructor and Description |
|---|
AuthAction() |
| Modifier and Type | Method and Description |
|---|---|
AuthAction.UserDao |
getUserDao() |
void |
run(Request req,
Response resp)
Override this method with your custom business logic or override one of the
http method "doMETHOD" specific handlers.
|
AuthAction |
withAuthenticatedPerm(java.lang.String authenticatedPerm) |
AuthAction |
withCollection(java.lang.String collection) |
AuthAction |
withSessionDao(AuthAction.SessionDao sessionDao) |
AuthAction |
withUserDao(AuthAction.UserDao dao) |
checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludePaths, getConfig, getConfig, getConfigKeys, getDefaultIncludeMatch, getExcludeMatchers, getIncludeMatchers, getName, getOrder, match, matches, matches, toString, withConfig, withExcludeOn, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withIncludeOn, withName, withOrderpublic static final int AUTH_ACTION_DEFAULT_ORDER_IS_100
protected java.lang.String collection
protected java.lang.String authenticatedPerm
protected AuthAction.SessionDao sessionDao
protected AuthAction.UserDao userDao
public void run(Request req, Response resp) throws ApiException
Actionrun in class Action<AuthAction>req - the Request being servicedresp - the Reponse being generatedApiExceptionpublic AuthAction withCollection(java.lang.String collection)
public AuthAction withAuthenticatedPerm(java.lang.String authenticatedPerm)
public AuthAction withSessionDao(AuthAction.SessionDao sessionDao)
public AuthAction withUserDao(AuthAction.UserDao dao)
public AuthAction.UserDao getUserDao()
Copyright © 2021 Rocket Partners, LLC. All rights reserved.