Date: Thu, 28 Mar 2024 14:27:43 +0000 (UTC) Message-ID: <1020677636.6519.1711636063710@ip-10-10-7-29.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_6518_502071069.1711636063708" ------=_Part_6518_502071069.1711636063708 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The Subject API Diagnostics screen is an administrative screen= for Grouper admins to troubleshoot and verify subject API sources.
This is on by default in a 2.3.0 patch or 2.3.1+.
Set this in the grouper-ui.properties to customize this enhancement
# shoul= d show subject api diagnostics? uiV2.admin.subjectApiDiagnostics.show =3D true # put in a group here if you want to allow the subject API diagnostics to c= ertin users. =20 # note, admins can always see the screen uiV2.admin.subjectApiDiagnostics.must.be.in.group =3D
If the UI doesnt start
grouper.properties (temporarily)
gsh.exi= tOnSubjectCheckConfigProblem =3D false
if gsh doesnt start, try:
run this in GSH
Grouper= Session.startRootSession(); edu.internet2.middleware.grouper.cache.GrouperCacheUtils.clearAllCaches(); GrouperUtil.assignField(edu.internet2.middleware.subject.provider.SourceMan= ager.class, null, "manager", null, null); -- continue below --
gsh
Grouper= Session.startRootSession(); new edu.internet2.middleware.grouper.grouperUi.serviceLogic.SubjectSourceDi= agnostics().assignSourceId("SMUPerson_DEV").assignSubjectId("empl1").assign= SubjectIdentifier("netid@school.edu").assignSearchString("em").subjectSourc= eDiagnosticsFromGsh() =3D=3D=3D>=20 SUCCESS: Found subject by id in 37ms: 'empl1' with SubjectFinder.findByIdAndSource("empl1", "SMUPerson_DEV", fal= se) SUCCESS: Subject id in returned subject matches the subject id searched for= : 'empl1' WARNING: No subject found by identifier in 14ms: 'netid@school.edu' with SubjectFinder.findByIdentifierAndSource("netid@school.edu", "= SMUPerson_DEV", false)
Go to the New UI, click on Miscellaneous, then click on "Subject API dia= gnostics"
If you have an account on the demo server you can see the diagnostics th= ere:
Note: email attribute is not validated
SUCCESS= : The emailAttributeName is configured to be: 'mail' SUCCESS: The email address 'whatever@someplace.edu' was found and has a val= id format
See Also