Class 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  
      • Fields inherited from class eu.unicore.util.configuration.PropertiesHelper

        genericListeners, metadata, prefix, properties, propertyFocusedListeners, structuredPrefixes
    • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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
    • Constructor Detail

      • UnityPKIConfiguration

        public UnityPKIConfiguration​(java.util.Properties source)
    • 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()