Automatically Registering an Application using HTTP Authentication Provider

Registering an application automatically using HTTP Authentication Provider

Syntax

-(void) registerUser: (NSString *) username
withSecurityConfig: (NSString *) securityConfig
withPassword: (NSString *) password
withVaultPassword: (NSString *) vaultPassword

Parameters

  • username – Valid user name.
  • securityConfig – Security configuration of the registered application provided by the administrator in the Sybase Control Center.
  • password – Password used to authenticate the user.
  • vaultPassword – Password required to unlock the data vault .

Examples

  • Registering an application using HTTP Authentication Provider
    @try{
    [userManager registerUser:@"user" withSecurityConfig:@"sec-config" withPassword:@"password" withVaultPassword:@"vaultpassword"];
    @catch (NSException* e) {}