Package io.inversion.action.security
Class AuthAction
- All Implemented Interfaces:
Comparable<AuthAction>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic interfacestatic interfaceNested classes/interfaces inherited from class io.inversion.Rule
Rule.RuleMatcher -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprotected Stringprotected Stringprotected AuthAction.SessionDaoprotected AuthAction.UserDaoFields inherited from class io.inversion.Rule
configMap, configStr, excludeMatchers, excludeOn, includeMatchers, includeOn, log, name, order -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidOverride this method with your custom business logic or override one of the http method "doMETHOD" specific handlers.withAuthenticatedPerm(String authenticatedPerm) withCollection(String collection) withSessionDao(AuthAction.SessionDao sessionDao) Methods inherited from class io.inversion.Rule
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, withOrder
-
Field Details
-
AUTH_ACTION_DEFAULT_ORDER_IS_100
public static final int AUTH_ACTION_DEFAULT_ORDER_IS_100- See Also:
-
collection
-
authenticatedPerm
-
sessionDao
-
userDao
-
-
Constructor Details
-
AuthAction
public AuthAction()
-
-
Method Details
-
run
Description copied from class:ActionOverride this method with your custom business logic or override one of the http method "doMETHOD" specific handlers.- Overrides:
runin classAction<AuthAction>- Parameters:
req- the Request being servicedresp- the Reponse being generated- Throws:
ApiException
-
withCollection
-
withAuthenticatedPerm
-
withSessionDao
-
withUserDao
-
getUserDao
-