Skip to content
Snippets Groups Projects
Commit 963735cc authored by Olav Morken's avatar Olav Morken
Browse files

saml: Add support for overriding SAML 2.0 SP authentication request generation.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3124 44740490-163a-0410-bde0-09ae8108e29a
parent 0e824e1e
No related branches found
No related tags found
No related merge requests found
......@@ -257,12 +257,27 @@ class sspmod_saml_Auth_Source_SP extends SimpleSAML_Auth_Source {
SimpleSAML_Logger::debug('Sending SAML 2 AuthnRequest to ' . var_export($idpMetadata->getString('entityid'), TRUE));
$b = new SAML2_HTTPRedirect();
$b->send($ar);
$this->sendSAML2AuthnRequest($state, $b, $ar);
assert('FALSE');
}
/**
* Function to actually send the authentication request.
*
* This function does not return.
*
* @param array &$state The state array.
* @param SAML2_Binding $binding The binding.
* @param SAML2_AuthnRequest $ar The authentication request.
*/
public function sendSAML2AuthnRequest(array &$state, SAML2_Binding $binding, SAML2_AuthnRequest $ar) {
$binding->send($ar);
assert('FALSE');
}
/**
* Send a SSO request to an IdP.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment