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

#61. Specify the attribute used for Pac4jPrincipal.getName() #62

Closed
wants to merge 2 commits into from

Conversation

volumeint
Copy link
Contributor

Allows a user to configure the attribute name from the CommonProfile that should be returned by Pac4jPrincipal.getName().

/**
* Private utility method to trim empty strings to null.
*/
private static String trimToNull(String orig) {
Copy link
Member

Choose a reason for hiding this comment

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

Lets' remove this method and use CommonHelper.isBlank instead at line 121.

@leleuj
Copy link
Member

leleuj commented Jun 14, 2017

Thanks.

I haven't planned to release a new 2.2.x version, only the upcoming version 3.0.0.

At least, you must submit the same PR for the master.

@volumeint
Copy link
Contributor Author

I created #63 to pull to master.

@volumeint volumeint closed this Jun 15, 2017
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.

2 participants