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

Expand conversion types to include string constructor and static factory #114

Closed
dblevins opened this issue Oct 11, 2018 · 4 comments
Closed
Milestone

Comments

@dblevins
Copy link
Contributor

Our ability to convert Claims from strings to specific data types should be expanded to reach the same level of functionality found in JAX-RS or Config API. Specifically, java types that have a public constructor that accept a string should be supported, as should java types that have a static factory method that accepts string as an argument and returns an instance of that type.

@radcortez
Copy link
Contributor

I think this will great to support. On the other hand we are seeing a lot of repetition around conversions. MP Config is pitching the idea of creating a Conversion spec to be used by all the other specs.

Most likely it would be good to push for such a spec, or even provide a way to access MP Config converters until something like this is available.

@radcortez
Copy link
Contributor

@sberyozkin
Copy link
Contributor

Is it a duplicate of #100 ?

@sberyozkin sberyozkin added this to the JWT-2.0 milestone Feb 24, 2020
@sberyozkin
Copy link
Contributor

Hi All and David in particular, @dblevins. David, don;t hate me please for closing another of your issues :-). I will copy this requirement to #100 and credit it to you; IMHO it should also be tied with a type safe retrieval of the claims. see you at #100 later on, cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants