Class UserController

java.lang.Object
org.tailormap.api.controller.UserController

@RestController public class UserController extends Object
Provides user and login information
  • Constructor Details

  • Method Details

    • getUser

      @GetMapping(path="${tailormap-api.base-path}/user", produces="application/json") public org.springframework.http.ResponseEntity<Serializable> getUser()
      Get user login information.
      Returns:
      isAuthenticated, username, roles
    • getSSOEndpoints

      @GetMapping(path="${tailormap-api.base-path}/login/configuration", produces="application/json") public org.springframework.http.ResponseEntity<LoginConfiguration> getSSOEndpoints()