Package org.jboss.ws.api.annotation

Examples of org.jboss.ws.api.annotation.WebContext


     *
     * @param endpoint EJB webservice endpoint
     * @return authentication method or null if not specified
     */
    public String getAuthMethod(final Endpoint endpoint) {
        final WebContext webContext = this.getWebContextAnnotation(endpoint);
        final boolean hasAuthMethod = (webContext != null) && (webContext.authMethod().length() > 0);

        return hasAuthMethod ? webContext.authMethod() : super.getAuthMethod(endpoint);
    }
View Full Code Here


     *
     * @param endpoint EJB webservice endpoint
     * @return whether WSDL access have to be secured
     */
    public boolean isSecureWsdlAccess(final Endpoint endpoint) {
        final WebContext webContext = this.getWebContextAnnotation(endpoint);
        final boolean hasSecureWsdlAccess = (webContext != null) && (webContext.secureWSDLAccess());

        return hasSecureWsdlAccess ? true : super.isSecureWsdlAccess(endpoint);
    }
View Full Code Here

     *
     * @param endpoint EJB webservice endpoint
     * @return transport guarantee or null if not specified
     */
    public String getTransportGuarantee(final Endpoint endpoint) {
        final WebContext webContext = this.getWebContextAnnotation(endpoint);
        final boolean hasTransportGuarantee = (webContext != null) && (webContext.transportGuarantee().length() > 0);

        return hasTransportGuarantee ? webContext.transportGuarantee() : super.getTransportGuarantee(endpoint);
    }
View Full Code Here

TOP

Related Classes of org.jboss.ws.api.annotation.WebContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.