| Package | Description |
|---|---|
| co.cask.cdap.security.auth |
Classes related to authentication of clients and daemons.
|
| co.cask.cdap.security.server |
Classes supporting External Authentication for users.
|
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
AccessTokenCodec.decode(byte[] data) |
AccessToken |
TokenManager.signIdentifier(AccessTokenIdentifier identifier)
Generates a signature for the given token value, using the currently active secret key.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
AccessTokenCodec.encode(AccessToken token) |
void |
TokenManager.validateSecret(AccessToken token)
Given an
AccessToken instance, checks that the token has not yet expired and that the digest matches
the expected value. |
| Constructor and Description |
|---|
AccessTokenTransformer(Codec<AccessToken> accessTokenCodec,
Codec<AccessTokenIdentifier> accessTokenIdentifierCodec) |
AccessTokenValidator(TokenManager tokenManager,
Codec<AccessToken> accessTokenCodec) |
| Constructor and Description |
|---|
GrantAccessToken(TokenManager tokenManager,
Codec<AccessToken> tokenCodec,
CConfiguration cConfiguration)
Create a new GrantAccessToken object to generate tokens for authorized users.
|
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.