From cab19f5814c43ade1bcac7a9ab4c29c83a6cf35d Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 27 May 2008 15:27:36 +0000 Subject: remove obsolete swig binding csharp, php5, python. java stays as long as alain coetmeur needs it php(4) will be superseded by the new bindings/php4 later. --- csharp/examples/perfs.cs | 36 ------------------------------------ csharp/examples/runme.cs | 27 --------------------------- 2 files changed, 63 deletions(-) delete mode 100644 csharp/examples/perfs.cs delete mode 100644 csharp/examples/runme.cs (limited to 'csharp/examples') diff --git a/csharp/examples/perfs.cs b/csharp/examples/perfs.cs deleted file mode 100644 index f72d126f..00000000 --- a/csharp/examples/perfs.cs +++ /dev/null @@ -1,36 +0,0 @@ -/* - * install lasso then compile with - * mcs -g -nologo -pkg:lasso-sharp -out:perfs.exe perfs.cs - */ - -using System; - -public class perfs -{ - static void Main() - { - lasso.lasso.init(); - - lasso.Server server = new lasso.Server( - "../../tests/data/sp1-la/metadata.xml", - "../../tests/data/sp1-la/private-key-raw.pem", - null, - "../../tests/data/sp1-la/certificate.pem"); - - server.addProvider(lasso.LassoProviderRole.PROVIDER_ROLE_SP, - "../../tests/data/idp1-la/metadata.xml", - "../../tests/data/idp1-la/public-key.pem", - "../../tests/data/ca1-la/certificate.pem"); - - lasso.Login login = new lasso.Login(server); - - login.initAuthnRequest("https://idp1/metadata", (lasso.LassoHttpMethod)4); - lasso.LibAuthnRequest request = (lasso.LibAuthnRequest)login.request; - login.request.protocolProfile = lasso.lasso.LIB_PROTOCOL_PROFILE_BRWS_POST; - login.buildAuthnRequestMsg(); - - Console.WriteLine(login.msgUrl); - - lasso.lasso.shutdown(); - } -} diff --git a/csharp/examples/runme.cs b/csharp/examples/runme.cs deleted file mode 100644 index e0114b94..00000000 --- a/csharp/examples/runme.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* - * install lasso then compile with - * mcs -g -nologo -pkg:lasso-sharp -out:runme.exe runme.cs - */ - -using System; - -public class runme -{ - static void Main() - { - lasso.lasso.init(); - - lasso.Server server = new lasso.Server( - "../../tests/data/sp1-la/metadata.xml", - "../../tests/data/sp1-la/private-key-raw.pem", - null, - "../../tests/data/sp1-la/certificate.pem"); - server.addProvider(lasso.LassoProviderRole.PROVIDER_ROLE_SP, - "../../tests/data/idp1-la/metadata.xml", - "../../tests/data/idp1-la/public-key.pem", - "../../tests/data/ca1-la/certificate.pem"); - Console.WriteLine(server.dump()); - - lasso.lasso.shutdown(); - } -} -- cgit