Liferay 7.0-ce-b7 portal-impl

com.liferay.portal.security.auth.http
Class HttpAuthManagerImpl

java.lang.Object
  extended by com.liferay.portal.security.auth.http.HttpAuthManagerImpl
All Implemented Interfaces:
com.liferay.portal.kernel.security.auth.http.HttpAuthManager

public class HttpAuthManagerImpl
extends Object
implements com.liferay.portal.kernel.security.auth.http.HttpAuthManager


Constructor Summary
HttpAuthManagerImpl()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpAuthManagerImpl

public HttpAuthManagerImpl()
Method Detail

generateChallenge

public void generateChallenge(javax.servlet.http.HttpServletRequest httpServletRequest,
                              javax.servlet.http.HttpServletResponse httpServletResponse,
                              com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)
Specified by:
generateChallenge in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager

getBasicUserId

public long getBasicUserId(javax.servlet.http.HttpServletRequest httpServletRequest)
                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getBasicUserId in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager
Throws:
com.liferay.portal.kernel.exception.PortalException

getDigestUserId

public long getDigestUserId(javax.servlet.http.HttpServletRequest httpServletRequest)
                     throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getDigestUserId in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager
Throws:
com.liferay.portal.kernel.exception.PortalException

getUserId

public long getUserId(javax.servlet.http.HttpServletRequest httpServletRequest,
                      com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)
               throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getUserId in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager
Throws:
com.liferay.portal.kernel.exception.PortalException

parse

public com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader parse(javax.servlet.http.HttpServletRequest httpServletRequest)
Specified by:
parse in interface com.liferay.portal.kernel.security.auth.http.HttpAuthManager

generateBasicChallenge

protected void generateBasicChallenge(javax.servlet.http.HttpServletRequest httpServletRequest,
                                      javax.servlet.http.HttpServletResponse httpServletResponse,
                                      com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)

generateDigestChallenge

protected void generateDigestChallenge(javax.servlet.http.HttpServletRequest httpServletRequest,
                                       javax.servlet.http.HttpServletResponse httpServletResponse,
                                       com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader httpAuthorizationHeader)

getBasicUserId

protected long getBasicUserId(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

getDigestUserId

protected long getDigestUserId(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

parseBasic

protected com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader parseBasic(javax.servlet.http.HttpServletRequest httpServletRequest,
                                                                                          String authorization,
                                                                                          String[] authorizationParts)

parseDigest

protected com.liferay.portal.kernel.security.auth.http.HttpAuthorizationHeader parseDigest(javax.servlet.http.HttpServletRequest httpServletRequest,
                                                                                           String authorization,
                                                                                           String[] authorizationHeaderParts)

Liferay 7.0-ce-b7 portal-impl