Package org.jboss.ws.api.annotation

Examples of org.jboss.ws.api.annotation.WebContext.authMethod()


     * @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


     */
    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);
    }

    /**
     * @see org.jboss.webservices.integration.tomcat.SecurityMetaDataAccessorEJB#isSecureWsdlAccess(Endpoint)
     *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.