Class UserAuthenticationService


  • @HTTPMonitored
    @Path("/user")
    public class UserAuthenticationService
    extends java.lang.Object
    UserAuthentication micro service.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response addLDAPGroup​(java.lang.String name, java.lang.String description)  
      javax.ws.rs.core.Response addUser​(org.wso2.msf4j.examples.petstore.util.model.User user)  
      javax.ws.rs.core.Response authenticate​(org.wso2.msf4j.examples.petstore.util.model.User user)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserAuthenticationService

        public UserAuthenticationService()
    • 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)