Commit Graph

16187 Commits

Author SHA1 Message Date
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 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 b77e9d2d9c Using [NotNull] attribute from the Common repo package 2015-03-13 17:44:51 -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 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
N. Taylor Mullen 649a74a753 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-13 00:34:51 -07:00
Levi B 8ca2728ef8 Split encoders into two packages to resolve layering issues
The core package has no external dependencies aside from NetFX-produced packages
2015-03-12 22:35:47 -07:00
N. Taylor Mullen a10acfd4cd Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:17:33 -07:00
N. Taylor Mullen d3313f2b6e Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:07:49 -07:00
Praburaj 36271260a1 Reacting to Caching extension rename 2015-03-12 17:06:16 -07:00
Brennan a06d05ffae Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 16:27:02 -07:00
Brennan 20ffd7e081 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 16:26:13 -07:00
Victor Hurdugaci a14b35ca6c Skip credentials prompt for CI builds 2015-03-12 16:23:47 -07:00
Brennan 8fb42e4d16 Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 16:14:29 -07:00
Levi B bf7283697d Flow logging through the AuthenticatedEncryption types 2015-03-12 16:12:17 -07:00
Levi B 7fe33e8159 DataProtectionServices should prefer registry over defaults
Comment cleanup in CNG-GCM ExportToXml
2015-03-12 14:22:45 -07:00
Doug Bunting 90294aa49c Fix build failures when source is under a directory with spaces in the name
- aspnet/Mvc#2082
- problems specific to local `node` and related installations
 - quote authenticode verification target
 - quote local `node` library paths
 - quote local `npm.cmd` path (with ye olde `/S` double-quoting hack)
 - quote `--prefix` values in `npm install` commands
 - quote `rimraf` directories to delete
2015-03-12 10:33:12 -07:00
Doug Bunting 0610cfbb3e Do not use deprecated `dnvm -x86` switch 2015-03-11 21:50:21 -07:00
Levi B 4f2288c3da Introduce concept of a "fallback key"
This key is used if there is no preferred default key and the developer has disabled automatic key generation. This will keep the service from falling over if the keys are not rolled and they all expire.
2015-03-11 19:39:41 -07:00
Levi B 58c823bc45 Rename KeyLifetimeOptions -> KeyManagementOptions
Simplify default key resolution logic
Introduce API for disabling automatic key generation
2015-03-11 19:39:35 -07:00
David Fowler 43f7c54fb8 Merge pull request #378 from tugberkugurlu/ignore-lock-file
ignored project.lock.json file
2015-03-11 17:48:17 -07:00
Tugberk Ugurlu bca62a49a8 ignored project.lock.json file 2015-03-12 00:45:43 +00:00
Praburaj ad9e11ed2e React to Caching package rename
Dependent on https://github.com/aspnet/Caching/pull/49/files
2015-03-11 17:39:00 -07:00
Doug Bunting 07f78bab6f Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:37 -07:00
Doug Bunting 1990b9ee97 Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:28 -07:00
Doug Bunting c27c85c7ac Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:26 -07:00
Doug Bunting ebcb6196b8 Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:25 -07:00
Doug Bunting 20fe4f8d63 Do not use deprecated `dnvm -x86` switch 2015-03-11 16:58:20 -07:00
Hao Kung c49fd85c56 React to identity changes 2015-03-11 16:10:55 -07:00
Doug Bunting 878541c220 Do not use deprecated `dnvm -x86` switch
- avoid `The -x86 switch has been deprecated. Use the '-arch x86' parameter instead`
2015-03-11 15:24:34 -07:00
Praburaj 39fc5ebdc4 Making the tests robust
And some general cleanup
2015-03-11 14:48:34 -07:00
Praburaj b0c989ce90 Modifying the logic to identify the runtime to use
Also quoting the application path being passed to iisexpress/k web so that application path can contain spaces.
2015-03-11 14:48:23 -07:00
ASP.NET Push Bot 5c7a71451c ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@8e182fe0f5
2015-03-11 14:19:53 -07:00
N. Taylor Mullen a6982fae6c Update .kproj => .xproj. 2015-03-11 14:09:25 -07:00
N. Taylor Mullen a43664286a Update .kproj => .xproj. 2015-03-11 14:09:20 -07:00
N. Taylor Mullen 8d8c6ea823 Update .kproj => .xproj. 2015-03-11 14:09:00 -07:00
N. Taylor Mullen 12f90869c0 Update .kproj => .xproj. 2015-03-11 14:07:45 -07:00
N. Taylor Mullen e3e0f1a1c3 Update .kproj => .xproj. 2015-03-11 14:07:29 -07:00
N. Taylor Mullen 8c7a47fb00 Update .kproj => .xproj. 2015-03-11 14:05:01 -07:00
Doug Bunting 456a38a249 Fix the `init` target
- correct check for whether target file is present
- correct `makefile.shade` filename
- do not copy master and release config files into every repo
2015-03-11 11:17:54 -07:00
Doug Bunting f6ae75eac5 Bower blocks build on first run
- aspnet/Mvc#2116
- run Bower non-interatively from our scripts
 - does not affect grunt-brower-task; programmatic Bower use never prompts
- see Bower discussion at bower/bower#1162
- FYI `$env:CI = 'TeamCity'` would work similarly but TeamCity does not set that
2015-03-11 11:13:13 -07:00
Troy Dai 30e4b1c167 Update dnvm to build 10345 2015-03-11 11:00:40 -07:00
ASP.NET Push Bot e1c96ffb00 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@ec62cdc6d4
2015-03-11 10:26:09 -07:00
Levi B bb1b49cc1c Fix PoliCheck violations. 2015-03-10 23:40:39 -07:00
Levi B e8cc1106d8 Significant refactorings throughout the data protection stack
- Move IDataProtectionProvider, IDataProtector, and extension methods to their own package
- Simplify the APIs for registering and configuring the system
- Default implementation now auto-detects capabilities of OS
- Use EncryptedXml for X.509 certificate-based encryption
- Add ability to escrow secret material upon key creation
- Use centralized system policy for default algorithm selection
- Simplify System.Web compatibility layer
- Add unit tests, logging, and doc comments throughout solution
2015-03-10 22:43:45 -07:00