| Package | Description |
|---|---|
| io.helidon.common.configurable |
General utilities that use
Config. |
| io.helidon.common.pki |
Utilities for PKI configuration and loading of certificates and keys.
|
| io.helidon.security.jwt.jwk |
JWK (JSON web key) support.
|
| io.helidon.security.provider.jwt |
Provider that can process incoming JWTs and assert users based on them and can propagate JWTs (or create
new ones) for outbound calls.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Resource |
Resource.from(InputStream inputStream,
String description) |
Load resource from binary content from an input stream, using
Resource.Source.UNKNOWN type. |
static Resource |
Resource.from(String resourcePath) |
Load resource from classpath.
|
static Resource |
Resource.from(URI uri) |
Load resource from URI provided.
|
static Resource |
Resource.from(URI uri,
Proxy proxy) |
Load resource from URI provided with an explicit proxy server.
|
static Resource |
Resource.from(Path fsPath) |
Load resource from file system.
|
static Resource |
Resource.fromContent(String description,
byte[] bytes) |
Load resource from binary content.
|
static Resource |
Resource.fromContent(String description,
String string) |
Load resource from text content (e.g.
|
static Resource |
Resource.fromPath(String fsPath) |
Helper method for
from(Path) so you do not have to create the path yourself. |
| Modifier and Type | Method | Description |
|---|---|---|
static Optional<Resource> |
Resource.from(Config config,
String keyPrefix) |
Loads the resource from appropriate location based
on configuration and a key prefix.
|
| Modifier and Type | Method | Description |
|---|---|---|
KeyConfig.PemBuilder |
KeyConfig.PemBuilder.certChain(Resource resource) |
Load certificate chain from PEM resource.
|
KeyConfig.PemBuilder |
KeyConfig.PemBuilder.key(Resource resource) |
Read a private key from PEM format from a resource definition.
|
KeyConfig.KeystoreBuilder |
KeyConfig.KeystoreBuilder.keystore(Resource keystore) |
Keystore resource definition.
|
| Modifier and Type | Method | Description |
|---|---|---|
JwkKeys.Builder |
JwkKeys.Builder.resource(Resource resource) |
Load keys from a resource (must point to JSON text content).
|
| Modifier and Type | Method | Description |
|---|---|---|
JwtProvider.Builder |
JwtProvider.Builder.signJwk(Resource signJwkResource) |
JWK resource used to sign JWTs created by us.
|
JwtProvider.Builder |
JwtProvider.Builder.verifyJwk(Resource verifyJwkResource) |
JWK resource used to verify JWTs created by other parties.
|
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.