Closed oss-aimoto closed 3 years ago
The cause is that the argument userName of the searchIdentities method is in DN format(id=demo,ou=user,dc=openam,dc=osstech,dc=co,dc=jp)
The argument of searchIdentities method is the user name(such as "demo").
Internal Server Error does't appear in Dashboard
The modified code uses ContextHelper to get the user id. This way is the same as UserDevicesResource.
ContextHelper
UserDevicesResource
LGTM
Analysis
The cause is that the argument userName of the searchIdentities method is in DN format(id=demo,ou=user,dc=openam,dc=osstech,dc=co,dc=jp)
Solution
The argument of searchIdentities method is the user name(such as "demo").
Testing
Internal Server Error does't appear in Dashboard
Regression testing