Class AuthorizationServerEndpoint


  • @FrameworkRestController
    @FrameworkMapping("/servers")
    public class AuthorizationServerEndpoint
    extends Object
    • Method Detail

      • readAll

        @FrameworkGetMapping
        @Policy(permissionRoots="AUTHORIZATION_SERVER",
                operationTypes=READ)
        public org.springframework.data.domain.Page<AuthorizationServer> readAll​(@ContextOperation(READ)
                                                                                 com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
                                                                                 org.springframework.data.domain.Pageable pageable)
      • readServerById

        @FrameworkGetMapping("/{id}")
        @Policy(permissionRoots="AUTHORIZATION_SERVER",
                operationTypes=READ)
        public AuthorizationServer readServerById​(@PathVariable("id")
                                                  String id)
      • replaceServer

        @FrameworkPutMapping("/{id}")
        @Policy(permissionRoots="AUTHORIZATION_SERVER",
                operationTypes=UPDATE)
        public AuthorizationServer replaceServer​(@PathVariable("id")
                                                 String id,
                                                 @RequestBody
                                                 AuthorizationServer server)
      • createServer

        @FrameworkPostMapping
        @Policy(permissionRoots="AUTHORIZATION_SERVER",
                operationTypes=CREATE)
        public AuthorizationServer createServer​(@RequestBody
                                                AuthorizationServer server,
                                                @ContextOperation(CREATE)
                                                com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      • delete

        @FrameworkDeleteMapping("/{id}")
        @Policy(permissionRoots="AUTHORIZATION_SERVER",
                operationTypes=DELETE)
        public void delete​(@PathVariable
                           String id)