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

Allow the use of NameID for principal name #5

Open
scalding opened this issue Feb 3, 2016 · 1 comment
Open

Allow the use of NameID for principal name #5

scalding opened this issue Feb 3, 2016 · 1 comment

Comments

@scalding
Copy link
Contributor

scalding commented Feb 3, 2016

Currently, it is only possible to use an attribute for the principal name. Given the deployer has considered all the drawbacks of this, they should be able to use a NameID for the principal name.

@scalding
Copy link
Contributor Author

scalding commented Feb 3, 2016

Couple implementation notes:

  1. add a new field to [https://github.com/UniconLabs/cas-saml-auth/blob/master/src/main/groovy/org/jasig/cas/domain/Idp.groovy]; possibly something like useNameID:boolean
  2. extend [https://github.com/UniconLabs/cas-saml-auth/blob/master/src/main/groovy/org/jasig/cas/service/SimpleJsonIdpService.groovy#L63] to support using NameID

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

No branches or pull requests

1 participant