/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: SAML2ConfigService.java,v 1.6 2009/06/12 22:21:40 mallas Exp $
*
*/
/**
* This class provides methods to retrieve SAML2 configuration
* from the data store.
*/
static {
try {
setValues();
} catch (ConfigurationException ce) {
}
}
/**
* Default Constructor.
*/
private SAML2ConfigService() {
}
/**
* This method will be invoked when a component's
* configuration data has been changed. The parameters componentName,
* realm and configName denotes the component name,
* organization and configuration instance name that are changed
* respectively.
*
* @param e Configuration action event, like ADDED, DELETED, MODIFIED etc.
*/
if (debug.messageEnabled()) {
}
setValues();
}
/**
* This method reads values from service schema.
*/
static private synchronized void setValues() {
"failover (false) and buffer length (2048) will be set.");
} else {
try {
} catch (ConfigurationException ce) {
return;
}
if (debug.messageEnabled()) {
}
} else {
}
value = "2048" ;
} else {
}
} else {
"Default values for failover (false) and buffer length (2048) will be set.");
}
}
if (debug.messageEnabled()) {
+ attributes);
}
}
/**
* Retrieves current value of an AttributeSchema in the SAML2Config
* ServiceSchema.
* @param attributeName the name of the attributeSchema.
* @return the value of the attribute schema. It could return null if
* input attibuteName is null, or the attributeName can not be
* found in the service schema.
*/
}
}