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

org.apache.woden.wsdl20.extensions.soap.SOAPEndpointExtensions Maven / Gradle / Ivy

/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0 
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 */
package org.apache.woden.wsdl20.extensions.soap;

import org.apache.woden.wsdl20.extensions.ComponentExtensionContext;
import org.apache.woden.wsdl20.extensions.http.HTTPAuthenticationScheme;

/**
 * There are no WSDL 2.0 SOAP extension properties (from the namespace
 * http://www.w3.org/ns/wsdl/soap) attached to the Endpoint component.
 * 

* The purpose of this interface is to maintain consistency across the * WSDL 2.0 SOAP extensions in Woden, which define accessor methods for the * HTTP properties that are added to WSDL 2.0 components, along with * the SOAP properties, when a SOAP binding specifies HTTP as the underlying * protocol. *

* For this interface, the generic ExtensionProperty accessor methods, * getProperties and getProperty, return null * (because they only apply to SOAP extension properties, which are not present * for the Endpoint component). *

* This interface defines additional extension-specific accessor methods for the * HTTP extension properties that are added to the Endpoint component by a SOAP binding * when the underlying protocol is HTTP. *

* These are: *

    *
  • {http authentication scheme}
  • *
  • {http authentication realm}
  • *
*

* TODO Re HTTP methods, consider WODEN-158 which proposes keeping extension interfaces namespace-specific, not binding-type-specific * * @author Arthur Ryman ([email protected], [email protected]) * */ public interface SOAPEndpointExtensions extends ComponentExtensionContext { /** * If the SOAP binding specifies HTTP as the underlying protocol, the * {http authentication scheme} property is added to the Endpoint component * and it will be returned by this method. * If the underlying protocol is not HTTP, this method will return null. * * @return the HTTPAuthenticationScheme if present, otherwise null */ public HTTPAuthenticationScheme getHttpAuthenticationScheme(); /** * If the SOAP binding specifies HTTP as the underlying protocol, the * {http authentication realm} property is added to the Endpoint component * and it will be returned by this method. * If the underlying protocol is not HTTP, this method will return null. * * @return a String representing the {http authentication realm} property if present, otherwise null. */ public String getHttpAuthenticationRealm(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy