Not a developer? Go to MovableType.com

Plugin and Theme Directory

Central Authentication Service v1.2

By Byrne Reese
Posted April 16, 2013, in Developer.

Details

Configuration

You need to specify the following three configuration directives in your mt-config.cgi.

ExternalUserManagement

Must be set to 1

AuthenticationModule

Must be “CAS”

AuthLoginURL

The URL where CAS is located. Do not include the “/login” part. For example, it should be like http://localhost:8080/cas for the default installation of CAS server.

AuthLogoutURL

The URL where a user can logout from CAS. Do include the “/logout” part. For example, it should be like http://localhost:8080/cas/logout for the default installation of CAS server.

SingleCommunity 1

This last setting is needed to SSO login across multiple blogs

Additionally, if your network does not allow outbound HTTP request from inside Movable Type application, you will be required to add the MT_CAS_ValidationURL configuration directive.

MT_CAS_ValidationURL

The URL of the server which offers validation service (usually the same server you specify to AuthLoginURL). Do not include “/serviceValidate” part. For example it should read like http://localhost:8080 (no trailing slash). Default value is undefined. If not specified, AuthLoginURL will be used to validate session ticket.

Example

CGIPath http://sixapart.jp/mt/

ObjectDriver DBI::mysql
Database mt
DBUser user
DBPassword password

AuthenticationModule CAS
AuthLoginURL http://localhost:8080/cas
AuthLogoutURL http://localhost:8080/cas/logout
MT_CAS_ValidationURL http://server_name_inside_firewall:8080

# Or if you use SSL
#AuthLoginURL https://localhost:8443/cas
#AuthLogoutURL https://localhost:8443/cas/logout
#MT_CAS_ValidationURL https://server_name_inside_firewall:8443

Editing JavaScript Template

The consumer side of the login process works as below. In order for the browser to navigate to the correct address, users may need to edit JavaScript (or GlobalJavaScript, depending on what template sets they use) template to specify the login URL of MT used in second step.

  • User clicks “Sign In” link on the blog entry to comment.
  • MT accepts the request first, and redirect to CAS login URL.
  • User logs in to CAS.
  • CAS redirects back to the original blog entry.

If you use the plugin with Community Blog or Community Forum template set, or to be more precise, if you use the plugin with GlobalJavascript global template, You have to modify the template in a line.

Find mtSignIn function, and modify the line below:

var url = '<$mt:CGIPath$><$mt:CommunityScript>?__mode=login&blog_id=<$mt:BlogID$>';

… to below:

var url = '<$mt:CGIPath$><$mt:CommunityScript>?__mode=cas_login&blog_id=<$mt:BlogID$>';

… so it will request __mode=cas_login instead of __mode=login.

If you use the plugin with either Classic Blog or Professional Website template set, you don’t have to modify JavaScript template.

License

MIT


Back

47 Comments

David Tedrow

David Tedrow on September 1, 2016, 11:43 a.m. Reply

Can I build in another blog to term paper writing service website with the help of this source? Need some help here.

Daniela Hancock

Daniela Hancock on May 25, 2017, 1:56 p.m. Reply

Why would you want to add this to another blog platform? MT has everything you need. While I suppose that the MIT license means you can in theory use it anywhere as long as you credit Byrne it is better to just use it for MT. I have been using it to manage users who create custom labels for weddings and I haven’t had any trouble with it.

binasa

binasa on July 14, 2017, 3:09 a.m. Reply

Displays multiple locations when bound to list data sources. http://downloadfreefilesfast.webcam You simply press the number button that is displayed in the center of the screen.

binasa

binasa on August 16, 2017, 11:40 p.m. Reply

Restart your iPhone/iPod Touch for best performance! http://joyplays.ru The King died fighting these gruesome creatures that are swarming the countryside.

binasa

binasa on August 17, 2017, 6:28 p.m. Reply

It may take a few seconds or more to produce your panorama depending on how many requests are in the queue. http://ivanovogobelen.ru Boolean operations to combine simple shapes into complex shapes.

binasa

binasa on October 26, 2017, 10:32 a.m. Reply

Create notes for each verse and assign bookmarks to them. topdownloadfiles.xyz Execution: Learn to get the most out of your day, check off tasks, and stay on top of your work.

james

james on March 3, 2018, 9:56 a.m. Reply

Wow, it’s really hard. But I got at least a half of everything you wrote. When I had a lesson about this theme in college, I went out with my head completely empty. I start to think that the programing education is not for me. vape shop map

William George

William George on April 12, 2018, 10:59 a.m. Reply

The CAS convention includes no less than three gatherings: a customer web program, the web application asking for confirmation, and the CAS server. It might likewise include a back-end benefit, for example, a database server, that does not have its own HTTP interface but rather speaks with a web application. CAS is an open and very much reported validation convention. The essential execution of the convention is an open-source Java server segment of a similar name facilitated here, with help for a plenty of extra validation essay writing service conventions and highlights.

kabbage

kabbage on July 30, 2018, 4:57 p.m. Reply

Hey I think your post is really well written. Thanks for sharing and keep up the good work. I used to run this community forum plug in on my site www.greencardlegal.com However someone else bought the domain now.

James Lara

James Lara on September 22, 2018, 8:20 a.m. Reply

You write a great great article about business and giving great website for help in every business thank you.Thanks Subway Surfers Download

hendry

hendry on October 27, 2018, 2:27 p.m. Reply

Her describing the central authentication service V1.2 the details and its configuration is mentioned we can examine it clearly for further information here an example is mentioned. The editing jave script is mentioned for the consumer side of the login process.Continue Reading

mishirajput

mishirajput on November 18, 2018, 10:40 a.m. Reply

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. 안전놀이터">https://www.jikimwin.com”>안전놀이터

dibiya

dibiya on December 12, 2018, 2:33 p.m. Reply

Recently I have seen the post and I came to know about the Central Authentication Service v1.2 Plugin. I have gone through your post but I did not get any informative contents from your post. It seems to be null. Try to add some more uses and benefits of the plugin. What are the features of the Central Authentication Service v1.2 Plugin? Update your post. California Injury Lawyer

milan

milan on January 2, 2019, 11:54 a.m. Reply

This post about the Central Authentication Service software was a really interesting one. I would like to know more about the application of this software and would like to know its use in the finance and stock market sector. Please share. how to get my printer online

Mitchell993

Mitchell993 on February 13, 2019, 10:37 a.m. Reply

I have gone through your post but I did not get any informative contents from your post. It seems to be null. Try to add some more uses and benefits of the plugin. [url=https://www.psiphon.onl]psiphon[/url]

Mitchell993

Mitchell993 on February 13, 2019, 10:38 a.m. Reply

https://www.psiphon.onl

Aqeel664

Aqeel664 on February 20, 2019, 12:24 p.m. Reply

This is amazing for a web developer who can work development platform please keep sharing. (https://duaoazkar.com/)

muneebkhatri

muneebkhatri on March 13, 2019, 10:57 p.m. Reply

Outstanding post. I am a regular follower of your blog. Celebrities also Buy Instagram Likes to gain more popularity.

seo projects

seo projects on March 21, 2019, 1:43 p.m. Reply

[url=https://downloadluckypatcher.info/]Lucky Patcher[/url] [url=https://peggoapk.info/]peggo pro apk[/url] [url=https://iptvplayerlatino.info/]iptv player latino para pc[/url] [url=https://creditcardsfair.com/]walmart credit card payment[/url] [url=https://theworldfree4u.com/]worldfree4u 300mb movies[/url] [url=https://youtvplayerdownload.com/]you tv player pc[/url]

maxxjohnson

maxxjohnson on March 25, 2019, 7:51 p.m. Reply

This is an awesome article a debt of gratitude is in order for sharing this enlightening data. I will visit your site consistently for some most recent post. I will visit your website consistently for Some most recent post. masaż erotyczny

maxxjohnson

maxxjohnson on March 25, 2019, 7:52 p.m. Reply

This is an awesome article a debt of gratitude is in order for sharing this enlightening data. I will visit your site consistently for some most recent post. I will visit your website consistently for Some most recent post. masaż erotyczny

SMM Quick

SMM Quick on March 27, 2019, 10:47 p.m. Reply

Hey, Good post, These things are very important, good think so, I think so too…. buy 20k followers on instagram

johnb6174

johnb6174 on April 14, 2019, 1:44 p.m. Reply

I love this blog!! The flash up the top is awesome!! business degrees

Amrita

Amrita on May 14, 2019, 11:15 a.m. Reply

Thank you for sharing your knowledge and experience with me. female to male body massage in malviya nagar female to male full body massage in delhi full body massage service in malviya nagar body spa in lajpat nagar body to body massage parlour in jasola full body to body massage in mahipalpur happy ending massage in lajpat nagar body to body spa in malviya nagar full body to body massage services in gurgaon sandwich massage in gurgaon body massage parlour in ludhiana massage service in malviya nagar best body to body massage in mahipalpur spa for men in gurgaon female to male body to body massage center in delhi body massage centre in delhi full body massage by female to male in delhi massage spa in delhi best massage parlour in delhi full body to body massage by female in delhi body to body massage with happy ending in delhi massage in delhi spa services in malviya nagar female to male full body massage parlour in delhi best massage in delhi full body massage for men in delhi full body with body massage in delhi full body massage in delhi full body to body massage parlour in delhi body massage price in faridabad massage center in delhi female to male full body massage center in ludhiana full body massage parlour in gurgaon female to male massage in malviya nagar best spa in lajpat nagar best body massage in mg roag gurgaon female to male body massage in gurgaon full body massage centre in gurgaon erotic massage in delhi body 2 body massage in ludhiana body massage spa in lajpat nagar body to body massage female to male in gurgaon b 2 b massage in mahipalpur full body massage by female in faridabad

Amrita

Amrita on May 14, 2019, 11:15 a.m. Reply

Thank you for sharing your knowledge and experience with me. female to male body massage in malviya nagar female to male full body massage in delhi full body massage service in malviya nagar body spa in lajpat nagar body to body massage parlour in jasola full body to body massage in mahipalpur happy ending massage in lajpat nagar body to body spa in malviya nagar full body to body massage services in gurgaon sandwich massage in gurgaon body massage parlour in ludhiana massage service in malviya nagar best body to body massage in mahipalpur spa for men in gurgaon female to male body to body massage center in delhi body massage centre in delhi full body massage by female to male in delhi massage spa in delhi best massage parlour in delhi full body to body massage by female in delhi body to body massage with happy ending in delhi massage in delhi spa services in malviya nagar female to male full body massage parlour in delhi best massage in delhi full body massage for men in delhi full body with body massage in delhi full body massage in delhi full body to body massage parlour in delhi body massage price in faridabad massage center in delhi female to male full body massage center in ludhiana full body massage parlour in gurgaon female to male massage in malviya nagar best spa in lajpat nagar best body massage in mg roag gurgaon female to male body massage in gurgaon full body massage centre in gurgaon erotic massage in delhi body 2 body massage in ludhiana body massage spa in lajpat nagar body to body massage female to male in gurgaon b 2 b massage in mahipalpur full body massage by female in faridabad

Amrita

Amrita on May 14, 2019, 11:19 a.m. Reply

Thank you for sharing your knowledge and experience with me. female to male body massage in malviya nagar

johnb6174

johnb6174 on August 21, 2019, 11:57 a.m. Reply

Someone Sometimes with visits your blog regularly and recommended it in my experience to read as well. The way of writing is excellent and also the content is top-notch. Thanks for that insight you provide the readers! Gaming PC kaufen

Ryan

Ryan on August 22, 2019, 1:19 p.m. Reply

Thanks for this configuration details. Search Engine Optimization

johnb6174

johnb6174 on August 26, 2019, 9:52 a.m. Reply

Thanks for sharing this useful info.. find this

johnb6174

johnb6174 on August 29, 2019, 8:50 a.m. Reply

I would like to say that this blog really convinced me to do it! Thanks, very good post. harley street microdermabrasion

pak_dresses02

pak_dresses02 on August 29, 2019, 10:25 a.m. Reply

Thanks for sharing. I am sure that you will share more blogs in the future as well. Pakistani Dresses

johnb6174

johnb6174 on August 31, 2019, 11:40 a.m. Reply

Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject! the-garden-of-amahara.tumblr.com

johnb6174

johnb6174 on September 1, 2019, 11:13 a.m. Reply

Thanks you very much for sharing these links. Will definitely check this out.. Ice cream van hire manchester

johnb6174

johnb6174 on September 21, 2019, 1:23 p.m. Reply

Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. mens fashion rings

johnb6174

johnb6174 on September 22, 2019, 11:42 a.m. Reply

I gotta favorite this website it seems very helpful . Kunstpalme

johnb6174

johnb6174 on September 25, 2019, 10:48 a.m. Reply

I have bookmarked your blog, the articles are way better than other similar blogs.. thanks for a great blog! hualien hotel

Alex159753

Alex159753 on September 27, 2019, 6:56 a.m. Reply

good one

johnb6174

johnb6174 on September 28, 2019, 2:54 a.m. Reply

Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information.. taroko gorge tour from hualien

johnb6174

johnb6174 on September 29, 2019, 10:07 a.m. Reply

Great Article it its really informative and innovative keep us posted with new updates. its was really valuable. thanks a lot. wide roller banner

printertechsupportphonenumber

printertechsupportphonenumber on October 1, 2019, 7:21 p.m. Reply

nice article you share with us. printer problem resolve printer not responding printer is offline

johnb6174

johnb6174 on October 10, 2019, 8:31 a.m. Reply

This is my first timincrease search engine rankings e i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work

johnb6174

johnb6174 on October 12, 2019, 2:07 p.m. Reply

This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again. Survival Hunting Tips

Leave a Comment

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese