com.liferay.portal.kernel.security.auth.http
Class HttpAuthManagerUtil
java.lang.Object
com.liferay.portal.kernel.security.auth.http.HttpAuthManagerUtil
public class HttpAuthManagerUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)