public interface MissingAuthenticationHandler
How the framework should respond to request missing authentication while it is required or a request failure to pass CSRF checking
Modifier and Type | Method and Description |
---|---|
void |
handle(ActionContext context)
Throw out a
Result when authentication is missing. |
org.osgl.mvc.result.Result |
result(ActionContext context)
Deprecated.
|
@Deprecated org.osgl.mvc.result.Result result(ActionContext context)
The result to be thrown out when authentication is missing.
This method is deprecated. Please use handle(ActionContext)
instead.
void handle(ActionContext context)
Throw out a Result
when authentication is missing.
context
- The action contextCopyright © 2014–2017 ActFramework. All rights reserved.