Class AccessIdController


  • @RestController
    @EnableHypermediaSupport(type=HAL)
    public class AccessIdController
    extends Object
    Controller for access id validation.
    • Constructor Detail

      • AccessIdController

        @Autowired
        public AccessIdController​(LdapClient ldapClient,
                                  pro.taskana.common.api.TaskanaEngine taskanaEngine)
    • Method Detail

      • validateAccessIds

        @GetMapping(path="/api/v1/access-ids")
        public org.springframework.http.ResponseEntity<List<AccessIdRepresentationModel>> validateAccessIds​(@RequestParam("search-for")
                                                                                                            String searchFor)
                                                                                                     throws pro.taskana.common.api.exceptions.InvalidArgumentException,
                                                                                                            pro.taskana.common.api.exceptions.NotAuthorizedException
        Throws:
        pro.taskana.common.api.exceptions.InvalidArgumentException
        pro.taskana.common.api.exceptions.NotAuthorizedException
      • getGroupsByAccessId

        @GetMapping(path="/api/v1/access-ids/groups")
        public org.springframework.http.ResponseEntity<List<AccessIdRepresentationModel>> getGroupsByAccessId​(@RequestParam("access-id")
                                                                                                              String accessId)
                                                                                                       throws pro.taskana.common.api.exceptions.InvalidArgumentException,
                                                                                                              pro.taskana.common.api.exceptions.NotAuthorizedException
        Throws:
        pro.taskana.common.api.exceptions.InvalidArgumentException
        pro.taskana.common.api.exceptions.NotAuthorizedException