15:52:30,734 ERROR [STDERR] org.ejbca.core.model.ra.raadmin.UserDoesntFullfillEndEntityProfile: Email notification cannot be set in current end entity profile.
15:52:30,734 ERROR [STDERR] at org.ejbca.core.model.ra.raadmin.EndEntityProfile.doesUserFullfillEndEntityProfileWithoutPassword(EndEntityProfile.java:951)
15:52:30,734 ERROR [STDERR] at org.ejbca.core.ejb.ra.LocalUserAdminSessionBean.changeUser(LocalUserAdminSessionBean.java:740)
15:52:30,734 ERROR [STDERR] at org.ejbca.core.ejb.ra.LocalUserAdminSessionBean.changeUser(LocalUserAdminSessionBean.java:655)
====================================================
Code in "EndEntityProfile.java:951 "
if(getValue(SENDNOTIFICATION,0).equals(FALSE) && sendnotification)
throw new UserDoesntFullfillEndEntityProfile("Email notification cannot be set in current end entity profile.");
========================================
I have find i haven't choose "default" checkbox of "use notifications", if this not choose, when add end entity which "send notification" will not be choose and it is disable to check, too.
Thx, anatom.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Exception:
15:52:30,734 ERROR [STDERR] org.ejbca.core.model.ra.raadmin.UserDoesntFullfillEndEntityProfile: Email notification cannot be set in current end entity profile.
15:52:30,734 ERROR [STDERR] at org.ejbca.core.model.ra.raadmin.EndEntityProfile.doesUserFullfillEndEntityProfileWithoutPassword(EndEntityProfile.java:951)
15:52:30,734 ERROR [STDERR] at org.ejbca.core.ejb.ra.LocalUserAdminSessionBean.changeUser(LocalUserAdminSessionBean.java:740)
15:52:30,734 ERROR [STDERR] at org.ejbca.core.ejb.ra.LocalUserAdminSessionBean.changeUser(LocalUserAdminSessionBean.java:655)
====================================================
Code in "EndEntityProfile.java:951 "
if(getValue(SENDNOTIFICATION,0).equals(FALSE) && sendnotification)
throw new UserDoesntFullfillEndEntityProfile("Email notification cannot be set in current end entity profile.");
========================================
LocalUserAdminSessionBean.java:740
profile.doesUserFullfillEndEntityProfileWithoutPassword(userdata.getUsername(), dn, altName, userdata.getExtendedinformation().getSubjectDirectoryAttributes(), userdata.getEmail(), userdata.getCertificateProfileId(),
LocalUserAdminSessionBean.java:655
public void changeUser(Admin admin, UserDataVO userdata, boolean clearpwd)
throws AuthorizationDeniedException, UserDoesntFullfillEndEntityProfile, ApprovalException, WaitingForApprovalException {
changeUser(admin, userdata,clearpwd, false);
}
=======================================
Thank you!
/Daniel
In your end entity profile you have not checked "use notifications" and you have not configured any notifications.
I have find i haven't choose "default" checkbox of "use notifications", if this not choose, when add end entity which "send notification" will not be choose and it is disable to check, too.
Thx, anatom.