Home
last modified time | relevance | path

Searched refs:ServiceCredentials (Results 1 – 25 of 53) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel.Description/
H A DServiceCredentials.cs39 public class ServiceCredentials class
42 public ServiceCredentials () in ServiceCredentials() method in System.ServiceModel.Description.ServiceCredentials
46 protected ServiceCredentials (ServiceCredentials other) in ServiceCredentials() method in System.ServiceModel.Description.ServiceCredentials
99 public ServiceCredentials Clone () in Clone()
101 ServiceCredentials ret = CloneCore (); in Clone()
107 protected virtual ServiceCredentials CloneCore () in CloneCore()
109 return new ServiceCredentials (this); in CloneCore()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Description/
H A DServiceCredentials.cs19 public class ServiceCredentials : SecurityCredentialsManager, IServiceBehavior class
36 public ServiceCredentials() in ServiceCredentials() method in System.ServiceModel.Description.ServiceCredentials
49 protected ServiceCredentials(ServiceCredentials other) in ServiceCredentials() method in System.ServiceModel.Description.ServiceCredentials
175 internal static ServiceCredentials CreateDefaultCredentials() in CreateDefaultCredentials()
177 return new ServiceCredentials(); in CreateDefaultCredentials()
195 protected virtual ServiceCredentials CloneCore() in CloneCore()
197 return new ServiceCredentials(this); in CloneCore()
200 public ServiceCredentials Clone() in Clone()
202 ServiceCredentials result = CloneCore(); in Clone()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/
H A DFederatedSecurityTokenManager.cs48 public FederatedSecurityTokenManager( ServiceCredentials parentCredentials ) in FederatedSecurityTokenManager()
283 if ( ServiceCredentials != null ) in SetupSecureConversationWrapper()
285 …sessionTokenHandler.Configuration.MaxClockSkew = ServiceCredentials.IdentityConfiguration.MaxClock… in SetupSecureConversationWrapper()
392 …etSecurityVersion( version ), trustVersion, scVersion, false, this.ServiceCredentials.IssuedTokenA… in CreateSecurityTokenSerializer()
393 this.ServiceCredentials.SecureConversationAuthentication.SecurityStateEncoder, in CreateSecurityTokenSerializer()
394 … this.ServiceCredentials.SecureConversationAuthentication.SecurityContextClaimTypes ); in CreateSecurityTokenSerializer()
421 if ( base.ServiceCredentials.ServiceCertificate.Certificate != null ) in GetDefaultOutOfBandTokenResolver()
423 …outOfBandTokens.Add( new X509SecurityToken( base.ServiceCredentials.ServiceCertificate.Certificate… in GetDefaultOutOfBandTokenResolver()
426 …if ( ( base.ServiceCredentials.IssuedTokenAuthentication.KnownCertificates != null ) && ( base.Ser… in GetDefaultOutOfBandTokenResolver()
428 …for ( int i = 0; i < base.ServiceCredentials.IssuedTokenAuthentication.KnownCertificates.Count; ++… in GetDefaultOutOfBandTokenResolver()
[all …]
H A DIdentityModelServiceAuthorizationManager.cs66 ServiceCredentials sc = GetServiceCredentials(); in GetAuthorizationPolicies()
211 ServiceCredentials serviceCreds = GetServiceCredentials(); in GetTransportTokenIdentities()
545 static ServiceCredentials GetServiceCredentials() in GetServiceCredentials()
547 ServiceCredentials serviceCredentials = null; in GetServiceCredentials()
554 …erviceCredentials = OperationContext.Current.Host.Description.Behaviors.Find<ServiceCredentials>(); in GetServiceCredentials()
667 ServiceCredentials credentials = GetServiceCredentials(); in CheckAccessCore()
H A DServiceCredentialsSecurityTokenManager.cs22 ServiceCredentials parent;
24 public ServiceCredentialsSecurityTokenManager(ServiceCredentials parent) in ServiceCredentialsSecurityTokenManager()
33 public ServiceCredentials ServiceCredentials property in System.ServiceModel.Security.ServiceCredentialsSecurityTokenManager
212 …authenticator.MapCertificateToWindowsAccount = this.ServiceCredentials.ClientCertificate.Authentic… in CreateTlsnegoSecurityTokenAuthenticator()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Configuration/
H A DServiceCredentialsElement.cs116 ServiceCredentials behavior; in CreateBehavior()
119 behavior = new ServiceCredentials(); in CreateBehavior()
124 if (!typeof(ServiceCredentials).IsAssignableFrom(credentialsType)) in CreateBehavior()
129 behavior = (ServiceCredentials)Activator.CreateInstance(credentialsType); in CreateBehavior()
136 protected internal void ApplyConfiguration(ServiceCredentials behavior) in ApplyConfiguration()
184 get { return typeof(ServiceCredentials); }
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel.Description/
H A DServiceCredentialsTest.cs51 new ServiceCredentials ().ClientCertificate; in ClientCertificate()
65 new ServiceCredentials ().IssuedTokenAuthentication; in IssuedTokenAuthentication()
78 PeerCredential p = new ServiceCredentials ().Peer; in Peer()
97 new ServiceCredentials ().SecureConversationAuthentication; in SecureConversationAuthentication()
117 Assert.IsNull (new ServiceCredentials ().ServiceCertificate.Certificate, "#1"); in ServiceCertificate()
124 new ServiceCredentials ().UserNameAuthentication; in UserNameAuthentication()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel.Security/
H A DServiceCredentialsSecurityTokenManagerTest.cs52 : this (new ServiceCredentials ()) in MyManager()
56 public MyManager (ServiceCredentials cred) in MyManager()
88 …Assert.IsTrue (mgr.ServiceCredentials.SecureConversationAuthentication.SecurityStateEncoder is Dat… in DefaultValues()
196 …def_c.ServiceCredentials.UserNameAuthentication.UserNamePasswordValidationMode = UserNamePasswordV… in CreateAuthenticatorUserName()
197 …def_c.ServiceCredentials.UserNameAuthentication.CustomUserNamePasswordValidator = new MyUserNameVa… in CreateAuthenticatorUserName()
211 …def_c.ServiceCredentials.UserNameAuthentication.UserNamePasswordValidationMode = UserNamePasswordV… in CreateAuthenticatorUserNameCustomWithoutValidator()
257 def_c.ServiceCredentials.ServiceCertificate.Certificate = cert; in CreateProviderX509PublicOnlyKey()
267 def_c.ServiceCredentials.ServiceCertificate.Certificate = in CreateProviderX509()
284 def_c.ServiceCredentials.ServiceCertificate.Certificate = in CreateProviderX509Initiator()
474 def_c.ServiceCredentials.ServiceCertificate.Certificate = in CreateAuthenticatorAnonSslCertPublicOnly()
[all …]
H A DSecurityMessagePropertyTest.cs198 ServiceCredentials cred = new ServiceCredentials (); in GetOrCreateSecureMessage()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel.Security/
H A DServiceCredentialsSecurityTokenManager.cs44 ServiceCredentials credentials;
47 ServiceCredentials parent) in ServiceCredentialsSecurityTokenManager()
52 public ServiceCredentials ServiceCredentials { property in System.ServiceModel.Security.ServiceCredentialsSecurityTokenManager
125 UserNamePasswordServiceCredential c = ServiceCredentials.UserNameAuthentication; in CreateUserNameAuthenticator()
142 X509CertificateInitiatorServiceCredential c = ServiceCredentials.ClientCertificate; in CreateX509Authenticator()
361 ServiceCredentials.SecureConversationAuthentication.SecurityStateEncoder, in CreateSecurityTokenSerializer()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel.Channels/
H A DSymmetricSecurityBindingElement.cs135 ServiceCredentials cred = context.BindingParameters.Find<ServiceCredentials> (); in BuildChannelListenerCore()
138 cred = new ServiceCredentials (); in BuildChannelListenerCore()
H A DAsymmetricSecurityBindingElement.cs160 ServiceCredentials cred = context.BindingParameters.Find<ServiceCredentials> (); in BuildChannelListenerCore()
163 cred = new ServiceCredentials (); in BuildChannelListenerCore()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel.Channels.Http/
H A DHttpChannelListener.cs70 if (context.BindingParameters.Contains (typeof (ServiceCredentials))) in HttpChannelListener()
71 …erviceCredentialsSecurityTokenManager ((ServiceCredentials) context.BindingParameters [typeof (Ser… in HttpChannelListener()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel.Channels/
H A DAsymmetricSecurityBindingElementTest.cs183 ServiceCredentials cred = new ServiceCredentials (); in VerifyX509MessageSecurityAtService()
247 ServiceCredentials cred = new ServiceCredentials (); in RejectInclusionModeNever()
H A DSslStreamSecurityBindingElementTest.cs101 ServiceCredentials cred = new ServiceCredentials (); in ClientAcceptUpgrade()
H A DSymmetricSecurityBindingElementTest.cs162 ServiceCredentials cred = new ServiceCredentials (); in CreateListener()
487 ServiceCredentials cred = new ServiceCredentials (); in OpenListenerNoPrivateKeyInServiceCertificate()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.SelfHost.Test/
H A DHttpSelfHostConfigurationTest.cs266 ServiceCredentials serviceCredentials = parameters.Find<ServiceCredentials>(); in HttpSelfHostConfiguration_UseWindowsAuth_PropagatesToHttpBinding()
290 ServiceCredentials serviceCredentials = parameters.Find<ServiceCredentials>(); in HttpSelfHostConfiguration_UserNamePasswordValidator_PropagatesToBinding()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel.Configuration/
H A DServiceCredentialsElement.cs68 get { return typeof (ServiceCredentials); }
130 var sb = new ServiceCredentials (); in CreateBehavior()
135 protected internal void ApplyConfiguration (ServiceCredentials behavior) in ApplyConfiguration()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Dispatcher/
H A DSecurityValidationBehavior.cs790 ServiceCredentials serviceCredentials = behaviors.Find<ServiceCredentials>(); in Validate()
791 … if (serviceCredentials != null && serviceCredentials.GetType() != typeof(ServiceCredentials)) in Validate()
928 static void ValidateCore(ServiceDescription description, ServiceCredentials credentials) in ValidateCore()
965 if (!description.Behaviors.Contains(typeof(ServiceCredentials))) in Validate()
968 ValidateCore(description, description.Behaviors.Find<ServiceCredentials>()); in Validate()
975 static void ValidateCore(ServiceDescription description, ServiceCredentials credentials) in ValidateCore()
1018 ServiceCredentials credentials = description.Behaviors.Find<ServiceCredentials>(); in Validate()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Http.SelfHost/
H A DHttpSelfHostConfiguration.cs32 private ServiceCredentials _credentials = new ServiceCredentials();
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/
H A DHttpsChannelListener.cs44 credentialProvider = ServiceCredentials.CreateDefaultCredentials(); in HttpsChannelListener()
52 ServiceCredentials serviceCredentials = credentialProvider as ServiceCredentials; in HttpsChannelListener()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/
H A DServiceHost.cs47 ServiceCredentials readOnlyCredentials;
184 public ServiceCredentials Credentials
613 ServiceCredentials EnsureCredentials(ServiceDescription description) in EnsureCredentials()
616 ServiceCredentials c = description.Behaviors.Find<ServiceCredentials>(); in EnsureCredentials()
620 c = new ServiceCredentials(); in EnsureCredentials()
1051 ServiceCredentials c = description.Behaviors.Find<ServiceCredentials>(); in OnOpened()
1054 ServiceCredentials credentialsCopy = c.Clone(); in OnOpened()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel.Security.Tokens/
H A DSslSecurityTokenAuthenticator.cs160 …TlsServerSession tls = new TlsServerSession (owner.Manager.ServiceCredentials.ServiceCertificate.C… in ProcessClientHello()
233 owner.Manager.ServiceCredentials.SecureConversationAuthentication.SecurityStateEncoder); in ProcessClientKeyExchange()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Administration/
H A DServiceInstanceProvider.cs160 else if (behavior is ServiceCredentials) in FillBehaviorInfo()
163 ServiceCredentials specificBehavior = (ServiceCredentials)behavior; in FillBehaviorInfo()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel/
H A DServiceHostBase.cs48 ServiceCredentials credentials;
64 credentials = new ServiceCredentials (); in ServiceHostBase()
121 public ServiceCredentials Credentials {

123