/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 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: SOAPBindingService.java,v 1.4 2008/06/25 05:47:23 qcheng Exp $
*
*/
/**
* This class provides methods to retrieve SOAP configuration
* from the data store.
*/
"WebServiceAuthenticator";
"SupportedAuthenticationMechanisms";
"EnforceOnlyKnownProvider";
static boolean enforceOnlyKnownProvider = true;
static {
try {
setValues();
} catch (ConfigurationException ce) {
}
}
/**
* Default Constructor.
*/
private SOAPBindingService() {
}
/**
* Returns a web service authenticator.
*
* @return a WebServiceAuthenticator Object
*/
return wsAuthenticator;
}
/**
* Returns a set of supported authentication mechanisms.
* @return a set of supported authentication mechanisms.
*/
return supportedAuthMechs;
}
/**
* Returns <code>true</code> if provider check must fail if the provider is
* not known by the WSP (i.e. : if the WSP has not got the metadata of the
* WSC.)
*
*
* @return
* <ul>
* <li><code>true</code> if provider check must fail if the provider is
* not known by the WSP (i.e. : if the WSP has not got the metadata of the
* WSC.)</li>
* <li><code>false</code> if the WSP accepts ID-WSF requests from unknown
* providers (i.e. : from providers which metadata are not known by the WSP
* side)</li>
* </ul>
*/
static boolean enforceOnlyKnownProviders() {
}
return enforceOnlyKnownProvider;
}
/**
* 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.
*/
}
setValues();
}
/**
* This method reads values from service schema.
*/
static private void setValues() {
try {
} catch (ConfigurationException ce) {
return;
}
while(stz.hasMoreTokens()) {
}
}
try {
if (soapActions != null) {
while(stz2.hasMoreTokens()) {
}
}
}
}
} catch (Throwable t) {
}
} else {
"for Request Handler List: " + value);
}
}
}
} else {
try {
"instantiate WebServiceAuthenticator", ex);
}
}
}
if ( valuesEnforceOnlyKnownProvider != null
&& !valuesEnforceOnlyKnownProvider.isEmpty() ){
}
}
}