Fórum

How to override ParameterAutoLogin?

thumbnail
darren rose, modificado 8 Anos atrás.

How to override ParameterAutoLogin?

Regular Member Postagens: 215 Data de Entrada: 04/04/15 Postagens Recentes
Hi,

Using Liferay 6.2 CE I would like to override ParameterAutoLogin

regards
thumbnail
Vitaliy Koshelenko, modificado 8 Anos atrás.

RE: How to override ParameterAutoLogin?

Expert Postagens: 319 Data de Entrada: 25/03/11 Postagens Recentes
thumbnail
darren rose, modificado 8 Anos atrás.

RE: How to override ParameterAutoLogin?

Regular Member Postagens: 215 Data de Entrada: 04/04/15 Postagens Recentes
Vitaliy Koshelenko:
Hi,

You can use Ext plugin for this: https://www.liferay.com/documentation/liferay-portal/6.2/development/-/ai/creating-an-ext-plugin-liferay-portal-6-2-dev-guide-12-en

Vitaliy



is this possible using a hook?
thumbnail
David H Nebinger, modificado 8 Anos atrás.

RE: How to override ParameterAutoLogin?

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
No, you can't change portal-impl classes using a hook.
thumbnail
Olaf Kock, modificado 8 Anos atrás.

RE: How to override ParameterAutoLogin?

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
Quick suggestion: Don't "override" this class, rather replace it: It's rather a simple one, rather implement your own one with the actual code that you need. Also, you might check if one of the auth.* things that are configurable in liferay-hook.xml would work as well.
thumbnail
darren rose, modificado 8 Anos atrás.

RE: How to override ParameterAutoLogin?

Regular Member Postagens: 215 Data de Entrada: 04/04/15 Postagens Recentes
Olaf Kock:
Quick suggestion: Don't "override" this class, rather replace it: It's rather a simple one, rather implement your own one with the actual code that you need. Also, you might check if one of the auth.* things that are configurable in liferay-hook.xml would work as well.


Yes, I am doing exactly that, implementing AutoLogin

thanks