Example usage for javax.servlet.http HttpServletRequest DIGEST_AUTH

List of usage examples for javax.servlet.http HttpServletRequest DIGEST_AUTH

Introduction

In this page you can find the example usage for javax.servlet.http HttpServletRequest DIGEST_AUTH.

Prototype

String DIGEST_AUTH

To view the source code for javax.servlet.http HttpServletRequest DIGEST_AUTH.

Click Source Link

Document

String identifier for Digest authentication.

Usage

From source file:net.lightbody.bmp.proxy.jetty.jetty.servlet.ServletHttpRequest.java

public String getAuthType() {
    String at = _httpRequest.getAuthType();
    if (at == SecurityConstraint.__BASIC_AUTH)
        return HttpServletRequest.BASIC_AUTH;
    if (at == SecurityConstraint.__FORM_AUTH)
        return HttpServletRequest.FORM_AUTH;
    if (at == SecurityConstraint.__DIGEST_AUTH)
        return HttpServletRequest.DIGEST_AUTH;
    if (at == SecurityConstraint.__CERT_AUTH)
        return HttpServletRequest.CLIENT_CERT_AUTH;
    if (at == SecurityConstraint.__CERT_AUTH2)
        return HttpServletRequest.CLIENT_CERT_AUTH;
    return at;/*from   ww w  .ja  v  a  2 s.  co  m*/
}