Class HttpAuthManagerUtil

Object
com.liferay.portal.security.auth.http.HttpAuthManagerUtil

public class HttpAuthManagerUtil extends Object
Author:
Tomas Polesovsky
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    generateChallenge(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)
     
    static long
    getBasicUserId(javax.servlet.http.HttpServletRequest httpServletRequest)
     
    static long
    getDigestUserId(javax.servlet.http.HttpServletRequest httpServletRequest)
    Deprecated.
    As of Cavanaugh (7.4.x), with no direct replacement
    static long
    getUserId(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)
     
    static com.liferay.portal.kernel.security.auth.http.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 Details

    • generateChallenge

      public static void generateChallenge(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)
    • getBasicUserId

      public static long getBasicUserId(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDigestUserId

      @Deprecated public static long getDigestUserId(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Cavanaugh (7.4.x), with no direct replacement
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUserId

      public static long getUserId(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • parse

      public static com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader parse(javax.servlet.http.HttpServletRequest httpServletRequest)