public class HttpAuthManagerImpl
extends Object
implements com.liferay.portal.kernel.security.auth.http.HttpAuthManager
Constructor and Description |
---|
HttpAuthManagerImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
generateBasicChallenge(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) |
void |
generateChallenge(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) |
protected void |
generateDigestChallenge(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) |
long |
getBasicUserId(javax.servlet.http.HttpServletRequest httpServletRequest) |
protected long |
getBasicUserId(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) |
long |
getDigestUserId(javax.servlet.http.HttpServletRequest httpServletRequest) |
protected long |
getDigestUserId(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) |
long |
getUserId(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) |
com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader |
parse(javax.servlet.http.HttpServletRequest httpServletRequest) |
protected com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader |
parseBasic(javax.servlet.http.HttpServletRequest httpServletRequest,
String authorization,
String[] authorizationParts) |
protected com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader |
parseDigest(javax.servlet.http.HttpServletRequest httpServletRequest,
String authorization,
String[] authorizationHeaderParts) |
public void generateChallenge(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)
generateChallenge
in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager
public long getBasicUserId(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
getBasicUserId
in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager
com.liferay.portal.kernel.exception.PortalException
public long getDigestUserId(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
getDigestUserId
in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager
com.liferay.portal.kernel.exception.PortalException
public long getUserId(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) throws com.liferay.portal.kernel.exception.PortalException
getUserId
in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader parse(javax.servlet.http.HttpServletRequest httpServletRequest)
parse
in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager
protected void generateBasicChallenge(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)
protected void generateDigestChallenge(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)
protected long getBasicUserId(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected long getDigestUserId(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader parseBasic(javax.servlet.http.HttpServletRequest httpServletRequest, String authorization, String[] authorizationParts)
protected com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader parseDigest(javax.servlet.http.HttpServletRequest httpServletRequest, String authorization, String[] authorizationHeaderParts)