Java Code Examples for javax.servlet.http.HttpServletRequest#FORM_AUTH

The following examples show how to use javax.servlet.http.HttpServletRequest#FORM_AUTH . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SecurityHttpRequestWrapper.java    From packagedrone with Eclipse Public License 1.0 5 votes vote down vote up
@Override
public String getAuthType ()
{
    final Principal user = getUserPrincipal ();
    if ( user != null )
    {
        return HttpServletRequest.FORM_AUTH;
    }
    else
    {
        return null;
    }
}
 
Example 2
Source File: FormAuthenticator.java    From Tomcat8-Source-Read with MIT License 4 votes vote down vote up
@Override
protected String getAuthMethod() {
    return HttpServletRequest.FORM_AUTH;
}
 
Example 3
Source File: FormAuthenticator.java    From Tomcat7.0.67 with Apache License 2.0 4 votes vote down vote up
@Override
protected String getAuthMethod() {
    return HttpServletRequest.FORM_AUTH;
}
 
Example 4
Source File: FormAuthenticator.java    From tomcatsrc with Apache License 2.0 4 votes vote down vote up
@Override
protected String getAuthMethod() {
    return HttpServletRequest.FORM_AUTH;
}
 
Example 5
Source File: AppengineAuthenticator.java    From yawp with MIT License 4 votes vote down vote up
@Override
public String getAuthMethod() {
    return HttpServletRequest.FORM_AUTH;
}