Example usage for com.liferay.portal.kernel.util PropsKeys COMPANY_SECURITY_AUTH_TYPE

List of usage examples for com.liferay.portal.kernel.util PropsKeys COMPANY_SECURITY_AUTH_TYPE

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util PropsKeys COMPANY_SECURITY_AUTH_TYPE.

Prototype

String COMPANY_SECURITY_AUTH_TYPE

To view the source code for com.liferay.portal.kernel.util PropsKeys COMPANY_SECURITY_AUTH_TYPE.

Click Source Link

Usage

From source file:it.publisys.liferay.hook.shibboleth.ShibbolethAutoLogin.java

License:Open Source License

/**
 * Ricavo da Liferay la tipologia di autenticazione configurata (username o email)
 *
 * @param companyId companyId/* ww w .  j  av  a 2s.  c o m*/
 * @return auth type
 * @throws Exception
 */
private static String getAuthType(long companyId) throws Exception {
    return GetterUtil.getString(getValue(companyId, PropsKeys.COMPANY_SECURITY_AUTH_TYPE),
            CompanyConstants.AUTH_TYPE_EA);
}