[mapguide-users] Anonymous user without password can't connect to
MGServer with MaestroAPI
carls
carlshe at 163.com
Tue Sep 7 14:48:04 EDT 2010
It will fail if connecting Anonymous user to MGServer with
ConnectionFactory.CreateHttpConnection in MaestroAPI 2.1+.
I scanned the source and found the following code in class
'HttpServerConnection':
internal HttpServerConnection(NameValueCollection initParams) : this()
{
......
if (initParams["Password"] == null)
{
throw new ArgumentException("Missing required connection
parameter: Password");
}
......
}
But in many cases, strict authentication is not required. Anonymous user
without password is suitable for such cases.
it will be faced similar situation by using LocalNativeConnection.
-----
Regards, Carl SHE
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Anonymous-user-without-password-can-t-connect-to-MGServer-with-MaestroAPI-tp5507729p5507729.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list