8000 #1049 - Fix serialization bug with EhcacheTicketRegistry by Ammar0 · Pull Request #1055 · apereo/cas · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

#1049 - Fix serialization bug with EhcacheTicketRegistry #1055

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

Merged
merged 1 commit into from
Jul 30, 2015

Conversation

Ammar0
Copy link
@Ammar0 Ammar0 commented Jul 25, 2015

Closes #1049

@@ -36,7 +37,12 @@

@Override
public void populateAttributes(final AuthenticationBuilder builder, final Credential credential) {
builder.addAttribute(SUCCESSFUL_AUTHENTICATION_HANDLERS, new HashSet(builder.getSuccesses().keySet()));
Set<String> successes = builder.getSuccesses().keySet();
Copy link
Contributor

Choose a reason for hiding this comment

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

For my understanding, when are the successes null? Should it ever happen?

Copy link
Member

Choose a reason for hiding this comment

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

No it never should. When the populator runs, it is assumed that authN is successful. Need to double check, but I think that is the current behavior.

@mmoayyed
Copy link
Member

@Ammar0 any updates on this?

@mmoayyed mmoayyed added this to the 4.0.4 milestone Jul 30, 2015
@mmoayyed
Copy link
Member
mmoayyed commented < 8000 a href="#issuecomment-126183203" id="issuecomment-126183203-permalink" class="Link--secondary js-timestamp">Jul 30, 2015

@leleuj in light of the next patch release, how about we merge this for now and fix up other issues locally? Don't think we can update this PR in time.

@mmoayyed
Copy link
Member

This should also be merged into 4.0.x

@leleuj
Copy link
Contributor
leleuj commented Jul 30, 2015

I'm not against it. At worst, it's a useless check.

mmoayyed pushed a commit that referenced this pull request Jul 30, 2015
#1049 - Fix serialization bug with EhcacheTicketRegistry
@mmoayyed mmoayyed merged commit ab50f63 into apereo:master Jul 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5A70
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0