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

"Insufficient Authentication" when using with RemoteUser login handler #40

Closed
lhoekenga opened this issue Apr 11, 2017 · 8 comments
Closed

Comments

@lhoekenga
Copy link
Contributor

I've installed the overlay on IDP 3.3.1 and it appears to be active. When I try to log in, the IDP present an error in the browser ("An error occurred: InsufficientAuthenticationException")

2017-04-05 15:11:57,023 - ERROR [org.springframework.security.authentication.InsufficientAuthenticationException:76] - 141.213.171.221 -
org.springframework.security.authentication.InsufficientAuthenticationException: User must be authenticated with Spring Security before authorization can be completed.
at org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint.authorize(AuthorizationEndpoint.java:138)

and I see this in the error log. I'm guessing the Shib RemoteUser handler isn't going through spring security?

@mmoayyed
Copy link

You may very well be right. I don't think the overlay considers the remote-user, though I speculate that with a few tricks to the web.xml, you might be able to make this work.

@lhoekenga
Copy link
Contributor Author

lhoekenga commented May 4, 2017 via email

@lhoekenga
Copy link
Contributor Author

lhoekenga commented May 4, 2017 via email

@lhoekenga
Copy link
Contributor Author

lhoekenga commented May 4, 2017 via email

@mmoayyed
Copy link

mmoayyed commented May 5, 2017

We might need to set up some sort of session so I can review this with you. Or at least learn more about your setup so I can duplicate it on my end. That sound like a good idea? Possible dates/times besides today and next Monday?

@lhoekenga
Copy link
Contributor Author

lhoekenga commented May 5, 2017 via email

@mmoayyed
Copy link

mmoayyed commented May 5, 2017

OK. I am generally around until 3pm EDT. I'd prefer to this before next Thursday, but once you get confirmation please ping the same thread and we'll set something up.

I am also at mmoayyed@unicon.net if you wanted to reach out privately.

@lhoekenga
Copy link
Contributor Author

I think that we addressed most of this by calling out the individual OIDC endpoints in the filter-mapping in web.xml

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

No branches or pull requests

2 participants