@ApplicationScoped @Controller(module="memBearer") public class MemBearerController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.appslandia.common.jose.JwtProcessor |
jwtProcessor |
protected MemUserDatabase |
memUserDatabase |
| Constructor and Description |
|---|
MemBearerController() |
| Modifier and Type | Method and Description |
|---|---|
Result<String> |
index() |
Result<String> |
login(RequestAccessor request,
String userName,
String password) |
Result<String> |
test() |
@Inject protected MemUserDatabase memUserDatabase
@Inject @MemVersion protected com.appslandia.common.jose.JwtProcessor jwtProcessor
@HttpGet @EnableGzip(removed=true) public Result<String> index()
@HttpGet @EnableGzip(removed=true) public Result<String> login(RequestAccessor request, @Param(value="userName") String userName, @Param(value="password") String password) throws Exception
Exception@HttpGet @Authorize @EnableGzip(removed=true) public Result<String> test()
Copyright © 2020. All rights reserved.