Class AuthorizationServerEndpoint

java.lang.Object
com.broadleafcommerce.auth.server.web.endpoint.AuthorizationServerEndpoint

@FrameworkRestController @FrameworkMapping("/servers") public class AuthorizationServerEndpoint extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • 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, @PageableDefault(size=50) 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)
    • getAuthorizationServerService

      protected AuthorizationServerService<AuthorizationServer> getAuthorizationServerService()