The provided tonr sample is a web based application. The invocation is triggerred by user clicking on something through the web page. Now I have a scheduled job that needs to access other provides as a consumer. How do I do it?
In web based environment, everything is done through this:
I a standalone app environment, is there anyway similar to configure?
<oauth:consumer resource-details-service-ref="resourceDetails" token-services-ref="tokenService" oauth-failure-page="/login/oauth_error.jsp">
<oauth:url pattern="/user/**" resources="myService"/>
<oauth:url pattern="/login/**" resources="none"/>