openam-jp / openam

Other
32 stars 15 forks source link

Issue #209 Fix Internal server error in Dashboard #210

Closed oss-aimoto closed 3 years ago

oss-aimoto commented 4 years ago

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

tsujiguchitky commented 4 years ago

The modified code uses ContextHelper to get the user id. This way is the same as UserDevicesResource.

tsujiguchitky commented 4 years ago

LGTM