Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Code Access Security (CAS) #502

Merged
merged 10 commits into from May 19, 2020
Merged

Commits on May 16, 2020

  1. Remove redundant security transparency level 2 attrs

    Reasons for removal have been stated in the following GitHub issue:
    
        castleproject#477
    stakx committed May 16, 2020
    Copy the full SHA
    259e59e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ff4efb3 View commit details
    Browse the repository at this point in the history
  3. Remove security permissions in DefaultSmtpSender

    The use of security permissions' and `.IsGranted()` here appears to
    have had the purpose of allowing this class to work correctly when no
    credentials are set and executing code would have no permission to
    read `NetworkCredentials`.
    
    We can get rid of security permissions by refactoring code such that
    the `NetworkCredential` gets created only on demand. The only observ-
    able difference should be that in the absence of certain granted perm-
    issions, querying or setting `UserName`, `Password`, or `Domain` will
    no longer throw immediately. Failure is deferred until the moment when
    the SMTP client is built.
    stakx committed May 16, 2020
    Copy the full SHA
    fd56e78 View commit details
    Browse the repository at this point in the history
  4. Remove PermissionUtil.IsGranted

    stakx committed May 16, 2020
    Copy the full SHA
    d6196de View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    bf2ebd3 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    9e11388 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    cb88f50 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    7b09f80 View commit details
    Browse the repository at this point in the history
  9. Update the changelog

    stakx committed May 16, 2020
    Copy the full SHA
    d499f17 View commit details
    Browse the repository at this point in the history
  10. Update ref/ contracts

    stakx committed May 16, 2020
    Copy the full SHA
    ff4b103 View commit details
    Browse the repository at this point in the history