public class Krb5ConfOverlay extends Object
The following files are copied to the container: - krb5.conf
The following Java system properties are set in the container: - java.security.krb5.conf
Modifier and Type | Class and Description |
---|---|
static class |
Krb5ConfOverlay.Builder
A builder for the
Krb5ConfOverlay . |
Constructor and Description |
---|
Krb5ConfOverlay(File krb5Conf) |
Krb5ConfOverlay(Path krb5Conf) |
Modifier and Type | Method and Description |
---|---|
protected void |
addPathRecursively(File sourcePath,
Path targetPath,
ContainerSpecification env)
Add a path recursively to the container specification.
|
void |
configure(ContainerSpecification container)
Configure the given container specification.
|
static Krb5ConfOverlay.Builder |
newBuilder() |
public void configure(ContainerSpecification container) throws IOException
ContainerOverlay
IOException
public static Krb5ConfOverlay.Builder newBuilder()
protected void addPathRecursively(File sourcePath, Path targetPath, ContainerSpecification env) throws IOException
If the path is a directory, the directory itself (not just its contents) is added to the target path.
The execute bit is preserved; permissions aren't.
sourcePath
- the path to add.targetPath
- the target path.env
- the specification to mutate.IOException
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.