Class UserAuthenticationService
- java.lang.Object
-
- org.wso2.msf4j.examples.petstore.security.UserAuthenticationService
-
@HTTPMonitored @Path("/user") public class UserAuthenticationService extends java.lang.ObjectUserAuthentication micro service.
-
-
Constructor Summary
Constructors Constructor Description UserAuthenticationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponseaddLDAPGroup(java.lang.String name, java.lang.String description)javax.ws.rs.core.ResponseaddUser(org.wso2.msf4j.examples.petstore.util.model.User user)javax.ws.rs.core.Responseauthenticate(org.wso2.msf4j.examples.petstore.util.model.User user)
-
-
-
Method Detail
-
authenticate
@POST @Consumes("application/json") @Path("/login") @Timed public javax.ws.rs.core.Response authenticate(org.wso2.msf4j.examples.petstore.util.model.User user)
-
addUser
@POST @Consumes("application/json") @Path("/add") @Timed public javax.ws.rs.core.Response addUser(org.wso2.msf4j.examples.petstore.util.model.User user)
-
addLDAPGroup
@POST @Consumes("application/json") @Path("/ldapgroup/{name}/{description}") @Timed public javax.ws.rs.core.Response addLDAPGroup(@PathParam("name") java.lang.String name, @PathParam("description") java.lang.String description)
-
-