return service.getAuthorizationManager().canProduce(DestinationName.get(topic),authRole); | return service.getAuthorizationManager().canProduceAsync(DestinationName.get(topic),authRole); | service.getAuthorizationManager().canProduce(DestinationName.get(topic),authRole) | service.getAuthorizationManager().canProduceAsync(DestinationName.get(topic),authRole) | pulsar | afaa63fdaa53bc04554329b43ddbf95c5b158ae8 | com.yahoo.pulsar.websocket.ProducerHandler | | _1 | isAuthorized |
---|
_2 | isAuthorized |
---|
| v0 | service.getAuthorizationManager() |
---|
v1 | DestinationName.get(topic) |
---|
v2 | authRole |
---|
| | v0 | service.getAuthorizationManager() |
---|
v1 | DestinationName.get(topic) |
---|
v2 | authRole |
---|
| Returns | True |