Class LoginControllerImpl

java.lang.Object
de.dlr.proseo.usermgr.rest.LoginControllerImpl
All Implemented Interfaces:
LoginController

@Component public class LoginControllerImpl extends Object implements LoginController
Spring MVC controller for the prosEO User Manager; implements the login service.
Author:
Dr. Thomas Bassler
  • Constructor Details

    • LoginControllerImpl

      public LoginControllerImpl()
  • Method Details

    • login

      public org.springframework.http.ResponseEntity<List<String>> login(String mission)
      Let a user log in to a specific mission (the user is retrieved from the basic authentication information). Mission may be empty for the "root" user.
      Specified by:
      login in interface LoginController
      Parameters:
      mission - the code of the mission to log in to
      Returns:
      a list of authorities the user holds for this mission (directly or indirectly)