Authentication in iphone

Hi Experts
I am Using a web service(deployed in ce server 7.3) in a iphone application ,the service need user authentication .
I am not able to authenticate .Can anyone suggest any method to solve the problem.
Thanks and Regards
Suresh

Hi Suresh,
I assume you are using a NSURLConnection to connect to the service? If that's the case you can use the code below as a guide.
- (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge{
     NSLog(@"Entering didReceiveAuthenticationChallenge");
     NSInteger count = [challenge previousFailureCount];
    if(count >= 2){
          // This is the second time the authentication has failed, request review of username/password rather than use settings
          [connection release];
          UIAlertView *alert =  [[ UIAlertView alloc ] initWithTitle:@"Error" message:@"Please check username & password" delegate:nil cancelButtonTitle:@"OK"  otherButtonTitles:nil];
          [alert show];
          [alert release];
     } else {
          NSString *uName = @"Enter username here";
          NSString *password = @"Enter password here";
          NSURLCredential* credential = [[NSURLCredential alloc]initWithUser:uName
                                                                                  password:password
                                                                              persistence:NSURLCredentialPersistenceNone];
          [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge];
          [credential release];          
     NSLog(@"Leaving didReceiveAuthenticationChallenge");
Edited by: Paul Aschmann on May 5, 2011 5:01 PM

Similar Messages

  • Azure mobile HTML5 application - facebook authentication on iPhone in app mode

    I have an HTML5 application that uses Azure mobile authentication to login (straight from the example code...provided below). It works fine in all desktop browsers and iPhone in Safari.  But from app / full screen mode, it does nothing (doesn't
    ask for permission to show a popup window like it does in safari and no popup windows shows up) and I can wait forever and nothing happens.  If I invoke it a second time, it gives an error saying "Error: Unexpected failure"...perhaps because
    the 1st attempt is still running?  Can anyone provide some assistance?  Thanks.
    client.login("facebook").done(function (results) {
             alert("You are now logged in as: " + results.userId);
        }, function (err) {
             alert("Error: " + err);

    I did some more research and found a site that uses an approach that overcomes this problem and also solves two other side effects with the current Azure mobile approach to authentication.  I think the Azure mobile team *might* be looking to do something
    similar because there are some hints of other authentication options in the code (although difficult to read and be sure because the minimized code is obsfucated).  It might be just a matter of activating these in the code...
    The solution: 
    Go to http://m.bcwars.com/ and click on the Facebook login.  You'll see it works perfectly in iPhone Safari in "app mode" becuase instead of doing a popup, it simply stays in the current browser window.
    This approach solves two other problems with the current Azure mobile approach.  First, the popup gets interpreted by most browsers as a potential ad and is either blocked automatically (desktop Chrome) ... and the user doesn't know why it's not working...or
    gives a warning which the user has to approve (iPhone Safari in "browser mode") which is a hassle.  And if the user has a popup blocker, it gets more difficult and even more potential for the user not getting it to work properly.  The bcwars.com
    method doesn't have this problem. 
    Second, in iPhone Safari, when the popup window auto closes, the original page doesn't get focus if there are other browser windows open in Safari.  Instead, it's in the smaller/slide mode so they can choose which one to show.  If this happens,
    the user has to go through one more sttep...click on the browser window to activate it and give it focus..again more of a pain and more potential for them to mess up and not do it correctly and need help.  The m.bcwars.com doesn't have this problem.
    Azure options:
    Looking at the Azure mobile code it looks like may already have the solution.  I can't read it easliy becuase it's minified/obsfucated, but it seems to have 4 options (including iFrame, etc.) for invoking the authentication, and only 1 (the "less
    ideal one" of a popup) is being used.  An easy solution would be to set a property to allow one of the alternate authentications to work.  But I can't read it well enough to figure it out.  Another would be to hack the code (temporarily until
    a fix is put up by Microsoft). 
    Could I get some help there perhaps? 

  • SAP Authentication on IPHONE/IPAD

    Hello,
    Is there a way to view analytics on iphone and ipad through SAP authentication Business Objects Explorer (Polestar)? I am able to view analytics with my enterprise credentials, but I get the follwing error when I use with my SAP credentials (PS_10001_invalid_credentials_logon). I am able to logon on successfully with both credentials through my PC browser.
    Thanks
    Percy
    Edited by: Percy Adusei on Sep 13, 2010 10:04 PM

    我的BOE版本是12.1.0.882,Explorer的版本是12.1.1,是能够正常建立信息空间,并且也能正常发布,但就是用Ipad不能登录,提示错误也是u201CPS_10001_Invalid_credentials_logonu201D。
    我同样的版本也是装在另外一台机器上,用IPad是可以正常连接的。
    请问是否是windows的什么设置相关?
    补充,有一条机器操作系统是WINXP,是可以成功用IPad连接的。另外一台是Win server 2003 sp2,就是提示上面的错误。
    Edited by: Tiffany.Xue on Nov 24, 2010 9:45 AM

  • APOP authentication on iPhone

    I have a work email account which runs fine on my Macbook but not on my iPhone. On my Macbook the authentication is APOP but this choice isn't available on iPhone. Any thoughts on what I should use as the alternative?
    Thanks

    Try this:
    First delete the account on your phone if already created.
    1. Go to Settings
    2. Click Mail
    3. Click Add Account
    4. Click Other > POP and fill in the required information
    5. Click Save and wait (Verifying POP account information)
    6. Click Continue when Secure Connection Failed is prompted
    7. Click Continue/Yes if you get either of these message:
    * SSL connection failed, would you like to try without it?
    * Secure Connection Failed…[email protected]…invalid
    8. It should complete and you’ll see your account added but to complete…
    9. Click the new email account
    10. Scroll down and Click Advanced
    11. Turn off: Use SSL (both incoming and outgoing)
    12. Make sure Authentication is Password
    13. Set Server Port for Outgoing Settings

  • Rootca  not authenticated by iphone wireless

    I have manually installed rootca certificate on my iphone , but when I try to connect to wireless again it ask me for new certificate.
    Looks like it is not interception rootca certificates.
    any help appreciated,

    Upgrading a Mac to Lion shouldn't have any effect on the ability of other devices to connect to your local network.  I'd unplug all your networking gear and turn off your computers, wait several minutes, then turn on devices one at a time working from the broadband connection.

  • External Authentication SASL Iphone

    Hi.
    I am trying to persuade everyone to support the EXTERNAL AUTHENTICATION mechanism in SASL. I am building a little mail server that uses EXTERNAL AUTHENTICATION. The point at issue is a secure connection from the client to the server without any tunnelling or vpn in the way.
    The mail server I'm building can be implemented on a Mac, mine though is on a Network Attached Storage device. It makes sense for symmetry's sake that Apple should support it at the other end as well.
    A little tweak of an API here and a little UI change there and you're done. Can Apple can rise to this challenge?
    Kind regards

    There is no way to attach an external antenna

  • Intermittent problems with iphone 3g "charging not supported"

    I notice quite a few complaints about intermittent 'charging not supported' messages.
    I have been getting the same message on my iphone 3g.
    I have ELIMINATED the cord and plug as the problem in this case by the following method:
    I found that by LOWERING the line voltage to the charger with a variac, I could get rid of the message RELIABLY for a period of time.
    By turning the variac off and on, and by varing the voltage setting, I can reproduceably get either charging or 'charging not supported'.
    Since there are no changes being made in the connections to the phone and charger, I eliminate them as causing to the problem.
    I suspect a deteriorating component in the charger is reporting some kind of error to the phone via some communications channel.
    I have not tried opening the charger, but if and when it finally dies, I will do so.
    This morning, the charger worked with the variac set to 80 volts.
    Anyone on the design team around that can suggest other tests?
    -bz-

    The unit finally failed and I opened it up. It appears to consist of an AC-->dc converter with suitable filters and regulators and a small computer that probably talks via I2C or a similar protocol to the iphone.
    I suspect that components are defective and the output voltage is outside the range it thinks it should be or some problems with the communications cause it to send an erronious message in response to the query sent by the iphone. I did NOT see any obviously bulging electrolytic capacitors, but I did not test for high ESR and I suspect that is the problem.
    A 'off brand' AC Charger of iPod and iPhone from Radio Shack works fine while BOTH authentic APPLE iphone 'tiny cube' chargers are going for recycling.
    Software fixes may cause the iphone to either keep trying until it gets the right response or ignore the erronious responses.

  • Iphone 3g problems with charging

    After charging my phone, I unplug it and I can't hear any sound coming out of it. I check my settings, everything is on.

    The unit finally failed and I opened it up. It appears to consist of an AC-->dc converter with suitable filters and regulators and a small computer that probably talks via I2C or a similar protocol to the iphone.
    I suspect that components are defective and the output voltage is outside the range it thinks it should be or some problems with the communications cause it to send an erronious message in response to the query sent by the iphone. I did NOT see any obviously bulging electrolytic capacitors, but I did not test for high ESR and I suspect that is the problem.
    A 'off brand' AC Charger of iPod and iPhone from Radio Shack works fine while BOTH authentic APPLE iphone 'tiny cube' chargers are going for recycling.
    Software fixes may cause the iphone to either keep trying until it gets the right response or ignore the erronious responses.

  • ICal issues, external e-mail notification/invite problem, iPhone

    I'm having some problems with the iCal setup on my Mac server. In particular:
    1 - I can't send invitations out to external email addresses. Or perhaps I just don't get the responses
    2 - My Page calendar never loads (used to work)
    3 - CalDAV calendars on the iPhone constantly asking for authentication on iPhone network change
    4 - iPhone created events don't sync back to client iCal. vice versa.
    I see lots of recommendations to create an iCal server user in Workgroup Manager so you can create an email account and see the invites go out.
    When try to create a new user, say "iCal Server" and add the shortname "com.apple.calendarserver", it tells me "The name you have chosen conflicts with a name assigned to another user".
    I have not previously created this user, it doesn't show in my list, and I've checked the hidden system user accounts and I don't see it.
    I'm not sure what I'm missing. There are lots of people out there that know exactly how to set this account up as I don't see any complaints. Perhaps I'm over-thinking it.
    If someone could break down what I need to do, that would be great.
    Thanks

    Error Log:
    [twistedcaldav.mail.IMAP4DownloadFactory#debug] Scheduling next IMAP4 poll
    2010-11-28 21:55:06-0500 [-] [caldav_task] 2010-11-28 21:55:06-0500 [-] [calendarserver.sidecar.task#debug] Checking for tasks
    2010-11-28 21:55:06-0500 [-] [notifications] 2010-11-28 21:55:06-0500 [-] [twistedcaldav.notify.XMPPNotificationFactory#debug] SEND: <presence/>
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * OK Dovecot ready.
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP servergreeting
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0001 CAPABILITY
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ ID IDLE CHILDREN NAMESPACE LOGIN-REFERRALS UIDPLUS LIST-EXTENDED I18NLEVEL=1 QUOTA AUTH=GSSAPI AUTH=CRAM-MD5
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0001 OK Capability completed.
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0002 AUTHENTICATE CRAM-MD5
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: + PDU2MDQzMjEyOTU5MzczMTQuMTI5MDk5OTMxMkBzZXJ2ZXIuYnJpbmt3b3J0aGNvbnN1bHRpbmcuY29 tPg==
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: Y29tLmFwcGxlLmNhbGVuZGFyc2VydmVyIDY1MWRkNTE5YTIwNmNiN2U5MTZjYzVjYjFmMDEyYThj
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0002 OK Logged in.
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP logged in [unauth]
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0003 SELECT Inbox
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * 0 EXISTS
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * 0 RECENT
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * OK [UIDVALIDITY 1287276494] UIDs valid
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * OK [UIDNEXT 5] Predicted next UID
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0003 OK [READ-WRITE] Select completed.
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP Inbox selected [unauth]
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0004 UID FETCH 1:* (UID)
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0004 OK Fetch completed.
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP got uids [unauth]
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP Inbox has 0 messages
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0005 CLOSE
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0005 OK Close completed.
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP in cbClosed [unauth]
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] Mailbox closed
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0006 LOGOUT
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * BYE Logging out
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0006 OK Logout completed.
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadFactory#debug] IMAP factory connection lost
    2010-11-28 21:55:12-0500 [-] [mailgateway] 2010-11-28 21:55:12-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadFactory#debug] Scheduling next IMAP4 poll
    2010-11-28 21:55:36-0500 [-] [caldav_task] 2010-11-28 21:55:36-0500 [-] [calendarserver.sidecar.task#debug] Checking for tasks
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * OK Dovecot ready.
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP servergreeting
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0001 CAPABILITY
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ ID IDLE CHILDREN NAMESPACE LOGIN-REFERRALS UIDPLUS LIST-EXTENDED I18NLEVEL=1 QUOTA AUTH=GSSAPI AUTH=CRAM-MD5
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0001 OK Capability completed.
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0002 AUTHENTICATE CRAM-MD5
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: + PDI0OTE0Njg5MTk3MTU3NzAuMTI5MDk5OTM0MkBzZXJ2ZXIuYnJpbmt3b3J0aGNvbnN1bHRpbmcuY29 tPg==
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: Y29tLmFwcGxlLmNhbGVuZGFyc2VydmVyIDU1MThiNmE3ZTcwZTc0YWQ0ZDc3OGRkMWVhNWVmYTVj
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0002 OK Logged in.
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP logged in [unauth]
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0003 SELECT Inbox
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
    2010-11-28 21:55:42-0500 [-] [mailgateway] 2010-11-28 21:55:42-0500 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.

  • IPhone 3GS/IOS 6.1.6/Yosemite 10.10/iTunes 12.0.1.26 will not update or install apps

    I have an iPhone 3GS/IOS 6.1.6/iMac Yosemite 10.10/iTunes 12.0.1.26. I have always synced it with my 27 inch iMac with no problems.
    I recently attempted to install the apps "The Economist Expresso" and "Disconnect."
    I do NOT have (and have never had installed) the Wall Street Journal app.
    I do have a 4 digit passcode set.
    I do have Apples 2-factor authentication enabled.
    When downloaded by iTunes they show up in an iPhone window and are labeled "will install".
    I then click sync.
    The sync process begins and they "immediately" disappear from the iPhone windows and revert back to "install" in the list of apps.
    They have not installed and no error or any other message of any kind has been displayed.
    I suspect that this all began happening when I enabled the two factor authentication -- the iPhone is the primary location to receive the authorization code, and it has worked. It may also have begun happening when I upgraded to  Yosemite. I simply noticed that when syncing my iPhone, which I tend to do weekly by USB cable, not WiFi or iCloud; that the amount of free space simply kept growing.
    Today, I finally gave in and reset the iPhone, and then restored from a backup.
    Now I find that apps which I had been using daily, such as AP Mobile, were not restored, but also play this -- will install, then vanish -- game.
    This is clearly something which Apple has done to attempt to force me to purchase a new iPhone 6, but until now I have had no problem with my 3GS for what I use it for. This total lack of error messages will cause me to replace my 3GS with a non-Apple product as there is clearly no reason to stick with Apple.
    And yes, for me COST is a very big deal.

    iOS: Device not recognized in iTunes for OS X - Apple Support

  • ISE 1.1 'Change password on next logon' fails on iPhone / iPad

    Hello -
    We're in the process of implementing an ISE 1.1 server for Guest Wireless Access / BYOD at our company and ran into an issue with authenticating from iPhones / iPads when the account is set with 'change password on next logon' (it's a local account created on the ISE server - not AD). It fails and displays 'unable to join network' on the iPhone. The ISE log shows a '5411: No response received in 120 seconds'. We're able to authenticate from Windows devices and are prompted to change the password during the authentication process. Has anyone else encountered this? If we uncheck the 'change password' box we can authenticate from iPhones & iPads without any issue but we need to have a way for users to set their own password.
    Thanks!
    Bill

    Hi,
    I am encountering the exact same issue in our lab environment, but with AD accounts (We would like customers to be able and connect to the dot1x network with their AD credentials, and based on machine authentication they will or will not get restricted access).
    Just to be clear: the change password functionality works perfect on laptops, but on ipad/android we just cannot connect to the dot1x (PEAP) network when the "change password on next login" checkbox is on.
    Anyone else who can shed some light on this?
    Thanks
    Tom

  • EAP SIM Authentication Failure

    Hi all,
    Is there a way to debug EAP SIM authentication on iPhone / iPad? I see Challenge: AT_MAC_NOT_VALID failures in syslog everytime I try to connect to an EAPSIM server (freeradius). Please refer to following pcap
    http://www.cloudshark.org/captures/b9610f2b4a25
    I am using following values for simtriplets on freeradius server:
    1320727710000010,9fddc72092c6ad036b6e464789315b78,d113e49b,7fc85b9918d92ea8
    1320727710000010,81e92b6c0ee0e12ebceba8d92a99dfa5,cca822be,231f55c24633a406
    1320727710000010,b120f1c1a0102a2f507dd543de68281f,0ff5b99f,4421fce1f3427e22
    The iPad is loaded with a test SIM which is programmed with following values of Ki and Op and above SRES and Kc were generated using following values:
    key=0C0A34601D4F07677303652C0462535B
    op=63bfa50ee6523365ff14c1f45f88737d
    I have verified GSM milenage algorithm with test keys in 3GPP TS 55.205 v9.0.0 and the algorithm seems to work fine. All results match with the test inputs/results provided in 3GPP TS 55.205 v9.0.0. So I doubt there is some issue with SRES/Kc for above Ki/Op values.

    Hi,
    We spent many hours trying to solve this problem.
    Our setup:
    Cisco wireless setup, using windows NPS for 802.1x authentication.
    Certificate base auth, with an internal PKI sending out client machine certs, and also the server cert.
    Auth was failing with "reason code 22, The client could not be authenticated  because the Extensible Authentication Protocol (EAP) Type cannot be processed by the server."
    It turned out to be a GPO setting on the server, that was enforcing key protection.
    There is this note on the below technet article:
    Requiring the use of strong private key protection and user prompting on all new and imported keys will disable some applications, such as Encrypting File System (EFS) and wireless (802.1X) authentication that cannot display UI. For more information, see article 320828 in the Microsoft Knowledge Base (http://go.microsoft.com/fwlink/?LinkId=115037).
    http://technet.microsoft.com/en-us/library/cc725621(v=WS.10).aspx
    Hopefully this helps someone out, if you have the same annoying error.

  • Transport layer security for ActiveSync on iPhone

    Is the data (email, calendar, contacts) encrypted during transport when using ActiveSync on iPhone?
    Thanks
    Saqib

    All data sent via AT&T's cellular data or internet network is encrypted, which is the same with all GSM networks.
    And copied from this link.
    http://www.apple.com/iphone/business/integration/
    iPhone 3GS protects your data through encryption of information in transmission, at rest on the device, and when backed up to iTunes. iPhone also provides secure methods to prevent unauthorized use of the device through passcode policies and restrictions. In the event of a lost or stolen iPhone, you can even clear all data and settings by issuing a remote wipe command from Exchange.
    Network communications stay secure with Cisco IPSec VPN, WPA2 Enterprise Wi-Fi, and SSL/TLS on iPhone. Exchange users can enforce complex passcodes, camera restrictions, and other policies on iPhone to protect corporate data. And certificate-based authentication enables iPhone to connect with corporate servers via Exchange as well as VPN On Demand, making network communications seamless and secure.

  • Could not activate cellular data network(pdp authentication failure

    Could not activate cellular data network(pdp authentication failure

    All iPhones sold in Japan are sold carrier locked and cannot be officially unlocked by the carrier. If you unlocked it, it was by unauthorized means (hacked), and support cannot be given to you in this forum.
    Hacked iPhones are subject to countermeasures by Apple, particularly when updating the firmware. It is likely permanently re-locked or permanently disabled.
    Message was edited by: modular747

  • IPhone: which IKE proposal and which SA for cert auth

    Dear all,
    does anyone know which IKE proposal and which SA I need to manufacture to achieve certificate authentication with iPHONE and a VPN3000?
    I mean technically it must work, isn't it?
    --Joerg

    Under : Configuration\Policy Management\Traffic Management\SAs
    You will find the IPSec Proposals, not IKE. For IKE proposals, you need to go to :
    Configuration | Tunneling and Security | IPSec | IKE Proposals
    There you need to check if your proposal is in active proposals list or not. If not, you have to add it to Active Proposals.
    Hope this helps.

Maybe you are looking for