ausaccessfed/federationregistrymaster — Issue #142: Multiple values for mail from IdP
Author: bradleybeddoes
Created: 2012-01-18 02:16:30+00:00
State: open

When multiple values for the mail attribute are supplied from an IdP FR has problems with handling account creation/modification.

Have FR handle this more gracefully in the future.

> [ 18.01.12 13:47:02.715] ERROR grails.app.realm.fedreg.host.ShibbolethRealm - Error creating user account from Shibboleth credentials for http://iam.test.auckland.ac.nz/idp!https://registry.test.tuakiri.ac.nz/shibboleth!prEPng+9pbHuNkAGRRKssdubwiY=
> [ 18.01.12 13:47:02.734] ERROR grails.app.realm.fedreg.host.ShibbolethRealm - org.springframework.validation.BeanPropertyBindingResult: 1 errors
> Field error in object 'fedreg.host.User' on field 'profile.email': rejected value [a.kourotchkine@auckland.ac.nz;akou003@aucklanduni.ac.nz]; codes [fedreg.host.Profile.email.email.error.fedreg.host.User.profile.email,fedreg.host.Profile.email.email.error.profile.email,fedreg.host.Profile.email.email.error.email,fedreg.host.Profile.email.email.error.java.lang.String,fedreg.host.Profile.email.email.error,profile.email.email.error.fedreg.host.User.profile.email,profile.email.email.error.profile.email,profile.email.email.error.email,profile.email.email.error.java.lang.String,profile.email.email.error,fedreg.host.Profile.email.email.invalid.fedreg.host.User.profile.email,fedreg.host.Profile.email.email.invalid.profile.email,fedreg.host.Profile.email.email.invalid.email,fedreg.host.Profile.email.email.invalid.java.lang.String,fedreg.host.Profile.email.email.invalid,profile.email.email.invalid.fedreg.host.User.profile.email,profile.email.email.invalid.profile.email,profile.email.e
mail.invalid.email,profile.email.email.invalid.java.lang.String,profile.email.email.invalid,email.invalid.fedreg.host.User.profile.email,email.invalid.profile.email,email.invalid.email,email.invalid.java.lang.String,email.invalid]; arguments [email,class fedreg.host.Profile,a.kourotchkine@auckland.ac.nz;akou003@aucklanduni.ac.nz]; default message [Property [{0}] of class [{1}] with value [{2}] is not a valid e-mail address]
> [ 18.01.12 13:47:02.753] INFO grails.app.realm - Unable to authenticate with fedreg.host.ShibbolethRealm - Account creation exception for new shibboleth based account
> [ 18.01.12 13:47:02.760] INFO grails.app.controller.fedreg.host.AuthController - General authentication failure for user 'http://iam.test.auckland.ac.nz/idp!https://registry.test.tuakiri.ac.nz/shibboleth!prEPng+9pbHuNkAGRRKssdubwiY='.