@Override public String getAuthenticationScheme() { return request.getAuthType(); } };
@Override public String getAuthenticationScheme() { return request.getAuthType(); } };
@Override public String getAuthType() { return b.authType != null ? b.authType : b.request.getAuthType(); }
/** * The default behavior of this method is to return getAuthType() * on the wrapped request object. */ public String getAuthType() { return this._getHttpServletRequest().getAuthType(); }
public static RequestData from( HttpServletRequest req ) { return new RequestData( req.getRemoteAddr(), req.isSecure(), req.getRemotePort(), req.getLocalName(), req.getLocalAddr(), req.getLocalPort(), req.getAuthType() == null ? "" : req.getAuthType() ); } }
JID jid; try { if (auth == null || !request.getAuthType().equals(HttpServletRequest.BASIC_AUTH)) { throw new Exception("No authorization or improper authorization provided.");
String auth = request.getHeader("Authorization"); try { if (auth == null || !request.getAuthType().equals(HttpServletRequest.BASIC_AUTH)) { throw new Exception("No authorization or improper authorization provided.");
.session(session) .principal(request.getUserPrincipal()) .authType(request.getAuthType()) .isSSecure(request.isSecure());
putAttribute(attributes, HTTPUtils.HTTP_REQUEST_URI, request.getRequestURI()); putAttribute(attributes, "http.request.url", request.getRequestURL().toString()); putAttribute(attributes, "http.auth.type", request.getAuthType());
@Override public String getAuthType() { return proxy.getAuthType(); }
public String getAuthenticationScheme() { return request.getAuthType(); } }
public String getAuthType() { return delegate.getAuthType(); }
/** * The default behavior of this method is to return getAuthType() * on the wrapped request object. */ public String getAuthType() { return this._getHttpServletRequest().getAuthType(); }
/** * The default behavior of this method is to return getAuthType() * on the wrapped request object. */ public String getAuthType() { return getHttpServletRequest().getAuthType(); }
@Override public String getAuthType() { return getRequest().getAuthType(); }
@Override public String getAuthType() { return getRequest().getAuthType(); }
public void visitAuthInfo() { Map<String, Object> keyValues = createLinkedHashMap(); keyValues.put("Remote User", request.getRemoteUser()); keyValues.put("Auth Type", request.getAuthType()); keyValues.put("User Principal", String.valueOf(request.getUserPrincipal())); keyValuesComponent.visitTemplate(context, keyValues); }
public void visitAuthInfo() { Map<String, Object> keyValues = createLinkedHashMap(); keyValues.put("Remote User", request.getRemoteUser()); keyValues.put("Auth Type", request.getAuthType()); keyValues.put("User Principal", String.valueOf(request.getUserPrincipal())); keyValuesComponent.visitTemplate(context, keyValues); }
public HttpServletRequestSnapshot(HttpServletRequest request) { super(request); authType = request.getAuthType(); characterEncoding = request.getCharacterEncoding(); contentLength = request.getContentLength();
private void updateAgentDetailsIfNeeded(HttpServletRequest pReq) { // Lookup the Agent URL if needed AgentDetails details = backendManager.getAgentDetails(); if (details.isInitRequired()) { synchronized (details) { if (details.isInitRequired()) { if (details.isUrlMissing()) { String url = getBaseUrl(NetworkUtil.sanitizeLocalUrl(pReq.getRequestURL().toString()), extractServletPath(pReq)); details.setUrl(url); } if (details.isSecuredMissing()) { details.setSecured(pReq.getAuthType() != null); } details.seal(); } } } }