Created
August 15, 2014 23:53
-
-
Save sstadelman/00bd9c42cff68ae2829e to your computer and use it in GitHub Desktop.
SAML2 Configuration Provider implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void) initConversationManagerWithSAMLProvider { | |
CommonAuthenticationConfigurator* commonConfig = [[CommonAuthenticationConfigurator alloc] init]; | |
[commonConfig addSAML2ConfigProvider:self]; | |
HttpConversationManager* manager = [[HttpConversationManager alloc] init]; | |
[commonConfig configureManager:manager]; | |
} | |
/** | |
* SAML2 Configuration Provider implementation | |
*/ | |
-(void) provideSAML2ConfigurationForURL:(NSURL*)url completionBlock:(void (^)(NSString* responseHeader, NSString* finishEndPoint, NSString* finishParameters))completionBlock { | |
completionBlock(@"com.sap.cloud.security.login", @"/SAMLAuthLauncher", @"finishEndpointParam"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment