I have to implement an OAuth 2.0 client program to retrieve access token in Java 1.4. Using org.apache.oltu.oauth2.client-0.31.jar and org.apache.oltu.oauth2.common-0.31.jar was not successful since Java 1.4 does not support Enums. Please suggest a method.
Asked
Active
Viewed 203 times
0
-
Why java 1.4.? Is that a limitation on your servers – Kavindu Dodanduwa Jul 24 '17 at 10:58
-
https://stackoverflow.com/questions/1038321/alternative-to-enum-in-java-1-4 might be useful – Kavindu Dodanduwa Jul 24 '17 at 10:58
-
Yes. Its due to limitations in environment. Is there an oauth2 client library that supports java 1.4? – Shehan Charuka Jul 25 '17 at 08:14
-
What's your client type ? – Kavindu Dodanduwa Jul 25 '17 at 08:52
-
Hi KcDoD, Im developing a REST client where access token should be retrieved under OAuth 2.0 framework. – Shehan Charuka Jul 28 '17 at 16:41