Skip to content
New issue

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

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

Already on GitHub? # to your account

ISSUE-610: Provide JAAS config dynamically via config #610 #611

Merged
merged 2 commits into from
Oct 23, 2019
Merged

Conversation

guruchai
Copy link
Contributor

No description provided.

Copy link
Collaborator

@raju-saravanan raju-saravanan left a comment

Choose a reason for hiding this comment

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

+1 LGTM, thanks @guruchai for this PR. Left a nit.

/**
* Configures this login instance with a dynamic configuration.
*/
public void configure(Map<String, ?> configs, String loginContextName, Configuration jaasConfiguration) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we consider clubbing the first and the last parameter ? As in piggyback the configs specified in the map as a part of Configuration object ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@raju-saravanan Configuration object here is javax.security.auth.login.Configuration object and not the SR's Configuration object. Let me know if i still did not make it clear.

@guruchai guruchai merged commit fae1adc into master Oct 23, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants