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