vSphere

 View Only
  • 1.  What is the rest end point to login VCenter

    Posted Nov 14, 2018 06:37 AM
    What is rest end poing and how can i use same with basic authentication?


  • 2.  RE: What is the rest end point to login VCenter

    Broadcom Employee
    Posted Nov 14, 2018 09:23 AM

    Hi,

     

    Could you please explain what are you trying to achieve and give some more details.

    Usually <vcenter_ip>/ui is used to access the HTML Client and <vcenter_ip>/vsphere-client is used to acces the Flex Client.



  • 3.  RE: What is the rest end point to login VCenter

    Posted Nov 17, 2018 08:48 AM

    I want to call check valid login with usrid & password as parameter/ arguments.

    exp:

    <vcenter_ip>/login?userid={uid}&pw="pw"

    or using header params in case post request

    which can return me with vallid http status and json data with details.

    If i use flex/ html not sure how can i check same.



  • 4.  RE: What is the rest end point to login VCenter

    Broadcom Employee
    Posted Nov 18, 2018 08:57 AM

    Hi,

     

    You can get the current user session by using the UserSessionService's getUserSession() method. It will give you information about the currently logged in user or null otherwise.

     

    Best Regards,

    Denis