Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Does this Plugin need to set a UserPrincipal? #4

Open
martinhaase opened this issue Sep 25, 2019 · 0 comments
Open

Does this Plugin need to set a UserPrincipal? #4

martinhaase opened this issue Sep 25, 2019 · 0 comments

Comments

@martinhaase
Copy link

martinhaase commented Sep 25, 2019

When combining this plugin with SPNEGO login, the latter spits out a principal. This plugin is able to use this principal, but adds another with the same user name. This seems useless and actually blocks using the https://wiki.shibboleth.net/confluence/display/IDP30/SimplePostLoginC14NConfiguration needed for SPNEGO, since we have now two independent principals. Disabling the extra principal seemed to do the trick:

src/main/java/ca/ab/concordia/privacyIDEAtfa/TokenValidator.java:```

// do not let 2FA set username
// subject.getPrincipals().add(new UsernamePrincipal(username));

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

No branches or pull requests

1 participant