Example usage for org.apache.hadoop.security.token SecretManager subclass-usage

List of usage examples for org.apache.hadoop.security.token SecretManager subclass-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.security.token SecretManager subclass-usage.

Usage

From source file com.intel.hadoopRPCBenchmark.BenchmarkEngineTokenSecretManager.java

public class BenchmarkEngineTokenSecretManager extends SecretManager<BenchmarkEngineTokenIdentifier> {
    @Override
    public byte[] createPassword(BenchmarkEngineTokenIdentifier id) {
        return id.getBytes();
    }

From source file org.apache.accumulo.server.security.delegation.AuthenticationTokenSecretManager.java

/**
 * Manages an internal list of secret keys used to sign new authentication tokens as they are generated, and to validate existing tokens used for
 * authentication.
 *
 * Each TabletServer, in addition to the Master, has an instance of this {@link SecretManager} so that each can authenticate requests from clients presenting
 * delegation tokens. The Master will also run an instance of {@link AuthenticationTokenKeyManager} which handles generation of new keys and removal of old

From source file org.apache.tez.common.security.JobTokenSecretManager.java

/**
 * SecretManager for job token. It can be used to cache generated job tokens.
 */
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class JobTokenSecretManager extends SecretManager<JobTokenIdentifier> {

From source file org.apache.tez.engine.common.security.JobTokenSecretManager.java

/**
 * SecretManager for job token. It can be used to cache generated job tokens.
 */
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class JobTokenSecretManager extends SecretManager<JobTokenIdentifier> {

From source file org.apache.tez.runtime.library.common.security.JobTokenSecretManager.java

/**
 * SecretManager for job token. It can be used to cache generated job tokens.
 */
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class JobTokenSecretManager extends SecretManager<JobTokenIdentifier> {