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

org.picketlink.idm.config.BaseAbstractStoreConfiguration Maven / Gradle / Ivy

The newest version!
package org.picketlink.idm.config;

import java.util.HashMap;
import java.util.Map;


/**
 * The base class for store configurations
 * 
 * @author Shane Bryzak
 */
public abstract class BaseAbstractStoreConfiguration implements StoreConfiguration {

    /**
     * Defines arbitrary property values for the identity store
     */
    private final Map properties = new HashMap();

    /**
     * Sets a property value
     * 
     * @param name
     * @param value
     */
    @Override
    public void setProperty(String name, String value) {
        properties.put(name, value);
    }

    /**
     * Returns the specified property value
     * 
     * @param name
     * @return
     */
    @Override
    public String getPropertyValue(String name) {
        return properties.get(name);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy