blackberry.com
BlackBerry Dynamics
Runtime library for iOS applications
from the application developer portal
Properties

NSURLCredential(GDNET) Class Reference

NSURLCredential category with additional features. More...

#import <NSURLCredential+GDNET.h>

List of all members.

Properties


Detailed Description

This class is a category of the Foundation NSURLCredential class that can be used when the BlackBerry Dynamics proxy infrastructure is in use via the URL Loading System (see GDURLLoadingSystem). This class provides the ability to set the persistence of credentials.

See also:
NSURLCredential class reference on the apple.com developer website.

Property Documentation

- (NSUInteger) gdPersistence [read, write, assign]

Set this property of an NSURLCredential object to specify the persistence for the credential that it represents. This property can be set on a server trust credential that is created as part of the processing of an NSURLAuthenticationMethodServerTrust authentication challenge.

The property can be set to one of the following values:

  • NSURLCredentialPersistenceNone Credential won't be stored persistently.
  • NSURLCredentialPersistencePermanent Credential will be stored persistently in the application's BlackBerry Dynamics secure store.

If the credential is stored persistently then it will be reused automatically every time an authentication challenge for the same protection space is received. This means that the following callbacks won't be invoked:

Automatic reuse continues until one of the following occurs:

  • The server presents different certificate details.
  • The application cancels persistence, by calling the undoPriorTrustDecision function.

See the class reference of the NSMutableURLRequest(GDNET) category for details of the undoPriorTrustDecision function.

- (BOOL) gdKerberosAllowDelegation [read, write, assign]

Set this property of an NSURLCredential object to specify whether to request tickets that can be delegated when the credential that it represents it used for Kerberos authentication.

Even if this property is set to YES, a ticket that can be delegated might not be issued. Delegation also depends on configuration in the Kerberos Key Distribution Center (KDC) at the enterprise.


The documentation for this class was generated from the following file: