Customize authentication page

Winterflood, Jonathan jonathan.winterflood at capgemini.com
Tue Nov 13 11:37:30 EST 2007


Hi again,

 

I'm afraid I haven't developed those methods...

 

What do you mean by 'it fails'?

Does the page just not change, or do you get a JavaScript error? (Firefox with the firebug plug-in should help you debug your JavaScript)

 

Maybe if you attach your JavaScript and error we could help more.

HTH,

Jonathan Winterflood (3237)

Capgemini Ouest - Agence de Brest

________________________________

De : cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] De la part de Tarik Arrad
Envoyé : mardi 13 novembre 2007 15:36
À : Yale CAS mailing list
Objet : Re: Customize authentication page

 

i tryed to do that using refresh option but it fails, do you have an example plz?

2007/11/13, Winterflood, Jonathan <jonathan.winterflood at capgemini.com>: 

Hi,

 

Here is how I would try.

 

Let's say your users request a login by pressing a button, a link, etc...

You should open that page in a popup (javascript / target="_blank", <insert your method here>); all CAS work happens in here 

 

Then you should set the "service" URL that the CAS server redirects to on success to a page that will refresh the page that opened it (you should be able to get it with javascript: window.opener)

Then there are two options: either the refresher page logs you in and requests a refresh, or it rewrites the original page's location, including the ticket. 

The former would probably be better, e.g. in case the window.opener code fails.

 

HTH,

Jonathan Winterflood 

Capgemini Ouest - Agence de Brest 

________________________________

De : cas-bounces at tp.its.yale.edu [mailto: cas-bounces at tp.its.yale.edu <mailto:cas-bounces at tp.its.yale.edu> ] De la part de Tarik Arrad
Envoyé : mardi 13 novembre 2007 12:41
À : Yale CAS mailing list
Objet : Re: Customize authentication page

 

is it possible to open login page on popup and after authentication close the popup and refresh the service caller? 

2007/11/13, Tarik Arrad < t.arrad at gmail.com <mailto:t.arrad at gmail.com> >: 

Thanks for help, my authentication page is well customized now.

Tarik

 

2007/11/13, Christine Dorothy < christinedy at crimsonlogic.com <mailto:christinedy at crimsonlogic.com> >: 

	Oops, I forgot... the text that's printed to the JSPs is inside the messages.properties . 

	 

	*          cas-server-webapp\src\main\webapp\WEB-INF\classes\ messages.properties

	Here you'll find most of the text that is printed out to the JSP. 

	 

	Regards,

	Christine D.

	Office of Technology, IS 

	 

	 

	
________________________________


	From: Christine Dorothy 
	Sent: Tuesday, November 13, 2007 3:26 PM
	To: 'Yale CAS mailing list'
	Subject: RE: Customize authentication page

	 

	Hi there,

	 

	I did a bit of customization to my CAS page. Here are some of the files related if you'd like to customize. 

	*          cas-server-webapp\src\main\webapp\css\cas.css

	For customizing the logo on top >> #header (line 48) 

	For customizing the 'Central Authentication Service' text look and feel >> #header h1#app-name (line 50) 

	*          cas-server-webapp\src\main\webapp\WEB-INF\view\jsp\default\ui\ 

	Athis is what Scott say it contains the JSP

	*          cas-server-webapp\src\main\webapp\WEB-INF\view\jsp\default\ui\includes 

	You'll find the top.jsp and bottom.jsp here. It's where the logo and application name on top + copyright notice below are displayed. 

	*          cas-server-webapp\src\main\webapp\WEB-INF\classes

	Here you'll find most of the text that is printed out to the JSP. 

	 

	Hope this helps...

	 

	Regards,

	 

	Christine Dorothy

	Software Analyst, Office of Technology 

	DID: +65 6887 7548

	Fax: +65 6778 5277

	 

	CrimsonLogic Pte Ltd

	(Regn No: 198800784N)

	31 Science Park Road, The Crimson, Singapore 117611 

	Main Line: +65 6887 7888, Fax: +65 6778 5277 

	Visit us at www.crimsonlogic.com <http://www.crimsonlogic.com/> 

	 

	Makes better sense 

	 

	 

	
________________________________


	From: cas-bounces at tp.its.yale.edu [mailto: cas-bounces at tp.its.yale.edu <mailto:cas-bounces at tp.its.yale.edu> ] On Behalf Of Scott Battaglia
	Sent: Tuesday, November 13, 2007 12:49 PM
	To: Yale CAS mailing list
	Subject: Re: Customize authentication page

	 

	You'll find all of the JSP pages in:
	
	CAS_PROJECT_HOME/cas-server-webapp/src/main/WEB-INF/view/jsp/default (or something very similar to that path, incase I spelled something wrong ;-)) 
	
	-Scott

	On Nov 12, 2007 1:43 PM, Tarik Arrad < t.arrad at gmail.com <mailto:t.arrad at gmail.com> > wrote:

	Hi,

	Is it possible to customize the design of the authentication page? if so, how can i do that?

	Tarik

	
	_______________________________________________
	Yale CAS mailing list 
	cas at tp.its.yale.edu
	http://tp.its.yale.edu/mailman/listinfo/cas

	
	
	
	-- 
	-Scott Battaglia
	
	LinkedIn: http://www.linkedin.com/in/scottbattaglia 

	
	_______________________________________________
	Yale CAS mailing list
	cas at tp.its.yale.edu
	http://tp.its.yale.edu/mailman/listinfo/cas

 

 

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. 


_______________________________________________
Yale CAS mailing list
cas at tp.its.yale.edu 
http://tp.its.yale.edu/mailman/listinfo/cas

 



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20071113/24192d15/attachment.html 


More information about the cas mailing list