Skip to content

Conversation

renegrob
Copy link

Fix #12
This PR adds context attributes to the AuthenticationRequest interface. The attributes are designed similar to those defined on the SecurityIdentity interface. Since AuthenticationRequests are used to transport information and short lived I don't see a problem making the attributes mutable. If the attributes were immutable, the whole object would have to be copied in order to add an attribute after the AuthenticationRequests has been created.

@renegrob
Copy link
Author

Hi @stuartwdouglas @sberyozkin
I finally found some time to do the PR. I tried to keep it simple and generic. I think this is a good base for better flexibility.

Copy link
Collaborator

@stuartwdouglas stuartwdouglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just the one minor issue.

@renegrob renegrob force-pushed the authentication-request-attributes branch from c54dc4f to 1c0b46b Compare January 27, 2021 07:05
@renegrob
Copy link
Author

renegrob commented Feb 2, 2021

@stuartwdouglas Is it okay to set this PR to ready for review?

@stuartwdouglas stuartwdouglas marked this pull request as ready for review February 2, 2021 10:14
@stuartwdouglas stuartwdouglas merged commit 55b050e into quarkusio:master Feb 2, 2021
@stuartwdouglas
Copy link
Collaborator

LGTM thanks

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

Successfully merging this pull request may close these issues.

Getting url-path and realm from AuthenticationRequest
2 participants