Report the correct preference keys
This commit is contained in:
parent
bb227443ed
commit
5f14bc1101
|
@ -102,7 +102,7 @@ LassoServerInContext (WOContext *context)
|
||||||
filename = [sd SAML2PrivateKeyLocation];
|
filename = [sd SAML2PrivateKeyLocation];
|
||||||
if (!filename)
|
if (!filename)
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
format: @"'SAML2PrivateKeyLocation' not set"];
|
format: @"'SOGoSAML2PrivateKeyLocation' not set"];
|
||||||
keyContent = [NSString stringWithContentsOfFile: filename];
|
keyContent = [NSString stringWithContentsOfFile: filename];
|
||||||
if (!keyContent)
|
if (!keyContent)
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
|
@ -112,7 +112,7 @@ LassoServerInContext (WOContext *context)
|
||||||
filename = [sd SAML2CertificateLocation];
|
filename = [sd SAML2CertificateLocation];
|
||||||
if (!filename)
|
if (!filename)
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
format: @"'SAML2CertificateLocation' not set"];
|
format: @"'SOGoSAML2CertificateLocation' not set"];
|
||||||
certContent = [NSString stringWithContentsOfFile: filename];
|
certContent = [NSString stringWithContentsOfFile: filename];
|
||||||
if (!certContent)
|
if (!certContent)
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
|
|
Loading…
Reference in a new issue