Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Supprime service web et ajoute les liens relatifs

  • Loading branch information...
commit 009a04a5e95c26f770118746ff890d2be93ac9f2 1 parent de637d4
@coylz coylz authored
Showing with 58 additions and 1,514 deletions.
  1. +1 −0  adresse_deploiement.txt
  2. +0 −9 publication/HobbyCartes/HobbyCartes.sln
  3. +0 −2  publication/HobbyCartes/HobbyCartes/Connexion.aspx.vb
  4. +1 −27 publication/HobbyCartes/HobbyCartes/HobbyCartes.vbproj
  5. +0 −2  publication/HobbyCartes/HobbyCartes/Inscription.aspx.vb
  6. +5 −5 publication/HobbyCartes/HobbyCartes/Membre.master
  7. +7 −7 publication/HobbyCartes/HobbyCartes/Membre.master.vb
  8. +2 −2 publication/HobbyCartes/HobbyCartes/MembreEditerFiche.aspx.vb
  9. +40 −0 publication/HobbyCartes/HobbyCartes/Securite.vb
  10. +0 −10 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/HC_service_web.xsd
  11. +0 −10 ...yCartes/HobbyCartes/Service References/ServiceSecurite/HobbyCartes.ServiceSecurite.CompositeType.datasource
  12. +0 −33 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/Reference.svcmap
  13. +0 −146 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/Reference.vb
  14. +0 −10 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/configuration.svcinfo
  15. +0 −216 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/configuration91.svcinfo
  16. +0 −359 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/service.wsdl
  17. +0 −62 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/service.xsd
  18. +0 −42 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/service1.xsd
  19. +2 −19 publication/HobbyCartes/HobbyCartes/Web.config
  20. +0 −40 publication/HobbyCartes/serviceweb_hc/App.config
  21. +0 −119 publication/HobbyCartes/serviceweb_hc/HC_service_web.vbproj
  22. +0 −15 publication/HobbyCartes/serviceweb_hc/HC_service_web.vbproj.user
  23. +0 −31 publication/HobbyCartes/serviceweb_hc/ISecurite_hc.vb
  24. +0 −35 publication/HobbyCartes/serviceweb_hc/My Project/AssemblyInfo.vb
  25. +0 −63 publication/HobbyCartes/serviceweb_hc/My Project/Resources.Designer.vb
  26. +0 −117 publication/HobbyCartes/serviceweb_hc/My Project/Resources.resx
  27. +0 −73 publication/HobbyCartes/serviceweb_hc/My Project/Settings.Designer.vb
  28. +0 −7 publication/HobbyCartes/serviceweb_hc/My Project/Settings.settings
  29. +0 −53 publication/HobbyCartes/serviceweb_hc/ServiceHash.vb
View
1  adresse_deploiement.txt
@@ -0,0 +1 @@
+http://205.236.12.106/HobbyCartes/Accueil.aspx
View
9 publication/HobbyCartes/HobbyCartes.sln
@@ -2,11 +2,6 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "HobbyCartes", "HobbyCartes\HobbyCartes.vbproj", "{5C766283-3B8E-476D-A7FE-5138D647CCE8}"
- ProjectSection(ProjectDependencies) = postProject
- {48899A41-AFF3-4D25-9A0D-142AEC018258} = {48899A41-AFF3-4D25-9A0D-142AEC018258}
- EndProjectSection
-EndProject
-Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "HC_service_web", "serviceweb_hc\HC_service_web.vbproj", "{48899A41-AFF3-4D25-9A0D-142AEC018258}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -18,10 +13,6 @@ Global
{5C766283-3B8E-476D-A7FE-5138D647CCE8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5C766283-3B8E-476D-A7FE-5138D647CCE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5C766283-3B8E-476D-A7FE-5138D647CCE8}.Release|Any CPU.Build.0 = Release|Any CPU
- {48899A41-AFF3-4D25-9A0D-142AEC018258}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {48899A41-AFF3-4D25-9A0D-142AEC018258}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {48899A41-AFF3-4D25-9A0D-142AEC018258}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {48899A41-AFF3-4D25-9A0D-142AEC018258}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
View
2  publication/HobbyCartes/HobbyCartes/Connexion.aspx.vb
@@ -7,7 +7,6 @@
Imports MySql.Data
Imports MySql.Data.MySqlClient
Imports System.IO
-Imports HobbyCartes.ServiceSecurite
Public Class Connexion
Inherits System.Web.UI.Page
@@ -26,7 +25,6 @@ Public Class Connexion
Dim motPasse As String = txtMotPasse.Text
'Sécurité mot de passe
- Dim securite As Securite_hcClient = New Securite_hcClient()
motPasse = securite.HashPass(motPasse, pseudo)
Dim id As Integer
View
28 publication/HobbyCartes/HobbyCartes/HobbyCartes.vbproj
@@ -145,15 +145,6 @@
<Content Include="MySQL\MySql.Data.Entity.dll" />
<Content Include="MySQL\MySql.Web.dll" />
<Content Include="Recherche.aspx" />
- <None Include="Service References\ServiceSecurite\configuration91.svcinfo" />
- <None Include="Service References\ServiceSecurite\configuration.svcinfo" />
- <None Include="Service References\ServiceSecurite\HobbyCartes.ServiceSecurite.CompositeType.datasource">
- <DependentUpon>Reference.svcmap</DependentUpon>
- </None>
- <None Include="Service References\ServiceSecurite\Reference.svcmap">
- <Generator>WCF Proxy Generator</Generator>
- <LastGenOutput>Reference.vb</LastGenOutput>
- </None>
<Content Include="script\jquery.js" />
<Content Include="Web.config" />
<Content Include="Web.Debug.config">
@@ -301,11 +292,7 @@
<DependentUpon>Fiche.aspx</DependentUpon>
<SubType>ASPXCodebehind</SubType>
</Compile>
- <Compile Include="Service References\ServiceSecurite\Reference.vb">
- <AutoGen>True</AutoGen>
- <DesignTime>True</DesignTime>
- <DependentUpon>Reference.svcmap</DependentUpon>
- </Compile>
+ <Compile Include="Securite.vb" />
<Compile Include="Settings.vb" />
<Compile Include="Connexion.aspx.designer.vb">
<DependentUpon>Connexion.aspx</DependentUpon>
@@ -343,24 +330,11 @@
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
- <None Include="Service References\ServiceSecurite\HC_service_web.xsd">
- <SubType>Designer</SubType>
- </None>
- <None Include="Service References\ServiceSecurite\service.wsdl" />
- <None Include="Service References\ServiceSecurite\service.xsd">
- <SubType>Designer</SubType>
- </None>
- <None Include="Service References\ServiceSecurite\service1.xsd">
- <SubType>Designer</SubType>
- </None>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
- <WCFMetadataStorage Include="Service References\ServiceSecurite\" />
- </ItemGroup>
- <ItemGroup>
<Folder Include="sauvegardes\" />
</ItemGroup>
<ItemGroup>
View
2  publication/HobbyCartes/HobbyCartes/Inscription.aspx.vb
@@ -6,7 +6,6 @@
Imports MySql.Data
Imports MySql.Data.MySqlClient
-Imports HobbyCartes.ServiceSecurite
Public Class Inscription
Inherits System.Web.UI.Page
@@ -47,7 +46,6 @@ Public Class Inscription
m_membre.Courriel = txtCourriel.Text
'Sécurité du mot de passe
- Dim securite As Securite_hcClient = New Securite_hcClient()
Dim motPasse As String = securite.HashPass(txtMotPasse.Text, m_membre.nomUtilisateur)
Dim motPasse2 As String = securite.HashPass(txtRepMotPasse.Text, m_membre.nomUtilisateur)
View
10 publication/HobbyCartes/HobbyCartes/Membre.master
@@ -3,11 +3,11 @@
<asp:Content ContentPlaceHolderID="cphCorps" runat="server">
<div id="membre">
<div id="membre_onglets">
- <a class="onglet" href="/MembreInfo.aspx" id="ongletInformations" runat="server" >Informations</a>
- <a class="onglet" href="/MembreListeCartes.aspx" id="ongletListeCartes" runat="server" >Liste des cartes</a>
- <a class="onglet" href="/MembreGererCollections.aspx" id="ongletGererCollections" runat="server" >Gérer ses collections</a>
- <a class="onglet" href="/MembreVisualiserMessages.aspx" id="ongletVisualiserMessages" runat="server" >Visualiser ses messages</a>
- <a class="onglet" href="/MembreEnvoiMessage.aspx" id="ongletEnvoiMessage" runat="server" >Envoyer un message</a>
+ <a class="onglet" href="MembreInfo.aspx" id="ongletInformations" runat="server" >Informations</a>
+ <a class="onglet" href="MembreListeCartes.aspx" id="ongletListeCartes" runat="server" >Liste des cartes</a>
+ <a class="onglet" href="MembreGererCollections.aspx" id="ongletGererCollections" runat="server" >Gérer ses collections</a>
+ <a class="onglet" href="MembreVisualiserMessages.aspx" id="ongletVisualiserMessages" runat="server" >Visualiser ses messages</a>
+ <a class="onglet" href="MembreEnvoiMessage.aspx" id="ongletEnvoiMessage" runat="server" >Envoyer un message</a>
</div>
<div id="membre_contenu">
<asp:ContentPlaceHolder ID="cphPageMembreContenu" runat="server" />
View
14 publication/HobbyCartes/HobbyCartes/Membre.master.vb
@@ -49,17 +49,17 @@ Public Class Membre
End If
End If
- If Request.ServerVariables("URL").Equals("/MembreInfo.aspx") Then
+ If Request.ServerVariables("URL").Equals("MembreInfo.aspx") Then
ongletInformations.Style.Add("background-color", "Black")
- ElseIf Request.ServerVariables("URL").Equals("/MembreListeCartes.aspx") Then
+ ElseIf Request.ServerVariables("URL").Equals("MembreListeCartes.aspx") Then
ongletListeCartes.Style.Add("background-color", "Black")
- ElseIf Request.ServerVariables("URL").Equals("/MembreGererCollections.aspx") Or
- Request.ServerVariables("URL").Equals("/MembreEditerFiche.aspx") Then
+ ElseIf Request.ServerVariables("URL").Equals("MembreGererCollections.aspx") Or
+ Request.ServerVariables("URL").Equals("MembreEditerFiche.aspx") Then
ongletGererCollections.Style.Add("background-color", "Black")
- ElseIf Request.ServerVariables("URL").Equals("/MembreVisualiserMessages.aspx") Or
- Request.ServerVariables("URL").Equals("/MembreVisualiserMessage.aspx") Then
+ ElseIf Request.ServerVariables("URL").Equals("MembreVisualiserMessages.aspx") Or
+ Request.ServerVariables("URL").Equals("MembreVisualiserMessage.aspx") Then
ongletVisualiserMessages.Style.Add("background-color", "Black")
- ElseIf Request.ServerVariables("URL").Equals("/MembreEnvoiMessage.aspx") Then
+ ElseIf Request.ServerVariables("URL").Equals("MembreEnvoiMessage.aspx") Then
ongletEnvoiMessage.Style.Add("background-color", "Black")
End If
End Sub
View
4 publication/HobbyCartes/HobbyCartes/MembreEditerFiche.aspx.vb
@@ -191,9 +191,9 @@ Public Class MembreEditerFiche
fiche.sauvegarde()
If Boolean.Parse(Session("Admin")) And Not IsNothing(Request.QueryString("pseudo")) Then
- Response.Redirect("/MembreGererCollections.aspx?pseudo=" & Request.QueryString("pseudo"))
+ Response.Redirect("MembreGererCollections.aspx?pseudo=" & Request.QueryString("pseudo"))
Else
- Response.Redirect("/MembreGererCollections.aspx")
+ Response.Redirect("MembreGererCollections.aspx")
End If
End Sub
View
40 publication/HobbyCartes/HobbyCartes/Securite.vb
@@ -0,0 +1,40 @@
+Imports System.Text
+Imports System.Security.Cryptography
+
+Public Class Securite
+
+ Public Shared Function ComparerMotPasses(motPass1 As String, motPass2 As String) As Boolean
+ Dim tmpMotPass1() As Byte = Convert.FromBase64String(motPass1)
+ Dim tmpMotPass2() As Byte = Convert.FromBase64String(motPass2)
+
+ Try
+ For i As Integer = 0 To (tmpMotPass1.Length - 1)
+
+ 'Si les octets ne concordent pas
+ If Not tmpMotPass1(i).Equals(tmpMotPass2(i)) Then
+ Return False
+ End If
+
+ Next
+
+ Return True
+ Catch ex As Exception
+ Return False
+ End Try
+ End Function
+
+ Public Shared Function HashPass(motPass As String, salt As String) As String
+ Dim tmpMotPass As String = Nothing
+ Dim tmpSalt() As Byte = Encoding.UTF8.GetBytes(salt)
+
+ 'Ajout d'un peu de sel au mot de passe!
+ tmpMotPass = Convert.ToBase64String(tmpSalt) + motPass
+
+ 'Obtient les octets du mot de passe et les hachent en SHA2
+ Dim octets() As Byte = New SHA384Managed().ComputeHash(Encoding.UTF8.GetBytes(tmpMotPass))
+
+ 'Retourne le hash en SHA2
+ Return Convert.ToBase64String(octets)
+ End Function
+
+End Class
View
10 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/HC_service_web.xsd
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/HC_service_web" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/HC_service_web" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:complexType name="CompositeType">
- <xs:sequence>
- <xs:element minOccurs="0" name="BoolValue" type="xs:boolean" />
- <xs:element minOccurs="0" name="StringValue" nillable="true" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- <xs:element name="CompositeType" nillable="true" type="tns:CompositeType" />
-</xs:schema>
View
10 ...rtes/HobbyCartes/Service References/ServiceSecurite/HobbyCartes.ServiceSecurite.CompositeType.datasource
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- This file is automatically generated by Visual Studio .Net. It is
- used to store generic object data source configuration information.
- Renaming the file extension or editing the content of this file may
- cause the file to be unrecognizable by the program.
--->
-<GenericObjectDataSource DisplayName="CompositeType" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
- <TypeInfo>HobbyCartes.ServiceSecurite.CompositeType, Service References.ServiceSecurite.Reference.vb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
-</GenericObjectDataSource>
View
33 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/Reference.svcmap
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="18bb70df-df1a-46f2-a251-ba13e6b30c46" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
- <ClientOptions>
- <GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
- <EnableDataBinding>true</EnableDataBinding>
- <ExcludedTypes />
- <ImportXmlTypes>false</ImportXmlTypes>
- <GenerateInternalTypes>false</GenerateInternalTypes>
- <GenerateMessageContracts>false</GenerateMessageContracts>
- <NamespaceMappings />
- <CollectionMappings />
- <GenerateSerializableTypes>true</GenerateSerializableTypes>
- <Serializer>Auto</Serializer>
- <UseSerializerForFaults>true</UseSerializerForFaults>
- <ReferenceAllAssemblies>true</ReferenceAllAssemblies>
- <ReferencedAssemblies />
- <ReferencedDataContractTypes />
- <ServiceContractMappings />
- </ClientOptions>
- <MetadataSources>
- <MetadataSource Address="http://localhost:8732/Design_Time_Addresses/Lise/Service1/mex" Protocol="mex" SourceId="1" />
- </MetadataSources>
- <Metadata>
- <MetadataFile FileName="service.wsdl" MetadataType="Wsdl" ID="1ceeb999-3c26-4c87-aa80-6a33b1b7847f" SourceId="1" SourceUrl="http://localhost:8732/Design_Time_Addresses/Lise/Service1/mex" />
- <MetadataFile FileName="service.xsd" MetadataType="Schema" ID="f60a92ae-e2b5-4efb-87b9-b56eb6f3ce13" SourceId="1" SourceUrl="http://localhost:8732/Design_Time_Addresses/Lise/Service1/mex" />
- <MetadataFile FileName="service1.xsd" MetadataType="Schema" ID="d5e5133f-2dd7-42ff-96dc-5da2224a32da" SourceId="1" SourceUrl="http://localhost:8732/Design_Time_Addresses/Lise/Service1/mex" />
- <MetadataFile FileName="HC_service_web.xsd" MetadataType="Schema" ID="ca284845-9480-4a27-afd3-4fc5cb6ecbcc" SourceId="1" SourceUrl="http://localhost:8732/Design_Time_Addresses/Lise/Service1/mex" />
- </Metadata>
- <Extensions>
- <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
- <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
- </Extensions>
-</ReferenceGroup>
View
146 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/Reference.vb
@@ -1,146 +0,0 @@
-'------------------------------------------------------------------------------
-' <auto-generated>
-' Ce code a été généré par un outil.
-' Version du runtime :4.0.30319.269
-'
-' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
-' le code est régénéré.
-' </auto-generated>
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-Imports System
-Imports System.Runtime.Serialization
-
-Namespace ServiceSecurite
-
- <System.Diagnostics.DebuggerStepThroughAttribute(), _
- System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0"), _
- System.Runtime.Serialization.DataContractAttribute(Name:="CompositeType", [Namespace]:="http://schemas.datacontract.org/2004/07/HC_service_web"), _
- System.SerializableAttribute()> _
- Partial Public Class CompositeType
- Inherits Object
- Implements System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
-
- <System.NonSerializedAttribute()> _
- Private extensionDataField As System.Runtime.Serialization.ExtensionDataObject
-
- <System.Runtime.Serialization.OptionalFieldAttribute()> _
- Private BoolValueField As Boolean
-
- <System.Runtime.Serialization.OptionalFieldAttribute()> _
- Private StringValueField As String
-
- <Global.System.ComponentModel.BrowsableAttribute(false)> _
- Public Property ExtensionData() As System.Runtime.Serialization.ExtensionDataObject Implements System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
- Get
- Return Me.extensionDataField
- End Get
- Set
- Me.extensionDataField = value
- End Set
- End Property
-
- <System.Runtime.Serialization.DataMemberAttribute()> _
- Public Property BoolValue() As Boolean
- Get
- Return Me.BoolValueField
- End Get
- Set
- If (Me.BoolValueField.Equals(value) <> true) Then
- Me.BoolValueField = value
- Me.RaisePropertyChanged("BoolValue")
- End If
- End Set
- End Property
-
- <System.Runtime.Serialization.DataMemberAttribute()> _
- Public Property StringValue() As String
- Get
- Return Me.StringValueField
- End Get
- Set
- If (Object.ReferenceEquals(Me.StringValueField, value) <> true) Then
- Me.StringValueField = value
- Me.RaisePropertyChanged("StringValue")
- End If
- End Set
- End Property
-
- Public Event PropertyChanged As System.ComponentModel.PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
-
- Protected Sub RaisePropertyChanged(ByVal propertyName As String)
- Dim propertyChanged As System.ComponentModel.PropertyChangedEventHandler = Me.PropertyChangedEvent
- If (Not (propertyChanged) Is Nothing) Then
- propertyChanged(Me, New System.ComponentModel.PropertyChangedEventArgs(propertyName))
- End If
- End Sub
- End Class
-
- <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0"), _
- System.ServiceModel.ServiceContractAttribute(ConfigurationName:="ServiceSecurite.ISecurite_hc")> _
- Public Interface ISecurite_hc
-
- <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/ISecurite_hc/GetData", ReplyAction:="http://tempuri.org/ISecurite_hc/GetDataResponse")> _
- Function GetData(ByVal value As Integer) As String
-
- <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/ISecurite_hc/GetDataUsingDataContract", ReplyAction:="http://tempuri.org/ISecurite_hc/GetDataUsingDataContractResponse")> _
- Function GetDataUsingDataContract(ByVal composite As ServiceSecurite.CompositeType) As ServiceSecurite.CompositeType
-
- <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/ISecurite_hc/HashPass", ReplyAction:="http://tempuri.org/ISecurite_hc/HashPassResponse")> _
- Function HashPass(ByVal motPass As String, ByVal salt As String) As String
-
- <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/ISecurite_hc/ComparerMotPasses", ReplyAction:="http://tempuri.org/ISecurite_hc/ComparerMotPassesResponse")> _
- Function ComparerMotPasses(ByVal motPass1 As String, ByVal motPass2 As String) As Boolean
- End Interface
-
- <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")> _
- Public Interface ISecurite_hcChannel
- Inherits ServiceSecurite.ISecurite_hc, System.ServiceModel.IClientChannel
- End Interface
-
- <System.Diagnostics.DebuggerStepThroughAttribute(), _
- System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")> _
- Partial Public Class Securite_hcClient
- Inherits System.ServiceModel.ClientBase(Of ServiceSecurite.ISecurite_hc)
- Implements ServiceSecurite.ISecurite_hc
-
- Public Sub New()
- MyBase.New
- End Sub
-
- Public Sub New(ByVal endpointConfigurationName As String)
- MyBase.New(endpointConfigurationName)
- End Sub
-
- Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As String)
- MyBase.New(endpointConfigurationName, remoteAddress)
- End Sub
-
- Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
- MyBase.New(endpointConfigurationName, remoteAddress)
- End Sub
-
- Public Sub New(ByVal binding As System.ServiceModel.Channels.Binding, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
- MyBase.New(binding, remoteAddress)
- End Sub
-
- Public Function GetData(ByVal value As Integer) As String Implements ServiceSecurite.ISecurite_hc.GetData
- Return MyBase.Channel.GetData(value)
- End Function
-
- Public Function GetDataUsingDataContract(ByVal composite As ServiceSecurite.CompositeType) As ServiceSecurite.CompositeType Implements ServiceSecurite.ISecurite_hc.GetDataUsingDataContract
- Return MyBase.Channel.GetDataUsingDataContract(composite)
- End Function
-
- Public Function HashPass(ByVal motPass As String, ByVal salt As String) As String Implements ServiceSecurite.ISecurite_hc.HashPass
- Return MyBase.Channel.HashPass(motPass, salt)
- End Function
-
- Public Function ComparerMotPasses(ByVal motPass1 As String, ByVal motPass2 As String) As Boolean Implements ServiceSecurite.ISecurite_hc.ComparerMotPasses
- Return MyBase.Channel.ComparerMotPasses(motPass1, motPass2)
- End Function
- End Class
-End Namespace
View
10 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/configuration.svcinfo
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
- <behaviors />
- <bindings>
- <binding digest="System.ServiceModel.Configuration.WSHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data hostNameComparisonMode=&quot;StrongWildcard&quot; messageEncoding=&quot;Text&quot; name=&quot;WSHttpBinding_ISecurite_hc&quot; textEncoding=&quot;utf-8&quot; transactionFlow=&quot;false&quot;&gt;&lt;readerQuotas maxArrayLength=&quot;16384&quot; maxBytesPerRead=&quot;4096&quot; maxDepth=&quot;32&quot; maxNameTableCharCount=&quot;16384&quot; maxStringContentLength=&quot;8192&quot; /&gt;&lt;reliableSession enabled=&quot;false&quot; inactivityTimeout=&quot;00:10:00&quot; ordered=&quot;true&quot; /&gt;&lt;security mode=&quot;Message&quot;&gt;&lt;message algorithmSuite=&quot;Default&quot; clientCredentialType=&quot;Windows&quot; negotiateServiceCredential=&quot;true&quot; /&gt;&lt;transport clientCredentialType=&quot;Windows&quot; proxyCredentialType=&quot;None&quot; realm=&quot;&quot; /&gt;&lt;/security&gt;&lt;/Data&gt;" bindingType="wsHttpBinding" name="WSHttpBinding_ISecurite_hc" />
- </bindings>
- <endpoints>
- <endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:8732/Design_Time_Addresses/Lise/Service1/&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;WSHttpBinding_ISecurite_hc&quot; contract=&quot;ServiceSecurite.ISecurite_hc&quot; name=&quot;WSHttpBinding_ISecurite_hc&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:8732/Design_Time_Addresses/Lise/Service1/&quot; binding=&quot;wsHttpBinding&quot; bindingConfiguration=&quot;WSHttpBinding_ISecurite_hc&quot; contract=&quot;ServiceSecurite.ISecurite_hc&quot; name=&quot;WSHttpBinding_ISecurite_hc&quot;&gt;&lt;identity&gt;&lt;dns value=&quot;localhost&quot; /&gt;&lt;/identity&gt;&lt;/Data&gt;" contractName="ServiceSecurite.ISecurite_hc" name="WSHttpBinding_ISecurite_hc" />
- </endpoints>
-</configurationSnapshot>
View
216 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/configuration91.svcinfo
@@ -1,216 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="GGB5Gu54jb6niMMyM48GOWCBSiU=">
- <bindingConfigurations>
- <bindingConfiguration bindingType="wsHttpBinding" name="WSHttpBinding_ISecurite_hc">
- <properties>
- <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>WSHttpBinding_ISecurite_hc</serializedValue>
- </property>
- <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>00:01:00</serializedValue>
- </property>
- <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>00:01:00</serializedValue>
- </property>
- <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>00:10:00</serializedValue>
- </property>
- <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>00:01:00</serializedValue>
- </property>
- <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>False</serializedValue>
- </property>
- <property path="/transactionFlow" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>False</serializedValue>
- </property>
- <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>StrongWildcard</serializedValue>
- </property>
- <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>524288</serializedValue>
- </property>
- <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>65536</serializedValue>
- </property>
- <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>Text</serializedValue>
- </property>
- <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
- </property>
- <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>32</serializedValue>
- </property>
- <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>8192</serializedValue>
- </property>
- <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>16384</serializedValue>
- </property>
- <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>4096</serializedValue>
- </property>
- <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>16384</serializedValue>
- </property>
- <property path="/reliableSession" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.StandardBindingOptionalReliableSessionElement</serializedValue>
- </property>
- <property path="/reliableSession/ordered" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>True</serializedValue>
- </property>
- <property path="/reliableSession/inactivityTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>00:10:00</serializedValue>
- </property>
- <property path="/reliableSession/enabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>False</serializedValue>
- </property>
- <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.Text.UTF8Encoding</serializedValue>
- </property>
- <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>True</serializedValue>
- </property>
- <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>False</serializedValue>
- </property>
- <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.WSHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.WSHttpSecurityElement</serializedValue>
- </property>
- <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.SecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>Message</serializedValue>
- </property>
- <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.WSHttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.WSHttpTransportSecurityElement</serializedValue>
- </property>
- <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>Windows</serializedValue>
- </property>
- <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>None</serializedValue>
- </property>
- <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
- </property>
- <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>Never</serializedValue>
- </property>
- <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>TransportSelected</serializedValue>
- </property>
- <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>(Collection)</serializedValue>
- </property>
- <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.NonDualMessageSecurityOverHttpElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.NonDualMessageSecurityOverHttpElement</serializedValue>
- </property>
- <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.MessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>Windows</serializedValue>
- </property>
- <property path="/security/message/negotiateServiceCredential" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>True</serializedValue>
- </property>
- <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>Default</serializedValue>
- </property>
- <property path="/security/message/establishSecurityContext" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>True</serializedValue>
- </property>
- </properties>
- </bindingConfiguration>
- </bindingConfigurations>
- <endpoints>
- <endpoint name="WSHttpBinding_ISecurite_hc" contract="ServiceSecurite.ISecurite_hc" bindingType="wsHttpBinding" address="http://localhost:8732/Design_Time_Addresses/Lise/Service1/" bindingConfiguration="WSHttpBinding_ISecurite_hc">
- <properties>
- <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>http://localhost:8732/Design_Time_Addresses/Lise/Service1/</serializedValue>
- </property>
- <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>wsHttpBinding</serializedValue>
- </property>
- <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>WSHttpBinding_ISecurite_hc</serializedValue>
- </property>
- <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>ServiceSecurite.ISecurite_hc</serializedValue>
- </property>
- <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
- </property>
- <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>&lt;Header /&gt;</serializedValue>
- </property>
- <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
- </property>
- <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
- </property>
- <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
- </property>
- <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
- </property>
- <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>localhost</serializedValue>
- </property>
- <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
- </property>
- <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
- </property>
- <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
- </property>
- <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>My</serializedValue>
- </property>
- <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>LocalMachine</serializedValue>
- </property>
- <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>FindBySubjectDistinguishedName</serializedValue>
- </property>
- <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>False</serializedValue>
- </property>
- <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue>WSHttpBinding_ISecurite_hc</serializedValue>
- </property>
- <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <serializedValue />
- </property>
- </properties>
- </endpoint>
- </endpoints>
-</SavedWcfConfigurationInformation>
View
359 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/service.wsdl
@@ -1,359 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ServiceHash" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsp:Policy wsu:Id="WSHttpBinding_ISecurite_hc_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <wsp:Policy>
- <sp:ProtectionToken>
- <wsp:Policy>
- <sp:SecureConversationToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
- <wsp:Policy>
- <sp:RequireDerivedKeys />
- <sp:BootstrapPolicy>
- <wsp:Policy>
- <sp:SignedParts>
- <sp:Body />
- <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
- </sp:SignedParts>
- <sp:EncryptedParts>
- <sp:Body />
- </sp:EncryptedParts>
- <sp:SymmetricBinding>
- <wsp:Policy>
- <sp:ProtectionToken>
- <wsp:Policy>
- <sp:SpnegoContextToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
- <wsp:Policy>
- <sp:RequireDerivedKeys />
- </wsp:Policy>
- </sp:SpnegoContextToken>
- </wsp:Policy>
- </sp:ProtectionToken>
- <sp:AlgorithmSuite>
- <wsp:Policy>
- <sp:Basic256 />
- </wsp:Policy>
- </sp:AlgorithmSuite>
- <sp:Layout>
- <wsp:Policy>
- <sp:Strict />
- </wsp:Policy>
- </sp:Layout>
- <sp:IncludeTimestamp />
- <sp:EncryptSignature />
- <sp:OnlySignEntireHeadersAndBody />
- </wsp:Policy>
- </sp:SymmetricBinding>
- <sp:Wss11>
- <wsp:Policy />
- </sp:Wss11>
- <sp:Trust10>
- <wsp:Policy>
- <sp:MustSupportIssuedTokens />
- <sp:RequireClientEntropy />
- <sp:RequireServerEntropy />
- </wsp:Policy>
- </sp:Trust10>
- </wsp:Policy>
- </sp:BootstrapPolicy>
- </wsp:Policy>
- </sp:SecureConversationToken>
- </wsp:Policy>
- </sp:ProtectionToken>
- <sp:AlgorithmSuite>
- <wsp:Policy>
- <sp:Basic256 />
- </wsp:Policy>
- </sp:AlgorithmSuite>
- <sp:Layout>
- <wsp:Policy>
- <sp:Strict />
- </wsp:Policy>
- </sp:Layout>
- <sp:IncludeTimestamp />
- <sp:EncryptSignature />
- <sp:OnlySignEntireHeadersAndBody />
- </wsp:Policy>
- </sp:SymmetricBinding>
- <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <wsp:Policy />
- </sp:Wss11>
- <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <wsp:Policy>
- <sp:MustSupportIssuedTokens />
- <sp:RequireClientEntropy />
- <sp:RequireServerEntropy />
- </wsp:Policy>
- </sp:Trust10>
- <wsaw:UsingAddressing />
- </wsp:All>
- </wsp:ExactlyOne>
- </wsp:Policy>
- <wsp:Policy wsu:Id="WSHttpBinding_ISecurite_hc_GetData_Input_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
- </sp:SignedParts>
- <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- </sp:EncryptedParts>
- </wsp:All>
- </wsp:ExactlyOne>
- </wsp:Policy>
- <wsp:Policy wsu:Id="WSHttpBinding_ISecurite_hc_GetData_output_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
- </sp:SignedParts>
- <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- </sp:EncryptedParts>
- </wsp:All>
- </wsp:ExactlyOne>
- </wsp:Policy>
- <wsp:Policy wsu:Id="WSHttpBinding_ISecurite_hc_GetDataUsingDataContract_Input_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
- </sp:SignedParts>
- <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- </sp:EncryptedParts>
- </wsp:All>
- </wsp:ExactlyOne>
- </wsp:Policy>
- <wsp:Policy wsu:Id="WSHttpBinding_ISecurite_hc_GetDataUsingDataContract_output_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
- </sp:SignedParts>
- <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- </sp:EncryptedParts>
- </wsp:All>
- </wsp:ExactlyOne>
- </wsp:Policy>
- <wsp:Policy wsu:Id="WSHttpBinding_ISecurite_hc_HashPass_Input_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
- </sp:SignedParts>
- <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- </sp:EncryptedParts>
- </wsp:All>
- </wsp:ExactlyOne>
- </wsp:Policy>
- <wsp:Policy wsu:Id="WSHttpBinding_ISecurite_hc_HashPass_output_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
- </sp:SignedParts>
- <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- </sp:EncryptedParts>
- </wsp:All>
- </wsp:ExactlyOne>
- </wsp:Policy>
- <wsp:Policy wsu:Id="WSHttpBinding_ISecurite_hc_ComparerMotPasses_Input_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
- </sp:SignedParts>
- <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- </sp:EncryptedParts>
- </wsp:All>
- </wsp:ExactlyOne>
- </wsp:Policy>
- <wsp:Policy wsu:Id="WSHttpBinding_ISecurite_hc_ComparerMotPasses_output_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing" />
- <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing" />
- </sp:SignedParts>
- <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <sp:Body />
- </sp:EncryptedParts>
- </wsp:All>
- </wsp:ExactlyOne>
- </wsp:Policy>
- <wsdl:types>
- <xsd:schema targetNamespace="http://tempuri.org/Imports">
- <xsd:import namespace="http://tempuri.org/" />
- <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
- <xsd:import namespace="http://schemas.datacontract.org/2004/07/HC_service_web" />
- </xsd:schema>
- </wsdl:types>
- <wsdl:message name="ISecurite_hc_GetData_InputMessage">
- <wsdl:part name="parameters" element="tns:GetData" />
- </wsdl:message>
- <wsdl:message name="ISecurite_hc_GetData_OutputMessage">
- <wsdl:part name="parameters" element="tns:GetDataResponse" />
- </wsdl:message>
- <wsdl:message name="ISecurite_hc_GetDataUsingDataContract_InputMessage">
- <wsdl:part name="parameters" element="tns:GetDataUsingDataContract" />
- </wsdl:message>
- <wsdl:message name="ISecurite_hc_GetDataUsingDataContract_OutputMessage">
- <wsdl:part name="parameters" element="tns:GetDataUsingDataContractResponse" />
- </wsdl:message>
- <wsdl:message name="ISecurite_hc_HashPass_InputMessage">
- <wsdl:part name="parameters" element="tns:HashPass" />
- </wsdl:message>
- <wsdl:message name="ISecurite_hc_HashPass_OutputMessage">
- <wsdl:part name="parameters" element="tns:HashPassResponse" />
- </wsdl:message>
- <wsdl:message name="ISecurite_hc_ComparerMotPasses_InputMessage">
- <wsdl:part name="parameters" element="tns:ComparerMotPasses" />
- </wsdl:message>
- <wsdl:message name="ISecurite_hc_ComparerMotPasses_OutputMessage">
- <wsdl:part name="parameters" element="tns:ComparerMotPassesResponse" />
- </wsdl:message>
- <wsdl:portType name="ISecurite_hc">
- <wsdl:operation name="GetData">
- <wsdl:input wsaw:Action="http://tempuri.org/ISecurite_hc/GetData" message="tns:ISecurite_hc_GetData_InputMessage" />
- <wsdl:output wsaw:Action="http://tempuri.org/ISecurite_hc/GetDataResponse" message="tns:ISecurite_hc_GetData_OutputMessage" />
- </wsdl:operation>
- <wsdl:operation name="GetDataUsingDataContract">
- <wsdl:input wsaw:Action="http://tempuri.org/ISecurite_hc/GetDataUsingDataContract" message="tns:ISecurite_hc_GetDataUsingDataContract_InputMessage" />
- <wsdl:output wsaw:Action="http://tempuri.org/ISecurite_hc/GetDataUsingDataContractResponse" message="tns:ISecurite_hc_GetDataUsingDataContract_OutputMessage" />
- </wsdl:operation>
- <wsdl:operation name="HashPass">
- <wsdl:input wsaw:Action="http://tempuri.org/ISecurite_hc/HashPass" message="tns:ISecurite_hc_HashPass_InputMessage" />
- <wsdl:output wsaw:Action="http://tempuri.org/ISecurite_hc/HashPassResponse" message="tns:ISecurite_hc_HashPass_OutputMessage" />
- </wsdl:operation>
- <wsdl:operation name="ComparerMotPasses">
- <wsdl:input wsaw:Action="http://tempuri.org/ISecurite_hc/ComparerMotPasses" message="tns:ISecurite_hc_ComparerMotPasses_InputMessage" />
- <wsdl:output wsaw:Action="http://tempuri.org/ISecurite_hc/ComparerMotPassesResponse" message="tns:ISecurite_hc_ComparerMotPasses_OutputMessage" />
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="WSHttpBinding_ISecurite_hc" type="tns:ISecurite_hc">
- <wsp:PolicyReference URI="#WSHttpBinding_ISecurite_hc_policy" />
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="GetData">
- <soap12:operation soapAction="http://tempuri.org/ISecurite_hc/GetData" style="document" />
- <wsdl:input>
- <wsp:PolicyReference URI="#WSHttpBinding_ISecurite_hc_GetData_Input_policy" />
- <soap12:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <wsp:PolicyReference URI="#WSHttpBinding_ISecurite_hc_GetData_output_policy" />
- <soap12:body use="literal" />
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="GetDataUsingDataContract">
- <soap12:operation soapAction="http://tempuri.org/ISecurite_hc/GetDataUsingDataContract" style="document" />
- <wsdl:input>
- <wsp:PolicyReference URI="#WSHttpBinding_ISecurite_hc_GetDataUsingDataContract_Input_policy" />
- <soap12:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <wsp:PolicyReference URI="#WSHttpBinding_ISecurite_hc_GetDataUsingDataContract_output_policy" />
- <soap12:body use="literal" />
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="HashPass">
- <soap12:operation soapAction="http://tempuri.org/ISecurite_hc/HashPass" style="document" />
- <wsdl:input>
- <wsp:PolicyReference URI="#WSHttpBinding_ISecurite_hc_HashPass_Input_policy" />
- <soap12:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <wsp:PolicyReference URI="#WSHttpBinding_ISecurite_hc_HashPass_output_policy" />
- <soap12:body use="literal" />
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="ComparerMotPasses">
- <soap12:operation soapAction="http://tempuri.org/ISecurite_hc/ComparerMotPasses" style="document" />
- <wsdl:input>
- <wsp:PolicyReference URI="#WSHttpBinding_ISecurite_hc_ComparerMotPasses_Input_policy" />
- <soap12:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <wsp:PolicyReference URI="#WSHttpBinding_ISecurite_hc_ComparerMotPasses_output_policy" />
- <soap12:body use="literal" />
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="ServiceHash">
- <wsdl:port name="WSHttpBinding_ISecurite_hc" binding="tns:WSHttpBinding_ISecurite_hc">
- <soap12:address location="http://localhost:8732/Design_Time_Addresses/Lise/Service1/" />
- <wsa10:EndpointReference>
- <wsa10:Address>http://localhost:8732/Design_Time_Addresses/Lise/Service1/</wsa10:Address>
- <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
- <Dns>localhost</Dns>
- </Identity>
- </wsa10:EndpointReference>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
View
62 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/service.xsd
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:import namespace="http://schemas.datacontract.org/2004/07/HC_service_web" />
- <xs:element name="GetData">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="value" type="xs:int" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="GetDataResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="GetDataResult" nillable="true" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="GetDataUsingDataContract">
- <xs:complexType>
- <xs:sequence>
- <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/HC_service_web" minOccurs="0" name="composite" nillable="true" type="q1:CompositeType" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="GetDataUsingDataContractResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/HC_service_web" minOccurs="0" name="GetDataUsingDataContractResult" nillable="true" type="q2:CompositeType" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="HashPass">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="motPass" nillable="true" type="xs:string" />
- <xs:element minOccurs="0" name="salt" nillable="true" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="HashPassResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="HashPassResult" nillable="true" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="ComparerMotPasses">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="motPass1" nillable="true" type="xs:string" />
- <xs:element minOccurs="0" name="motPass2" nillable="true" type="xs:string" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="ComparerMotPassesResponse">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" name="ComparerMotPassesResult" type="xs:boolean" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-</xs:schema>
View
42 publication/HobbyCartes/HobbyCartes/Service References/ServiceSecurite/service1.xsd
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="anyType" nillable="true" type="xs:anyType" />
- <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
- <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
- <xs:element name="boolean" nillable="true" type="xs:boolean" />
- <xs:element name="byte" nillable="true" type="xs:byte" />
- <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
- <xs:element name="decimal" nillable="true" type="xs:decimal" />
- <xs:element name="double" nillable="true" type="xs:double" />
- <xs:element name="float" nillable="true" type="xs:float" />
- <xs:element name="int" nillable="true" type="xs:int" />
- <xs:element name="long" nillable="true" type="xs:long" />
- <xs:element name="QName" nillable="true" type="xs:QName" />
- <xs:element name="short" nillable="true" type="xs:short" />
- <xs:element name="string" nillable="true" type="xs:string" />
- <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
- <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
- <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
- <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
- <xs:element name="char" nillable="true" type="tns:char" />
- <xs:simpleType name="char">
- <xs:restriction base="xs:int" />
- </xs:simpleType>
- <xs:element name="duration" nillable="true" type="tns:duration" />
- <xs:simpleType name="duration">
- <xs:restriction base="xs:duration">
- <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
- <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
- <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
- </xs:restriction>
- </xs:simpleType>
- <xs:element name="guid" nillable="true" type="tns:guid" />
- <xs:simpleType name="guid">
- <xs:restriction base="xs:string">
- <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
- </xs:restriction>
- </xs:simpleType>
- <xs:attribute name="FactoryType" type="xs:QName" />
- <xs:attribute name="Id" type="xs:ID" />
- <xs:attribute name="Ref" type="xs:IDREF" />
-</xs:schema>
View
21 publication/HobbyCartes/HobbyCartes/Web.config
@@ -31,25 +31,8 @@
</httpHandlers>
</system.web>
<system.serviceModel>
- <bindings>
- <wsHttpBinding>
- <binding name="WSHttpBinding_ISecurite_hc" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
- <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
- <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
- <security mode="Message">
- <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
- <message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default" />
- </security>
- </binding>
- </wsHttpBinding>
- </bindings>
- <client>
- <endpoint address="http://localhost:8732/Design_Time_Addresses/Lise/Service1/" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ISecurite_hc" contract="ServiceSecurite.ISecurite_hc" name="WSHttpBinding_ISecurite_hc">
- <identity>
- <dns value="localhost" />
- </identity>
- </endpoint>
- </client>
+ <bindings />
+ <client />
</system.serviceModel>
<system.webServer>
<handlers>
View
40 publication/HobbyCartes/serviceweb_hc/App.config
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
-
- <system.web>
- <compilation debug="true" />
- </system.web>
- <!-- Lors du déploiement du projet de bibliothèque du service, le contenu du fichier de configuration doit être ajouté au fichier app.config
- de l'hôte. System.Configuration ne prend pas en charge les fichiers de configuration pour les bibliothèques. -->
- <system.serviceModel>
- <services>
- <service name="HC_service_web.ServiceHash">
- <endpoint address="" binding="wsHttpBinding" contract="HC_service_web.ISecurite_hc">
- <identity>
- <dns value="localhost" />
- </identity>
- </endpoint>
- <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
- <host>
- <baseAddresses>
- <add baseAddress="http://localhost:8732/Design_Time_Addresses/Lise/Service1/" />
- </baseAddresses>
- </host>
- </service>
- </services>
- <behaviors>
- <serviceBehaviors>
- <behavior>
- <!-- Pour éviter la divulgation des informations sur les métadonnées,
- définissez la valeur ci-dessous sur false et supprimez le point de terminaison des métadonnées ci-dessus avant le déploiement -->
- <serviceMetadata httpGetEnabled="True"/>
- <!-- Pour recevoir les détails d'exception des erreurs à des fins de débogage,
- définissez la valeur ci-dessous sur true. Définissez-la sur false avant le déploiement
- pour éviter la divulgation des informations d'exception -->
- <serviceDebug includeExceptionDetailInFaults="False" />
- </behavior>
- </serviceBehaviors>
- </behaviors>
- </system.serviceModel>
-
-</configuration>
View
119 publication/HobbyCartes/serviceweb_hc/HC_service_web.vbproj
@@ -1,119 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.50727</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{48899A41-AFF3-4D25-9A0D-142AEC018258}</ProjectGuid>
- <OutputType>Library</OutputType>
- <RootNamespace>HC_service_web</RootNamespace>
- <AssemblyName>HC_service_web</AssemblyName>
- <ProjectTypeGuids>{3D9AD99F-2412-4246-B90B-4EAA41C64699};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
- <StartArguments>/client:"WcfTestClient.exe"</StartArguments>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <TargetFrameworkProfile>Client</TargetFrameworkProfile>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <DefineDebug>true</DefineDebug>
- <DefineTrace>true</DefineTrace>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DocumentationFile>HC_service_web.xml</DocumentationFile>
- <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <DefineDebug>false</DefineDebug>
- <DefineTrace>true</DefineTrace>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DocumentationFile>HC_service_web.xml</DocumentationFile>
- <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
- </PropertyGroup>
- <PropertyGroup>
- <OptionExplicit>On</OptionExplicit>
- </PropertyGroup>
- <PropertyGroup>
- <OptionCompare>Binary</OptionCompare>
- </PropertyGroup>
- <PropertyGroup>
- <OptionStrict>Off</OptionStrict>
- </PropertyGroup>
- <PropertyGroup>
- <OptionInfer>On</OptionInfer>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Core" />
- <Reference Include="System.Data" />
- <Reference Include="System.Runtime.Serialization" />
- <Reference Include="System.ServiceModel" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Xml.Linq" />
- </ItemGroup>
- <ItemGroup>
- <Import Include="Microsoft.VisualBasic" />
- <Import Include="System" />
- <Import Include="System.Collections" />
- <Import Include="System.Collections.Generic" />
- <Import Include="System.Data" />
- <Import Include="System.Diagnostics" />
- <Import Include="System.Runtime.Serialization" />
- <Import Include="System.ServiceModel" />
- <Import Include="System.Linq" />
- <Import Include="System.Xml.Linq" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="ISecurite_hc.vb" />
- <Compile Include="ServiceHash.vb" />
- <Compile Include="My Project\AssemblyInfo.vb" />
- <Compile Include="My Project\Resources.Designer.vb">
- <AutoGen>True</AutoGen>
- <DesignTime>True</DesignTime>
- <DependentUpon>Resources.resx</DependentUpon>
- </Compile>
- <Compile Include="My Project\Settings.Designer.vb">
- <AutoGen>True</AutoGen>
- <DependentUpon>Settings.settings</DependentUpon>
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <None Include="App.config" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="My Project\Resources.resx">
- <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.vb</LastGenOutput>
- <CustomToolNamespace>My.Resources</CustomToolNamespace>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- </ItemGroup>
- <ItemGroup>
- <None Include="My Project\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <CustomToolNamespace>My</CustomToolNamespace>
- <LastGenOutput>Settings.Designer.vb</LastGenOutput>
- </None>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" />
- <ProjectExtensions>
- <VisualStudio>
- <FlavorProperties GUID="{3D9AD99F-2412-4246-B90B-4EAA41C64699}">
- <WcfProjectProperties>
- <AutoStart>True</AutoStart>
- </WcfProjectProperties>
- </FlavorProperties>
- </VisualStudio>
- </ProjectExtensions>
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
View
15 publication/HobbyCartes/serviceweb_hc/HC_service_web.vbproj.user
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ProjectExtensions>
- <VisualStudio>
- <FlavorProperties GUID="{3D9AD99F-2412-4246-B90B-4EAA41C64699}">
- <WcfProjectProperties>
- <PublishCopyOption>RunFiles</PublishCopyOption>
- <PublishTargetLocation>
- </PublishTargetLocation>
- <PublishDeleteAllFiles>False</PublishDeleteAllFiles>
- </WcfProjectProperties>
- </FlavorProperties>
- </VisualStudio>
- </ProjectExtensions>
-</Project>
View
31 publication/HobbyCartes/serviceweb_hc/ISecurite_hc.vb
@@ -1,31 +0,0 @@
-' REMARQUE : vous pouvez utiliser la commande Renommer du menu contextuel pour changer le nom d'interface "IService1" à la fois dans le code et le fichier de configuration.
-<ServiceContract()>
-Public Interface ISecurite_hc
-
- <OperationContract()>
- Function GetData(ByVal value As Integer) As String
-
- <OperationContract()>
- Function GetDataUsingDataContract(ByVal composite As CompositeType) As CompositeType
-
- ' TODO: ajoutez vos opérations de service ici
- <OperationContract()>
- Function HashPass(ByVal motPass As String, ByVal salt As String) As String
-
- <OperationContract()>
- Function ComparerMotPasses(ByVal motPass1 As String, ByVal motPass2 As String) As Boolean
-
-End Interface
-
-' Utilisez un contrat de données comme indiqué dans l'exemple ci-après pour ajouter les types composites aux opérations de service
-
-<DataContract()>
-Public Class CompositeType
-
- <DataMember()>
- Public Property BoolValue() As Boolean
-
- <DataMember()>
- Public Property StringValue() As String
-
-End Class
View
35 publication/HobbyCartes/serviceweb_hc/My Project/AssemblyInfo.vb
@@ -1,35 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' Les informations générales relatives à un assembly dépendent de
-' l'ensemble d'attributs suivant. Pour modifier les informations
-' associées à un assembly, changez les valeurs de ces attributs.
-
-' Vérifiez les valeurs des attributs de l'assembly
-
-<Assembly: AssemblyTitle("HC_service_web")>
-<Assembly: AssemblyDescription("")>
-<Assembly: AssemblyCompany("")>
-<Assembly: AssemblyProduct("HC_service_web")>
-<Assembly: AssemblyCopyright("Copyright © 2012")>
-<Assembly: AssemblyTrademark("")>
-
-<Assembly: ComVisible(False)>
-
-'Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
-<Assembly: Guid("c0f901cc-2183-4ec6-88ba-cb487f1e7827")>
-
-' Les informations de version pour un assembly se composent des quatre valeurs suivantes :
-'
-' Version principale
-' Version secondaire
-' Numéro de build
-' Révision
-'
-' Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
-' en utilisant '*', comme ci-dessous :
-' <Assembly: AssemblyVersion("1.0.*")>
-
-<Assembly: AssemblyVersion("1.0.0.0")>
-<Assembly: AssemblyFileVersion("1.0.0.0")>
View
63 publication/HobbyCartes/serviceweb_hc/My Project/Resources.Designer.vb
@@ -1,63 +0,0 @@
-'------------------------------------------------------------------------------
-' <auto-generated>
-' Ce code a été généré par un outil.
-' Version du runtime :4.0.30319.269
-'
-' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
-' le code est régénéré.
-' </auto-generated>
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-Imports System
-
-Namespace My.Resources
-
- 'Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
- 'à l'aide d'un outil, tel que ResGen ou Visual Studio.
- 'Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
- 'avec l'option /str ou régénérez votre projet VS.
- '''<summary>
- ''' Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
- '''</summary>
- <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
- Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
- Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''<summary>
- ''' Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
- '''</summary>
- <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("HC_service_web.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''<summary>
- ''' Remplace la propriété CurrentUICulture du thread actuel pour toutes
- ''' les recherches de ressources à l'aide de cette classe de ressource fortement typée.
- '''</summary>
- <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
View
117 publication/HobbyCartes/serviceweb_hc/My Project/Resources.resx
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0"/>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string"/>
- <xsd:attribute name="type" type="xsd:string"/>
- <xsd:attribute name="mimetype" type="xsd:string"/>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string"/>
- <xsd:attribute name="name" type="xsd:string"/>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1"/>
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required"/>
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root>
View
73 publication/HobbyCartes/serviceweb_hc/My Project/Settings.Designer.vb
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-' <auto-generated>
-' Ce code a été généré par un outil.
-' Version du runtime :4.0.30319.269
-'
-' Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
-' le code est régénéré.
-' </auto-generated>
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Fonctionnalité Enregistrement automatique My.Settings"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
- Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
- Friend Module MySettingsProperty
-
- <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
- Friend ReadOnly Property Settings() As Global.HC_service_web.My.MySettings
- Get
- Return Global.HC_service_web.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
View
7 publication/HobbyCartes/serviceweb_hc/My Project/Settings.settings
@@ -1,7 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
- <Profiles>
- <Profile Name="(Default)" />
- </Profiles>
- <Settings />
-</SettingsFile>
View
53 publication/HobbyCartes/serviceweb_hc/ServiceHash.vb
@@ -1,53 +0,0 @@
-Imports System.Text
-Imports System.Security.Cryptography
-' REMARQUE : vous pouvez utiliser la commande Renommer du menu contextuel pour changer le nom de classe "Service1" à la fois dans le code et le fichier de configuration.
-Public Class ServiceHash
- Implements ISecurite_hc
-
- Public Function GetData(ByVal value As Integer) As String Implements ISecurite_hc.GetData
- Return String.Format("You entered: {0}", value)
- End Function
-
- Public Function GetDataUsingDataContract(ByVal composite As CompositeType) As CompositeType Implements ISecurite_hc.GetDataUsingDataContract
- If composite Is Nothing Then
- Throw New ArgumentNullException("composite")
- End If
- If composite.BoolValue Then
- composite.StringValue &= "Suffix"
- End If
- Return composite
- End Function
- Public Function ComparerMotPasses(motPass1 As String, motPass2 As String) As Boolean Implements ISecurite_hc.ComparerMotPasses
- Dim tmpMotPass1() As Byte = Convert.FromBase64String(motPass1)
- Dim tmpMotPass2() As Byte = Convert.FromBase64String(motPass2)
-
- Try
- For i As Integer = 0 To (tmpMotPass1.Length - 1)
-
- 'Si les octets ne concordent pas
- If Not tmpMotPass1(i).Equals(tmpMotPass2(i)) Then
- Return False
- End If
-
- Next
-
- Return True
- Catch ex As Exception
- Return False
- End Try
- End Function
- Public Function HashPass(motPass As String, salt As String) As String Implements ISecurite_hc.HashPass
- Dim tmpMotPass As String = Nothing
- Dim tmpSalt() As Byte = Encoding.UTF8.GetBytes(salt)
-
- 'Ajout d'un peu de sel au mot de passe!
- tmpMotPass = Convert.ToBase64String(tmpSalt) + motPass
-
- 'Obtient les octets du mot de passe et les hachent en SHA2
- Dim octets() As Byte = New SHA384Managed().ComputeHash(Encoding.UTF8.GetBytes(tmpMotPass))
-
- 'Retourne le hash en SHA2
- Return Convert.ToBase64String(octets)
- End Function
-
-End Class
Please sign in to comment.
Something went wrong with that request. Please try again.