Class UnityPKIConfiguration
- java.lang.Object
-
- eu.unicore.util.configuration.PropertiesHelper
-
- pl.edu.icm.unity.engine.api.config.UnityPKIConfiguration
-
- All Implemented Interfaces:
eu.unicore.util.configuration.PropertiesHelperAPI
,eu.unicore.util.configuration.UpdateableConfiguration
,java.lang.Cloneable
public class UnityPKIConfiguration extends eu.unicore.util.configuration.PropertiesHelper
Configures disk based truststores and credentials, which are named and can be referenced.- Author:
- K. Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CERTIFICATE_FILE
static java.lang.String
CERTIFICATES
static java.lang.String
CREDENTIALS
static java.util.Map<java.lang.String,eu.unicore.util.configuration.PropertyMD>
defaults
static java.lang.String
P
static java.lang.String
TRUSTSTORES
-
Constructor Summary
Constructors Constructor Description UnityPKIConfiguration(java.util.Properties source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCertificateName(java.lang.String listKey)
java.lang.String
getCredentialName(java.lang.String listKey)
java.lang.String
getCredentialPrefix(java.lang.String credential)
java.util.Properties
getProperties()
java.lang.String
getTruststoreName(java.lang.String listKey)
java.lang.String
getTruststorePrefix(java.lang.String truststore)
-
Methods inherited from class eu.unicore.util.configuration.PropertiesHelper
addPropertyChangeListener, canHaveSubkeys, checkBounds, checkConstraints, checkConstraints, checkDeprecated, checkPropertyConstraints, checkStructuredListConstraints, clone, cloneTo, filterChanged, findUnknown, getBooleanValue, getClassValue, getDoubleValue, getDoubleValueNoCheck, getEnumValue, getFileValue, getFileValueAsString, getIntValue, getIntValueNoCheck, getKeyDescription, getListOfValues, getLocalizedValue, getLongValue, getLongValueNoCheck, getMetadata, getMetadataKey, getRawProperty, getSortedNumKeys, getSortedStringKeys, getStructuredListKeys, getSubkeyBooleanValue, getSubkeyEnumValue, getSubkeyIntValue, getSubkeyLongValue, getSubkeyValue, getValue, isSet, logValue, notifyAllWithKey, notifyFocusedListeners, notifyGenericListeners, removePropertyChangeListener, setProperties, setProperty
-
-
-
-
Field Detail
-
P
public static final java.lang.String P
- See Also:
- Constant Field Values
-
CREDENTIALS
public static final java.lang.String CREDENTIALS
- See Also:
- Constant Field Values
-
TRUSTSTORES
public static final java.lang.String TRUSTSTORES
- See Also:
- Constant Field Values
-
CERTIFICATES
public static final java.lang.String CERTIFICATES
- See Also:
- Constant Field Values
-
CERTIFICATE_FILE
public static final java.lang.String CERTIFICATE_FILE
- See Also:
- Constant Field Values
-
defaults
public static final java.util.Map<java.lang.String,eu.unicore.util.configuration.PropertyMD> defaults
-
-
Method Detail
-
getCredentialPrefix
public java.lang.String getCredentialPrefix(java.lang.String credential)
-
getCredentialName
public java.lang.String getCredentialName(java.lang.String listKey)
-
getTruststorePrefix
public java.lang.String getTruststorePrefix(java.lang.String truststore)
-
getTruststoreName
public java.lang.String getTruststoreName(java.lang.String listKey)
-
getCertificateName
public java.lang.String getCertificateName(java.lang.String listKey)
-
getProperties
public java.util.Properties getProperties()
-
-