Codota Logo
org.eclipse.hono.service.credentials
Code IndexAdd Codota to your IDE (free)

How to use org.eclipse.hono.service.credentials

Best Java code snippets using org.eclipse.hono.service.credentials (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void update(final String tenantId, final JsonObject otherKeys, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

@Override
public final void getAll(final String tenantId, final String deviceId,
             final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  getAll(tenantId, deviceId, NoopSpan.INSTANCE, resultHandler);
}
origin: org.eclipse.hono/hono-service-base

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void get(final String tenantId, final String type, final String authId, final JsonObject clientContext, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

/**
 * Verifies that a message that has no body does not pass the filter.
 */
@Test
public void testVerifyFailsForMissingBody() {
  // GIVEN a valid credentials GET message without an AMQP value
  final Message msg = givenAValidMessageWithoutBody(CredentialsConstants.CredentialsAction.get);
  // WHEN receiving the message via a link with any tenant
  final boolean filterResult = CredentialsMessageFilter.verify(target, msg);
  // THEN message validation fails
  assertFalse(filterResult);
}
origin: eclipse/hono

@Override
protected boolean passesFormalVerification(final ResourceIdentifier linkTarget, final Message msg) {
  return CredentialsMessageFilter.verify(linkTarget, msg);
}
origin: eclipse/hono

@Override
public final void get(final String tenantId, final String type, final String authId,
        final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  get(tenantId, type, authId, NoopSpan.INSTANCE, resultHandler);
}
origin: eclipse/hono

@Override
public void setConfig(final ServiceConfigProperties configuration) {
  setSpecificConfig(configuration);
}
origin: eclipse/hono

private static JsonObject createValidCredentialsObject(final JsonObject secret) {
  return createValidCredentialsObject("someType", secret);
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void remove(final String tenantId, final String type, final String authId, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: org.eclipse.hono/hono-service-base

@Override
protected boolean passesFormalVerification(final ResourceIdentifier linkTarget, final Message msg) {
  return CredentialsMessageFilter.verify(linkTarget, msg);
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void get(final String tenantId, final String type, final String authId, final Span span,
    final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

@Override
public final void get(final String tenantId, final String type, final String authId, final JsonObject clientContext,
        final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  get(tenantId, type, authId, clientContext, NoopSpan.INSTANCE, resultHandler);
}
origin: org.eclipse.hono/hono-service-base

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void add(final String tenantId, final JsonObject otherKeys, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void get(final String tenantId, final String type, final String authId, final JsonObject clientContext,
    final Span span, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void add(final String tenantId, final JsonObject otherKeys, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: org.eclipse.hono/hono-service-base

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void get(final String tenantId, final String type, final String authId, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: org.eclipse.hono/hono-service-base

  /**
   * {@inheritDoc}
   *
   * This default implementation simply returns an empty result with status code 501 (Not Implemented).
   * Subclasses should override this method in order to provide a reasonable implementation.
   */
  @Override
  public void removeAll(final String tenantId, final String deviceId, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
    handleUnimplementedOperation(resultHandler);
  }
}
origin: org.eclipse.hono/hono-service-base

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void remove(final String tenantId, final String type, final String authId, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void removeAll(final String tenantId, final String deviceId, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: org.eclipse.hono/hono-service-base

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void update(final String tenantId, final JsonObject otherKeys, final Handler<AsyncResult<CredentialsResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
org.eclipse.hono.service.credentials

Most used classes

  • CredentialsAmqpEndpoint
    An AmqpEndpoint for managing device credential information. This endpoint implements Hono's Credenti
  • BaseCredentialsService
    A base class for implementing CredentialsServices. This base class provides support for receiving Ge
  • CompleteBaseCredentialsService
    A base class for implementing CompleteCredentialsServices. In particular, this base class provides s
  • CompleteCredentialsService
    A service for keeping record of device credentials. This interface presents all the available operat
  • CredentialsHttpEndpoint
    An HttpEndpoint for managing device credentials. This endpoint implements Hono's Credentials API [ht
  • AbstractCompleteCredentialsServiceTest,
  • BaseCredentialsServiceTest,
  • CompleteBaseCredentialsServiceTest$1,
  • CompleteBaseCredentialsServiceTest,
  • CredentialsMessageFilterTest,
  • CredentialsService
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now