List of usage examples for javax.servlet.http HttpServletRequest BASIC_AUTH
String BASIC_AUTH
To view the source code for javax.servlet.http HttpServletRequest BASIC_AUTH.
Click Source Link
From source file:org.sonatype.nexus.security.filter.authc.NexusHttpAuthenticationFilter.java
@Override protected boolean isLoginAttempt(String authzHeader) { // handle BASIC in the same way as our faked one String authzHeaderScheme = getAuthzScheme().toLowerCase(); if (authzHeader.toLowerCase().startsWith(HttpServletRequest.BASIC_AUTH.toLowerCase())) { return true; } else {// w ww .j a va 2 s. c o m return super.isLoginAttempt(authzHeaderScheme); } }
From source file:org.sventon.web.HttpBasicAuthenticationHandler.java
@Override public String getAuthScheme() { return HttpServletRequest.BASIC_AUTH; }