jenkinsci / cas-plugin

Jenkins CAS Plugin
https://plugins.jenkins.io/cas-plugin/
MIT License
9 stars 15 forks source link

Allow to combine two fields for fullName #8

Closed db0 closed 3 years ago

db0 commented 3 years ago

Currently my CAS provider does not return a fullName property. Instead they return only a 'firstName' and a 'lastName' property. I would like be able to combine these two properties to construct a fullname for Jenkins.

fcrespel commented 3 years ago

Here is a new build that now accepts {{attribute}} placeholders in the "Full Name Attribute" (and "Email Attribute") advanced protocol config (in addition to plain attribute names). So in your case, you could try {{firstName}} {{lastName}} for example. Let me know if this works for you.

db0 commented 3 years ago

This works great! Thanks once more! :D

fcrespel commented 3 years ago

CAS plugin version 1.6.0 is now released and includes this improvement.