/* 
 * Copyright 2009 MightyCloud, Inc. All rights reserved.
 * MIGHTYCLOUD PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
var MM;
if (!MM) MM = {};

//Structure of the MM configuration singleton
if (!MM.Configuration) MM.Configuration = 
{
    //fields
    supportedTypes: "",
    minimumPasswordLength: 4,
    
    //functions
    setSupportedTypes: function(supportedTypes)
    {
        this.supportedTypes = supportedTypes;
    },

    getSupportedTypes: function()
    {
        return this.supportedTypes;
    },
    
    setMinimumPasswordLength: function(minimumPasswordLength)
    {
        this.minimumPasswordLength = minimumPasswordLength;
    },

    getMinimumPasswordLength: function()
    {
        return this.minimumPasswordLength;
    }
};