@Path(value="/security") @Service @Produces(value="application/json") public class SecurityResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected org.ligoj.app.iam.IamProvider[] |
iamProvider |
| Constructor and Description |
|---|
SecurityResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
login(User user)
Check the user credentials.
|
@Autowired protected org.springframework.context.ApplicationContext applicationContext
@Autowired protected org.ligoj.app.iam.IamProvider[] iamProvider
@POST @Path(value="login") @Consumes(value="application/json") public javax.ws.rs.core.Response login(User user)
user - the user 's credentials.Response that may contain additional cross-domain cookies.Copyright © 2017 Gfi Informatique. All rights reserved.