/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * Returns true if this connection is using HTTPS. * * @return true if this connection is using HTTPS. */ public boolean isSecure() { return context.getRequest().isSecure(); }
/** * Retains the parent method's port-matching behavior but additionally guarantees that the *{@code ServletRequest.}{@link javax.servlet.ServletRequest#isSecure() isSecure()}. If the port does not match or * the request is not secure, access is denied. * * @param request the incoming {@code ServletRequest} * @param response the outgoing {@code ServletResponse} - ignored in this implementation * @param mappedValue the filter-specific config value mapped to this filter in the URL rules mappings - ignored by this implementation. * @return {@code true} if the request is received on an expected SSL port and the * {@code request.}{@link javax.servlet.ServletRequest#isSecure() isSecure()}, {@code false} otherwise. * @throws Exception if the call to {@code super.isAccessAllowed} throws an exception. * @since 1.2 */ @Override protected boolean isAccessAllowed(ServletRequest request, ServletResponse response, Object mappedValue) throws Exception { return super.isAccessAllowed(request, response, mappedValue) && request.isSecure(); } }
throws IOException, ServletException { if (request.isSecure()) { chain.doFilter(request, response); return;
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() on the * wrapped request object. */ @Override public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
@Override public boolean isSecure() { return _servletRequest.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
/** * The default behavior of this method is to return isSecure() * on the wrapped request object. */ public boolean isSecure() { return this.request.isSecure(); }
@Override public boolean isSecure(){ ServletRequest request = getRequest(); return request.isSecure(); }