In UserProfileContext.IDP_REVIEW, NPE on UserModel#getEmail because UserModelDelegate#delegate is null
Signed-off-by: Réda Housni Alaoui <reda-alaoui@hey.com>
This commit is contained in:
parent
057d8a00ac
commit
a21e95c5ae
1 changed files with 15 additions and 0 deletions
|
@ -144,16 +144,31 @@ public class IdpReviewProfileAuthenticator extends AbstractIdpAuthenticator {
|
|||
return userCtx.getFirstAttribute(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFirstName() {
|
||||
return userCtx.getFirstName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setFirstName(String firstName) {
|
||||
userCtx.setFirstName(firstName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEmail() {
|
||||
return userCtx.getEmail();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setEmail(String email) {
|
||||
userCtx.setEmail(email);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLastName() {
|
||||
return userCtx.getLastName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setLastName(String lastName) {
|
||||
userCtx.setLastName(lastName);
|
||||
|
|
Loading…
Reference in a new issue