Liferay 7.0-ce-b4

com.liferay.portal.kernel.security.auth.http
Class HttpAuthManagerUtil

java.lang.Object
  extended by com.liferay.portal.kernel.security.auth.http.HttpAuthManagerUtil

public class HttpAuthManagerUtil
extends Object


Method Summary
static void generateChallenge(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, HttpAuthorizationHeader httpAuthorizationHeader)
           
static long getBasicUserId(javax.servlet.http.HttpServletRequest httpServletRequest)
           
static long getDigestUserId(javax.servlet.http.HttpServletRequest httpServletRequest)
           
static long getUserId(javax.servlet.http.HttpServletRequest httpServletRequest, HttpAuthorizationHeader httpAuthorizationHeader)
           
static HttpAuthorizationHeader parse(javax.servlet.http.HttpServletRequest httpServletRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

generateChallenge

public static void generateChallenge(javax.servlet.http.HttpServletRequest httpServletRequest,
                                     javax.servlet.http.HttpServletResponse httpServletResponse,
                                     HttpAuthorizationHeader httpAuthorizationHeader)

getBasicUserId

public static long getBasicUserId(javax.servlet.http.HttpServletRequest httpServletRequest)
                           throws PortalException
Throws:
PortalException

getDigestUserId

public static long getDigestUserId(javax.servlet.http.HttpServletRequest httpServletRequest)
                            throws PortalException
Throws:
PortalException

getUserId

public static long getUserId(javax.servlet.http.HttpServletRequest httpServletRequest,
                             HttpAuthorizationHeader httpAuthorizationHeader)
                      throws PortalException
Throws:
PortalException

parse

public static HttpAuthorizationHeader parse(javax.servlet.http.HttpServletRequest httpServletRequest)

Liferay 7.0-ce-b4