Example usage for com.liferay.portal.kernel.security.auth.session AuthenticatedSessionManagerUtil getAuthenticatedUserId

List of usage examples for com.liferay.portal.kernel.security.auth.session AuthenticatedSessionManagerUtil getAuthenticatedUserId

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.security.auth.session AuthenticatedSessionManagerUtil getAuthenticatedUserId.

Prototype

public static long getAuthenticatedUserId(HttpServletRequest httpServletRequest, String login, String password,
            String authType) throws PortalException 

Source Link

Usage

From source file:com.liferay.login.web.internal.portlet.util.LoginUtil.java

License:Open Source License

/**
 * @deprecated As of 1.1.0, replaced by {@link
 *             AuthenticatedSessionManagerUtil#getAuthenticatedUserId(
 *             HttpServletRequest, String, String, String)}
 *//* ww w  .  j a  va  2s.  co m*/
@Deprecated
public static long getAuthenticatedUserId(HttpServletRequest request, String login, String password,
        String authType) throws PortalException {

    return AuthenticatedSessionManagerUtil.getAuthenticatedUserId(request, login, password, authType);
}