All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.ulisesbocchio.spring.boot.security.saml.properties.KeyManagerProperties Maven / Gradle / Ivy

Go to download

Eases Integration between Spring Boot and spring-security-saml through properties and adapters

There is a newer version: 1.17
Show newest version
package com.github.ulisesbocchio.spring.boot.security.saml.properties;

import lombok.Data;

import java.util.Collections;
import java.util.Map;

/**
 * Configuration Properties for {@link org.springframework.security.saml.key.KeyManager}
 *
 * @author Ulises Bocchio
 */
@Data
public class KeyManagerProperties {
    /**
     * Specify a PEM certificate location. Used in conjunction with privateKeyDerLocation.
     */
    String publicKeyPemLocation;

    /**
     * Specify a DER private key location. Used in conjunction with publicKeyPemLocation.
     */
    String privateKeyDerLocation;

    /**
     * The location of KeyStore resource. If used, privateKeyDerLocation and privateKeyDerLocation are ignored.
     */
    String storeLocation;

    /**
     * The KeyStore password. Not relevant when using privateKeyDerLocation and privateKeyDerLocation.
     */
    String storePass;

    /**
     * They KeyStore private key passwords by key name.
     */
    Map keyPasswords = Collections.singletonMap("localhost", "");

    /**
     * The default key name to use for encryption.
     */
    String defaultKey = "localhost";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy