Uses of Class
org.eclipse.hono.util.TenantObject
Packages that use TenantObject
-
Uses of TenantObject in org.eclipse.hono.tracing
Methods in org.eclipse.hono.tracing with parameters of type TenantObjectModifier and TypeMethodDescriptionstatic OptionalInt
TenantTraceSamplingHelper.applyTraceSamplingPriority
(TenantObject tenantObject, String authId, io.opentracing.Span span) Applies the trace sampling priority configured for the given tenant to the given span.static OptionalInt
TenantTraceSamplingHelper.getTraceSamplingPriority
(TenantObject tenantObject, String authId) Gets the trace sampling priority configured for the given tenant and authentication identifier. -
Uses of TenantObject in org.eclipse.hono.util
Methods in org.eclipse.hono.util that return TenantObjectModifier and TypeMethodDescriptionTenantObject.addAdapter
(Adapter adapter) Adds an adapter configuration.TenantObject.addTrustAnchor
(byte[] publicKey, String publicKeyAlgorithm, X500Principal subjectDn, String authIdTemplate, Boolean autoProvisioningEnabled) Adds a trusted certificate authority to use for authenticating devices of this tenant.TenantObject.addTrustAnchor
(PublicKey publicKey, X500Principal subjectDn, Boolean autoProvisioningEnabled) Adds a trusted certificate authority to use for authenticating devices of this tenant.static TenantObject
Creates an enabled tenant for a tenantId.static TenantObject
Creates a TenantObject for a tenantId and the enabled property.TenantObject.setAdapters
(List<Adapter> adapters) Sets the given list of adapters for the tenant.TenantObject.setDefaults
(io.vertx.core.json.JsonObject defaultProperties) Sets the default property values to use for all devices of this tenant.TenantObject.setMinimumMessageSize
(int payloadSize) Sets the minimum message size in bytes.TenantObject.setProperty
(String name, Object value) Adds a property to this tenant.TenantObject.setResourceLimits
(io.vertx.core.json.JsonObject resourceLimits) Sets the resource limits for the tenant.TenantObject.setResourceLimits
(ResourceLimits resourceLimits) Sets the resource limits for the tenant.TenantObject.setTracingConfig
(TenantTracingConfig tracing) Sets this tenant's tracing configuration.TenantObject.setTrustAnchor
(PublicKey publicKey, X500Principal subjectDn) Sets the trusted certificate authority to use for authenticating devices of this tenant.