Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Justen L Britain
How to remove OpenId login form?
3 gennaio 2008 8.46
Risposta

Justen L Britain

Punteggio: Junior Member

Messaggi: 39

Data di Iscrizione: 16 gennaio 2007

Messaggi recenti

Hello all,

I have what I hope is a very simple question. I am trying to remove the openId login form from c/portal/login. I originally intended to modify view.jsp which is in ROOT/html/portal/login/ but after reviewing that document I am unable to see where the code is for the openId form. I am thinking that perhaps the CAS Filter is responsible for writing that data to the screen after the JSP is processed. Can someone please help me figure out where this code is so I may remove it.

Thanks a bunch in advance,
Justen L. Britain
Ray Augé
Re: [Liferay Forums][3. Development]How to remove OpenId login form?
3 gennaio 2008 9.14
Risposta

Ray Augé

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1171

Data di Iscrizione: 7 febbraio 2005

Messaggi recenti

> I have what I hope is a very simple question. I am trying to remove
> the openId login form from c/portal/login. I originally intended to
> modify view.jsp which is in ROOT/html/portal/login/ but after
> reviewing that document I am unable to see where the code is for the
> openId form. I am thinking that perhaps the CAS Filter is responsible
> for writing that data to the screen after the JSP is processed. Can
> someone please help me figure out where this code is so I may remove
> it.
>

in your portal-ext.properties file add the following (comments are just
for reference):

 1##
 2## OpenID
 3##
 4
 5    #
 6    # Set this to true to enable OpenId authentication. If set to true,
 7then the
 8    # property "auto.login.hooks" must contain a reference to the class
 9    # com.liferay.portal.security.auth.OpenIdAutoLogin.
10    #
11    open.id.auth.enabled=false
Justen L Britain
RE: Re: [Liferay Forums][3. Development]How to remove OpenId login form?
3 gennaio 2008 9.19
Risposta

Justen L Britain

Punteggio: Junior Member

Messaggi: 39

Data di Iscrizione: 16 gennaio 2007

Messaggi recenti

Thanks Ray, that solved my problem. Would you mind though, for my own curiosity, helping me to understand how this works. If not no biggy.
Thanks,
Justen
Ray Augé
RE: Re: [Liferay Forums][3. Development]How to remove OpenId login form?
3 gennaio 2008 9.41
Risposta

Ray Augé

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1171

Data di Iscrizione: 7 febbraio 2005

Messaggi recenti

No problem Justen!

Which part would you like to know about... how OpenId works? or how
disabling the feature works?
Justen L Britain
RE: Re: [Liferay Forums][3. Development]How to remove OpenId login form?
3 gennaio 2008 9.43
Risposta

Justen L Britain

Punteggio: Junior Member

Messaggi: 39

Data di Iscrizione: 16 gennaio 2007

Messaggi recenti

I would like to know how that form is displayed to the screen if its not in the JSP.
Thanks,
Justen
Justen L Britain
Restated...
3 gennaio 2008 12.01
Risposta

Justen L Britain

Punteggio: Junior Member

Messaggi: 39

Data di Iscrizione: 16 gennaio 2007

Messaggi recenti

Let me restate my question. It seems that any edits I perform on ROOT/portlet/login/view.jsp are not being applied to that page. Also the OpenId form doesn't appear to be in that JSP. So, my question is is this the correct file to edit if I want to modify the login page or should I be doing it elsewhere.
Thanks,
Justen
Ray Augé
Re: [Liferay Forums][3. Development]Restated...
3 gennaio 2008 12.18
Risposta

Ray Augé

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1171

Data di Iscrizione: 7 febbraio 2005

Messaggi recenti

> Let me restate my question. It seems that any edits I perform on ROOT/portlet/login/view.jsp are not being applied to that page. Also the OpenId form doesn't appear to be in that JSP. So, my question is is this the correct file to edit if I want to modify the login page or should I be doing it elsewhere.

No, that's not the right file. You need
portal-web/docroot/html/portal/login_create_account.jspf
Justen L Britain
RE: Re: [Liferay Forums][3. Development]Restated...
3 gennaio 2008 12.28
Risposta

Justen L Britain

Punteggio: Junior Member

Messaggi: 39

Data di Iscrizione: 16 gennaio 2007

Messaggi recenti

Ray,
Yes that is what I am looking for. Thank you so much for helping me out today, I appreciate it.
Justen
omer 345621
RE: Re: [Liferay Forums][3. Development]Restated...
29 maggio 2012 1.37
Risposta

omer 345621

Punteggio: Junior Member

Messaggi: 54

Data di Iscrizione: 9 maggio 2012

Messaggi recenti

any idea how can i remove open ID button from the log in Page?