| 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.
|
| Class and Description |
|---|
| AbstractKeyManager
AbstractKeyManager that provides the basic functionality that all key managers share.
|
| AccessToken
Represents a verified identity used for client authentication.
|
| AccessTokenIdentifier
Represents a verified user identity.
|
| AccessTokenTransformer.AccessTokenIdentifierPair
Access token identifier pair that has marshalled and unmarshalled
access token object
|
| InvalidDigestException
Exception thrown if an asserted message digest does not match the recomputed value, using the same secret key.
|
| InvalidTokenException
This exception indicates a failure to validate an issued
AccessToken, for example due to token expiration
or an invalid token digest. |
| KeyIdentifier
Represents a secret key to use for message signing, plus a unique random number identifying it.
|
| KeyManager
Maintains secret keys used to sign and validate authentication tokens.
|
| KeyManager.DigestId
Represents the combination of a digest computed on a message using a secret key, and the ID of the secret key
used to compute the digest.
|
| MapBackedKeyManager
Abstract base class for
KeyManager implementations that store all secret keys in an in-memory Map. |
| Signed
Represents a message signed by a secret key.
|
| TokenManager
Provides a simple interface to generate and validate
AccessTokens. |
| TokenState
Different states attained after validating the token
MISSING - the access token is missing in the request
INVALID - the token digest did not match the expected value
EXPIRED - the token is past the expiration timestamp
INTERNAL - another error occurred in processing (represented by the exception "cause")
VALID - the token is valid
|
| TokenValidator
Interface TokenValidator to validate the access token.
|
| Class and Description |
|---|
| AccessToken
Represents a verified identity used for client authentication.
|
| TokenManager
Provides a simple interface to generate and validate
AccessTokens. |
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.