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

security.SecureString -> util.Secret #108

Merged
merged 6 commits into from
Dec 10, 2015

Conversation

thekid
Copy link
Member

@thekid thekid commented Dec 9, 2015

With the extraction of the security package per xp-framework/rfc#293 users need to depend on an extra library for a single class. This pull request reintroduce the class to XP core.

There are however subtle changes:

  • The class is renamed from a technical name ("how") to a more user-friendly term ("what")
  • Instances become immutable: The setter method setCharacters() is removed, and the getter method is now named reveal().

The security.SecureString class extends the new util.Secret class to enable seamless migration.

/cc @mikey179 & @kiesel

@thekid thekid changed the title security.SecureString -> util.Password security.SecureString -> util.Secret Dec 10, 2015
thekid added a commit that referenced this pull request Dec 10, 2015
security.SecureString -> util.Secret
@thekid thekid merged commit 09a8174 into xp-framework:master Dec 10, 2015
@thekid thekid deleted the feature/securestring branch December 10, 2015 15:58
thekid added a commit that referenced this pull request Dec 10, 2015
kiesel pushed a commit that referenced this pull request Dec 18, 2015
@thekid thekid added this to the 6.8.0 milestone Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant