Commit Graph

24210 Commits

Author SHA1 Message Date
Levi B ca840d3711 Code cleanup in KeyDerivation
- Rename PRF members to be HMAC functions (which is technically correct)
- Use NotNullAttribute where possible
2015-03-17 22:03:43 -07:00
Levi B 271ec1bd4b Move IApplicationDiscriminator to Infrastructure namespace 2015-03-17 20:56:58 -07:00
Ajay Bhargav Baaskaran db08329637 fix build break 2015-03-17 17:57:02 -07:00
Praburaj 33e3c944d0 Reenabling the tests
Bug https://github.com/aspnet/HttpAbstractions/issues/231 is fixed
2015-03-17 17:55:13 -07:00
Levi B 1e9d57f80c UrlEncoder should always encode the U+003A COLON character
Provides extra defense-in-depth in case an application is using this API to encode a relative URL, otherwise the part before the colon could inadvertently be treated as a scheme.
2015-03-17 17:19:20 -07:00
Ajay Bhargav Baaskaran 39b8d204fd React to aspnet/HttpAbstractions#160 - Implemented OnResponseCompleted 2015-03-17 16:22:47 -07:00
Ajay Bhargav Baaskaran de44c3be99 React to aspnet/HttpAbstractions#160 - Implementing OnResponseCompleted in TestHost 2015-03-17 16:10:05 -07:00
Levi B 22927ec289 Add simple file-based provider instantiation APIs 2015-03-17 15:36:58 -07:00
Levi B 84490846b6 Move time-limited data protector to Extensions project 2015-03-17 14:52:15 -07:00
Ajay Bhargav Baaskaran 68a125b9ce React to aspnet/Razor#281 changes 2015-03-17 14:50:14 -07:00
Praburaj 36a3262661 Moving some IIS express related helpers to a different class. 2015-03-17 14:26:19 -07:00
Praburaj 6445f6388b Temporarily disable the --no-source test variation
Seems to fail on CI but not on local machines. Investigating this.
2015-03-17 14:24:52 -07:00
Praburaj 6dc2417f9e Adding some coverage for the --no-source switch 2015-03-17 12:46:02 -07:00
Hao Kung e2a8efbb64 Cleanup
Switch to logging interfaces reference
Tweak DenyAnonymous logic

Fixes https://github.com/aspnet/Security/issues/181
Fixes https://github.com/aspnet/Security/issues/169
2015-03-17 11:40:58 -07:00
ianhong 1b502cbee7 Music Store sample Unit Tests - (except usermanager and signinmanager) 2015-03-17 11:12:51 -07:00
Levi B 94233e76ff Remove experimental .Azure project 2015-03-17 10:45:21 -07:00
Levi B d673df7ef3 Reliability improvements to key ring updates
- Optimistically treat failures as transient and continue to use any existing cached key ring for a short period of time
- Updates to the key ring shouldn't block other threads; they can use the outdated version while waiting for the update
2015-03-17 00:46:24 -07:00
Levi B 612a81d9ce Defer processing <key> descriptors until necessary
- Make CreateNewKey more robust against bad key repositories
- Don't hide key deserialization errors
2015-03-16 23:32:20 -07:00
Levi B 4365b531d8 Use C# 6 string interpolation feature
Provides cleanup in logging and removes calls to String.Format
2015-03-16 21:38:21 -07:00
Hao Kung 47b34cd1da React to auth changes 2015-03-16 18:38:53 -07:00
Hao Kung b761e7d8c2 Fix tests to check results for null 2015-03-16 17:47:29 -07:00
Praburaj 7a245eba5b Update welcome page text from ASP.NET vnext to 5
Fixes: https://github.com/aspnet/Diagnostics/issues/82
2015-03-16 16:52:24 -07:00
Hao Kung efc5ea9b5d React to auth changes 2015-03-16 16:46:56 -07:00
Ajay Bhargav Baaskaran f63702754f [Fixes #160] Added OnResponseCompleted to HttpResponse 2015-03-16 15:50:58 -07:00
Hao Kung 7abccd8f22 React to Shared NotNull 2015-03-16 15:22:46 -07:00
Hao Kung 14d1b467c6 ClaimsXform and RIP AutoAuthHandler
- Initial support for ClaimsTransformation
- merge automatic auth handler back into base
2015-03-16 15:14:44 -07:00
Ajay Bhargav Baaskaran c1e298b010 React to aspnet/HttpAbstractions#160 - Implementing OnResponseCompleted 2015-03-16 15:10:53 -07:00
ianhong 29909e15f3 Cleaning up AntiForgery 2015-03-16 14:55:47 -07:00
sornaks 37dc8581de Removing 'Options' from the 'ConfigureRouteOptions' extension method name. 2015-03-16 14:54:36 -07:00
Hao Kung 08ddbe8531 Auth cleanup
- Rename Security folder -> Authentication
- Change Authenticate to only take one scheme to match other APIs, the
params overload did not make it any cleaner to consume (since it didn't
produce a combined ClaimsPrincipal anyways)
2015-03-16 14:26:46 -07:00
Praburaj 3b0d5fd422 Add extension method for getting environment name
Fixes: https://github.com/aspnet/Hosting/issues/100
2015-03-16 13:13:50 -07:00
Smit Patel 403f7c7585 Ef : Enabled Autogeneration for ArtistId & GenreId using sequence which allows explicit values 2015-03-16 12:09:03 -07:00
Levi B 0966e37d94 Doc comment cleanup on GetApplicationUniqueIdentifier 2015-03-14 15:43:39 -07:00
Levi B 82d92064c5 Continued API improvements and refactoring
- Add helpful extension methods to Interfaces project
- Auto heuristic detection now writes default protection settings to the ILogger
- Cleanup dead methods / add useful methods in DataProtectionConfiguration
- Update System.Web compatibility project to allow mapping MachineKey.Protect directly to IDataProtector.Protect
2015-03-14 14:29:39 -07:00
Praburaj e8d3fbf7bc Using [NotNull] from common repo package 2015-03-14 07:44:02 -07:00
Praburaj 4373b6bf62 Using [NotNull] from the common repo package 2015-03-14 07:30:29 -07:00
Praburaj bd7f07052e Using [NotNull] from the common package 2015-03-14 07:25:14 -07:00
Praburaj 93deb0b440 Remove dependency on DependencyInjection and instead use DependencyInjection.Interfaces on Http.Extensions
Fixes: https://github.com/aspnet/HttpAbstractions/issues/228
2015-03-13 19:56:45 -07:00
Praburaj fb08460770 Using [NotNull] from common repo package 2015-03-13 17:54:16 -07:00
Praburaj b77e9d2d9c Using [NotNull] attribute from the Common repo package 2015-03-13 17:44:51 -07:00
Praburaj b879f4a084 using [NotNull] attribute from the Common repo 2015-03-13 17:21:37 -07:00
Praburaj 6ee155c40f Move IServiceCollection extension to Microsoft.Framework.DependencyInjection namespace
Fixes: https://github.com/aspnet/Diagnostics/issues/96
2015-03-13 17:11:23 -07:00
Smit Patel 117dbc4887 Reacting to Changes in EF: Disabling use of Identity Column for PK 2015-03-13 15:56:59 -07:00
Praburaj 61e4f55075 Moving the IServiceCollection extension into Microsoft.Framework.DependencyInjection namespace
Fixes: https://github.com/aspnet/Routing/issues/160
2015-03-13 14:55:49 -07:00
Praburaj c4aa387cd2 Temporarily skipping a couple of tests to work around Url encoder bug
https://github.com/aspnet/HttpAbstractions/issues/231
2015-03-13 14:50:51 -07:00
Praburaj ca07b6e2fd Using new encoders over the old encoders. 2015-03-13 12:50:49 -07:00
Praburaj 5004bac6aa React to AddSessionServices rename to AddSession 2015-03-13 11:56:20 -07:00
Praburaj 6c57ca7c1e Move IServiceCollection extensions into Microsoft.Framework.DependencyInjection namespace
Fixes:
https://github.com/aspnet/Session/issues/10
https://github.com/aspnet/Session/issues/8

1. Renaming the class name containing the extension
2. Consolidating the AddSession() and ConfigureSession overloads with same pattern we follow in other repos
3. Rename AddSessionServices() => AddSession() like all other repos
2015-03-13 11:45:17 -07:00
Eilon Lipton c2cbd62eec Merge pull request #7 from hishamco/dev
Adds CookiePath to SessionDefaults
2015-03-13 09:15:17 -07:00
hishamco 177d1ffb64 Adds CookiePath to SessionDefaults
Adds CookiePath to SessionDefaults

Revert "Adds CookiePath to SessionDefaults"

This reverts commit d025a89cbb555b5b92cb5de2dc848da036021301.

Remove extra tab

Revert "Remove extra tab"

This reverts commit 80b1e4976a902a5e507702b1e46e57dec0c72da4.

Change tab to spaces

Adds CookiePath to SessionDefaults
2015-03-13 15:03:30 +03:00