Class HttpAuthManagerUtil
Object
com.liferay.portal.security.auth.http.HttpAuthManagerUtil
- Author:
- Tomas Polesovsky
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 replacementstatic 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)
-
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)
-