How to get the Access Token from sessionTokena nd client Id in JAVA 1.8

How to get the AccessId from SessionToken and client Id in JAVA1.8