Hi Alexis, I know almost nothing about iPhone/Objective C development but you might like to investigate using UIWebView to embed a browser in your app and then you should be able to use NSHTTPCookieStorage to obtain cookie details.
<http://www.gibsontang.com/?p=176> <http://stackoverflow.com/questions/771498/where-are-an-uiwebviews-cookies-stored> <http://drnicwilliams.com/2008/11/10/to-webkit-or-not-to-webkit-within-your-iphone-app/> I have been looking for a PhoneGap cookie access example but have not found anything yet (so the PhoneGap method might not yet be possible). For information, "PhoneGap is an open source development framework for building cross-platform mobile apps. Build apps in HTML and JavaScript and still take advantage of core features in iPhone/iPod touch, iPad, Google Android, Palm, Symbian and Blackberry SDKs." See: <http://ofps.oreilly.com/titles/9780596805784/> <http://stackoverflow.com/questions/4178604/phonegap-approach-to-authenticate-against-a-remote-website> I'm sure many people here would be interested to hear if you managed to get something working. Good luck, Mark On Mon, Nov 22, 2010 at 8:20 AM, Alexis Jacquelin <alexis.jacque...@gmail.com> wrote: > Hi Mark, > Firstly thx for ur fast replay! > I apologise for my bad english, im a student living in France :) > About the CAS, I started to learn how use it, I searching on my side, but I > have some trouble > My application will not have a embedded browser, Is there any alternative > exists? > And What-s PhoneGap? > Take care, > 2010/11/22 Mark McLaren <mark.mcla...@gmail.com> >> >> Hi Alexis, >> >> I have not yet had any experience of the CAS 3 way of doing things (maybe >> a simpler method is now available) - I know more about CAS 2. I have been >> thinking about CASifiying an android app (maybe using PhoneGap - which could >> also work for iPhone development). I have not got anything working as yet >> but if your application had a embedded browser you could visit the CAS login >> page, the user could supply userid and password and this would result in a >> CAS ticket granting cookie (CASTGC) if authentication was successful. This >> may be sufficient for your needs. >> >> However, as you have complete control of the browser you could probably >> engineer it further to interact with the server passing this cookie to >> obtain actual userid details. >> >> https://sso.server/cas/login?service=http://somevalidservicename >> >> https://sso.server/cas/serviceValidate?ticket=ST-1234&service=http://somevalidservicename >> >> <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> >> <cas:authenticationSuccess> >> <cas:user>userid</cas:user> >> </cas:authenticationSuccess> >> </cas:serviceResponse> >> >> I hope this helps, >> >> Mark >> >> >> On 20/11/2010 21:47, Alexis wrote: >>> >>> Hello everybody >>> I'm currently on a project and i want to create a client CAS . Like u >>> know, i need a Objective-C Client CAS, and i don't find any documentation >>> here. If anyone have an advice or documentation, i'll take it! >>> >>> >>> Take care. -- "Paradoxically, the more time saving abstractions you are using the more you actually have to know." - Simon Willison -- You are currently subscribed to cas-dev@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev