I am using WSO2IS 5.3.0 to authenticate my application. I have a GUI to get Username and Password to authenticate. Once it is authenticated, I am using PAC4J to store and retrieve user profile. It is using SAML SSO.
Now I want to get all the users in my tenant through WSO2IS Web API and list it in my application https://docs.wso2.com/display/IS530/Managing+Users+and+Roles+with+APIs#ManagingUsersandRoleswithAPIs-listUsers()
Since application is already authenticated, I can't get password again to authenticate the stub like this authenticationAdminStub.login(userName, password, remoteIp)
to get user list.
I have commonAuthId and samlssoTokenId cookies and WSO2Carbon certificates. What are the other ways to authenticate stub without password and get user list.