MS Facebook OAuth OAM

Hello guys,.


I try to incorporate MS OAM on Facebook here. Here are the configurations made by me:

1. created an application in FB to generate a consumer key and Consumer Secret @ https://developers.facebook.com/apps

2 basic information of the specified application "application areas" such as example.com

3 added a website with site as platform http://oam.example.com:14100

4 copied 'App ID' and «App Secret»

5. the side OAM, update the profile of the identity provider Internet for FB by specifying 'Consumer Key' and 'Consumer Secret' with 'App ID' and 'App Secret' retrieved from #4

6.

(a) using OAMApplication as application profile

(b) OAMServiceProviderInterface used as a 'Service Provider Interface.

(c) Facebook selected as 'Application user attribute Vs Internet Identity Provider user attributes mapping'

(d) in the properties of Application Profile adds the property 'colocated.oam' with value 'true' and 'oic.app.idp.oauth.token' as 'true '.

7. protect an app with webgate OOTB OICScheme.

8 activate "Mobile and social services" form Configuration-> Service system

9 configure WebLogic Server for compatibility Facebook identity provider

(a) open the WebLogic Console.

http://host/console

(b) select domain > environment > servers > managed server.

(c) click on the SSL tab, and then click Advanced.

(d) Click Lock and change the configuration.

(e) change the hostname on any auditor.

(f) restart the managed server.

Question:

1. access to the resource protected by OICScheme

2. click on Facebook

An error page is thrown on the popup with below exception on the managed server:


Caused by: oracle.security.idaas.rp.RPException: java.lang.ClassNotFoundException: oracle.security.idaas.rp.oauth.provider.FacebookImpl

at oracle.security.idaas.rp.provider.IdentityProviderFactory.getInstance(IdentityProviderFactory.java:76)

at oracle.security.idaas.rp.provider.RPProtocolHandlerImpl.invokeAuthnRequest(RPProtocolHandlerImpl.java:81)

at oracle.security.idaas.rp.RPInitServlet.processRequest(RPInitServlet.java:224)

at oracle.security.idaas.rp.RPInitServlet.doGet(RPInitServlet.java:251)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

at java.security.AccessController.doPrivileged (Native Method)

at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)

at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)

at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Caused by: java.lang.ClassNotFoundException: oracle.security.idaas.rp.oauth.provider.FacebookImpl

in java.net.URLClassLoader$ 1.run(URLClassLoader.java:366)

in java.net.URLClassLoader$ 1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged (Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

at oracle.security.idaas.common.util.OICClassManager.loadClass(OICClassManager.java:193)

at oracle.security.idaas.common.util.OICClassManager.reloadClass(OICClassManager.java:183)

at oracle.security.idaas.rp.provider.IdentityProviderFactory.getProvider(IdentityProviderFactory.java:122)

at oracle.security.idaas.rp.provider.IdentityProviderFactory.getInstance(IdentityProviderFactory.java:73)

at oracle.security.idaas.rp.provider.RPProtocolHandlerImpl.invokeAuthnRequest(RPProtocolHandlerImpl.java:81)

at oracle.security.idaas.rp.RPInitServlet.processRequest(RPInitServlet.java:224)

at oracle.security.idaas.rp.RPInitServlet.doGet(RPInitServlet.java:251)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

at java.security.AccessController.doPrivileged (Native Method)

at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)

at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)

at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

>

So, we finally got to do the integration. The trick here is, Facebook stopped mail as part of their response to attribute.

Tags: Fusion Middleware

Similar Questions

  • Facebook oauth login

    I'm creating an application requiring a facebook connection. I'm new to this concept of oauth. I saw bb stunts oauth library in giithub but I don't know how to. I saw the twitter oauth process which does not work in the current SDK.

    I also tried qml oauth process in webview published somewhere in the forum. But I get an error as 'success'
    SECURITY WARNING: Thank you for treating the above URL as you would your password and don't share it with anyone. »


    On the change of url redirection and white lists in the configuration advanced facebook app, it works.

  • Get Facebook OAuth sample - birthday

    I got the example of Facebook with samples of WebWorks works very well.

    I want instead of saying hello "name"! user's birthday will appear instead.

    So I change line 101 oauth.js of...

    showMessage ('Hello' + data.name + "!");

    TO

    showMessage ('Hello' + data.birthday + "!");

    When I try this I return undefined for birthday. How to go to the user's birthday?

    Solution is to add user_birthday to line 53 allowing the application to access this data...

    Window.Location.Replace ('https://www.facebook.com/dialog/oauth?client_id=' + facebookOptions.clientId + ' & redirect_uri = "+ facebookOptions.redirectUri + ' & scope = read_stream, publish_stream, user_birthday'");

  • HTML5 app + Facebook Javascript SDK = without hope?

    Hi, I am aware that BB10-WebWorks-samples provides the example of Facebook-OAuth-2 for the Facebook integration in an HTML5 app.

    I just confirm that it is really desperate to try to use instead of Facebook Login with Javascript SDK ? I tried to load the Javascript SDK in my HTML5 app without success.

    Hi chadtatro, your sample application works and I understand your well written code. Thank you very much!

    Just think about it... why the documentation for Facebook to use their Javascript SDK led to errors? What is their tutorial for work on other platforms?

  • any connection, for example?

    any connection, for example?

    I need of connection example and if it is possible with the facebook connect option.

    Thank you

    Looks like you're looking for information on OAuth (secure authentication used by sites like Facebook & other external services).

    Here is a code example that shows how to integrate Facebook in a BlackBerry WebWorks 10 app using OAuth

    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/master/Facebook-OAuth-2

  • OAuth 2 and FaceBook

    Hi all

    I test my application with ripple and work for FaceBook share... but on the PlayBook will not work

    I think the problem is redirectUri or a parameter in FB app.

    I have this setting in FB App:

    Areas of application: localhost

    Web site for FaceBook login: http://localhost///index.html

    Mobile site URL: http://localhost///index.html

    in my application:

    redirectUri: http://localhost:9910/myApp/index.html

    and nice work on emulator Ripple...

    What is the error?

    Why don't the PlayBook work?

    Window.open() does not work on the PlayBook (unfortunately).  When it is called from the browser, a new tab opens.  However there is no notion of tabs in WebWorks on Tablet OS, so the call is essentially ignored.  However the BlackBerry 10, we made sure that window.open() was related to a child browser control - that's why this behavior works as expected.

    For PlayBook, I don't expect that you will be able to use http://localhost:9910/myApp/index.html as a call back because Facebook does not know what localhost is. In order to make this work, I would expect that you will use a page deployed on a public domain (for example the PHP page on your own web server public) who can do a redirect for you to the localhost URL.

  • HTML content sharing - the context of Invocation and Facebook

    Hi all

    I would like to share content to Facebook HTML using Webworks and the framework of the call. No problem with a text/plain content, but I need something more... do you know guys if it's feasible or not?

    I saw no examples on this subject or on the official documentation on Git...

    Thank you very much

    -marco

    Thank you, good

    If it is not currently possible with the framework to invoke. You can share either text or an image. Not both at the same time.

    The only solution I know is to manage sharing using OAuth. It's just a little more work to use the invoke framework but will work. We have posted examples to use OAuth for Twitter and Facebook that would probably be a huge help in this case.

    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/WebWorks-2.0

  • Facebook integration

    can someone help me with this... Please provide some examples a bit... so it won't be easy for me to understand... I want just one button in my application after clicking on which bb browser opens with facebook page...?

    thnks in advance

    If I understand correctly, you want a button to open the browser at http://www.facebook.com, is that correct?

    To do this, you can use the framework of the call to invoke the application of the basic browser:
    https://developer.BlackBerry.com/HTML5/documentation/beta/browser.html

    You can find the generic format of an invocation here:
    https://developer.BlackBerry.com/HTML5/documentation/beta/sending_invocation.html

    When you can plugin target, MIME type, action, and indicated such URI in the first document link above.

    To make it all together, check the example of code under the invoke API:
    https://developer.BlackBerry.com/HTML5/APIs/beta/BlackBerry.Invoke.html#jbo1385148798527

    If you are looking for something more complex, like authentication with Facebook, Github samples would be the best starting point:
    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/WebWorks-2.0/OAuth-Facebook

  • Need for external to Facebook, Twitter and linked in jar file

    Hi all

    Can someone tell me where I can get the external jar file or SDK for Facebook, Twitter and LinkedIn?

    I use OS 5.0. If any got related package that please send it through '[email protected] '.

    Thank you

    Neeraj Chauhan

    the facebook sdk is available at http://us.blackberry.com/developers/started/facebook.jsp

    for twitter, you can use twitterme with xAuth.
    oAuth also seems possible, see http://supportforums.blackberry.com/t5/Java-Development/twitter-integration/m-p/1345335#M176988 etc.

    don't know any api of the linked in.

    You can also use the search feature to find answers to questions like that.

  • Browser BlackBerry facebook SDK login error

    I recently spent to use the SDK Blackberry facebook pot to using the source code of projects (excerpt from the tag that the pot was built in)

    .

    Since this switch, I've known browserfield problems:

    On a device, the load chart persists until I have regularized.

    On a simulator, I see:

    "Error calling content for.

    https://www.Facebook.com/dialog/OAuth?scope=user_about_me, user_activities, user_birthday, user_educati...

    Null error message. »

    where APPLICATION_ID is my correct application ID.

    The URL above will open fine in my PC and even on the browser Blackberry browser when stuck and I debugged for some time by the source of the facebook sdk and found that the earphone returngs browserfield "error: [URL]" when he tries to load the content.

    Has anyone seen similar behavior with the source SDK Blackberry code before?

    Unfortunately time did not allow me to analyse the sample with our tools or to implement the Blackberry eclipse for the trial or the other plugin.

    I went back to using the pot and put in place 2 draw up profiles for 5.0 + (including pot) and pre5.0 (does not include jar).

    Thank you

  • SE * external authentication failure * while integrating with facebook

    Hello

    I try to incorporate my Facebook app, but I get error external authentication failure .

    Can anyone tell why I get this error.

    Here are the logs:

    013-05-21 15:21:10,819 [http-bio-8090-exec-2] ERROR com.fatwire.cos.sso.external.dispatcher.ExternalInfrastructureImpl - Cannot return content by URL https://graph.facebook.com/oauth/access_token?client_id=171456803019530&client_secret=5bec0d20e7a7856d1467fca8ba085c2a&code=AQAeDVMGCehAajbja22j7tbn1BS8opjNSlQu1Am8g999Job-u3KJr_7uqkNptycmc9q5mIG2zWw9S-P4NMeBGBLivDVTCo6aC8_mSwsE7HyJkzqyBUf872HblCiNXMbEqgc8GbDf6IrEzEa8DNPaNQPiQdQmJVdosJKlt0mdEf3_iR47iC9wKmFpyvSAp1IgdW_6xDW5A-yMAal61lCzrV1eeAQNR_SiTd08T6UaJKws24c1VyICyMMwyA3kg8zz-bLc126Tr6aSaFu90HXesn62cNpEP6wOrFHhJwlIJPElw-6SRY31xX9f9AHadKh5s1c&redirect_uri=http%3A%2F%2F10.180.57.81%3A8090%2Fcos%2Fexternal-auth%2Ffacebook-share%2F
    java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect (Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    at sun.net.www.http.HttpClient.openServer (HttpClient.java:394)
    at sun.net.www.http.HttpClient.openServer (HttpClient.java:529)
    to sun.net.www.protocol.https.HttpsClient. < init > (HttpsClient.java:272)
    at sun.net.www.protocol.https.HttpsClient.New (HttpsClient.java:329)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient (AbstractDelegateHttpsURLConnection.java:172)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect (HttpURLConnection.java:911)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect (AbstractDelegateHttpsURLConnection.java:158)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:1172)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream (HttpsURLConnectionImpl.java:234)
    at com.fatwire.cos.sso.external.dispatcher.ExternalInfrastructureImpl.getURLContent(ExternalInfrastructureImpl.java:165)
    at com.fatwire.cos.sso.external.dispatcher.facebook.ShareProcessor.getAccessToken(ShareProcessor.java:112)
    at com.fatwire.cos.sso.external.dispatcher.facebook.ShareProcessor.processRequest(ShareProcessor.java:56)
    at com.fatwire.cos.sso.external.dispatcher.ExternalAuthenticatorImpl.authenticate(ExternalAuthenticatorImpl.java:43)
    at com.fatwire.cos.sso.external.dispatcher.ExternalAuthDispatcher.processAuthenticationRequest(ExternalAuthDispatcher.java:70)
    at com.fatwire.cos.sso.external.dispatcher.supportservlet.ExternalAuthDispatcherServlet.doGet(ExternalAuthDispatcherServlet.java:38)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
    at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
    at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.comments.service.filters.RestFilter.doFilter(RestFilter.java:141)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.core.i18n.ResourceFilter.doFilter(ResourceFilter.java:45)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.core.sso.SSOContextFilter.doFilter(SSOContextFilter.java:64)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:509)
    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.core.sso.GeneralPreparationsFilter.doFilter(GeneralPreparationsFilter.java:68)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.core.util.web.StartupGuardFilter.doFilter(StartupGuardFilter.java:42)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
    at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:585)
    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:310)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    2013-05-21 15:21:10, 831 [http-bio-8090-exec-2] ERROR com.fatwire.cos.sso.external.dispatcher.ExternalAuthDispatcher - external authentication failure
    java.lang.RuntimeException: java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect
    at com.fatwire.cos.sso.external.dispatcher.facebook.ShareProcessor.processRequest(ShareProcessor.java:92)
    at com.fatwire.cos.sso.external.dispatcher.ExternalAuthenticatorImpl.authenticate(ExternalAuthenticatorImpl.java:43)
    at com.fatwire.cos.sso.external.dispatcher.ExternalAuthDispatcher.processAuthenticationRequest(ExternalAuthDispatcher.java:70)
    at com.fatwire.cos.sso.external.dispatcher.supportservlet.ExternalAuthDispatcherServlet.doGet(ExternalAuthDispatcherServlet.java:38)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
    at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
    at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.comments.service.filters.RestFilter.doFilter(RestFilter.java:141)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.core.i18n.ResourceFilter.doFilter(ResourceFilter.java:45)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.core.sso.SSOContextFilter.doFilter(SSOContextFilter.java:64)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:509)
    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.core.sso.GeneralPreparationsFilter.doFilter(GeneralPreparationsFilter.java:68)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.fatwire.cos.core.util.web.StartupGuardFilter.doFilter(StartupGuardFilter.java:42)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
    at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:585)
    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:310)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect
    at com.fatwire.cos.sso.external.dispatcher.ExternalInfrastructureImpl.getURLContent(ExternalInfrastructureImpl.java:177)
    at com.fatwire.cos.sso.external.dispatcher.facebook.ShareProcessor.getAccessToken(ShareProcessor.java:112)
    at com.fatwire.cos.sso.external.dispatcher.facebook.ShareProcessor.processRequest(ShareProcessor.java:56)
    ... more than 82
    Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect (Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    at sun.net.www.http.HttpClient.openServer (HttpClient.java:394)
    at sun.net.www.http.HttpClient.openServer (HttpClient.java:529)
    to sun.net.www.protocol.https.HttpsClient. < init > (HttpsClient.java:272)
    at sun.net.www.protocol.https.HttpsClient.New (HttpsClient.java:329)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient (AbstractDelegateHttpsURLConnection.java:172)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect (HttpURLConnection.java:911)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect (AbstractDelegateHttpsURLConnection.java:158)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:1172)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream (HttpsURLConnectionImpl.java:234)
    at com.fatwire.cos.sso.external.dispatcher.ExternalInfrastructureImpl.getURLContent(ExternalInfrastructureImpl.java:165)


    Any help will be much appreciated.

    Thank you
    Nelash Jindal

    Need to change the setting in the setup_proxy.properties file in the folder of production of the proxy classes.

  • Facebook Graph API HTTP connector

    Hi, has anyone tried using the HTTP connector to read the data of the Facebook graph API? I have provided credentials in the 'OAuth Consumer key' and the 'Secret OAuth Consumer"but I get the following error message {'error': {'message':" wait 1 '.' in the hallway between the postcard and the load useful ',' type': 'OAuthException', 'code': 1 "}}

    10022162,

    Facebook authorization uses OAuth 2.0 to access their APIs. This can be accomplished via Integrator but requires little java code to manage the transaction. We hope to have native support for this in a future release.

    Ryan S - EID PM

  • What is Client and Web OAuth parameters?

    After that I made a few changes to my browser settings, I get this error message. I need to know how to go back and change these settings to their previous settings, then this application will load on.

    I don't know what are the parameters of Client and Web OAuth or how to check to see if my Client and Web OAuth login is turned on! I'm sure this has to do with something that I changed it earlier about my security/privacy. Because I have not had any problems with this app last night. Thank you!

    It sounds like the problem is limited to a single site. The Director could do and error or Facebook could have revoked their access to your FB profile for a reason any.

  • How can I publish to facebook graph api with cfhttp?

    How can I publish to Facebook Graph API with Coldfusion?

    The following works fine until my cfhttp post.

    I want to post with cfhttp to wall/timeline of a user.

    <!--- This is the page that you call and also use as the redirect_uri... facebook returns code and state in the URL --->
    <cfparam name="URL.code" default="" type="string">
    <cfparam name="URL.state" default="" type="string">
    <cfif #URL.code# EQ "">
        <cfparam name="URL.error_reason" default="" type="string">
        <cfparam name="URL.error" default="" type="string">
        <cfparam name="URL.error_description" default="" type="string">
        <cfmail charset="utf-8" type="html" server="mail.mysite.com" from="[email protected]" to="[email protected]" subject="Facebook Authentication Denial">
        #SESSION.my_profile_id#: #SESSION.my_profile_username#
        #URL.error_reason#<br/>
        #URL.error#<br/>
        #URL.error_description#<br/>
        </cfmail>
        <cfabort>
    <cfelse>
        <cfhttp 
        method="get"
        url="https://graph.facebook.com/oauth/access_token?client_id=myappid&redirect_uri=http://www.mysite.com/dbf/_my-controller/fb_user_code.cfm&client_secret=216792f1a1ddbb568c57624a988028dc&code=#Trim(URL.code)#"
        result="my_fb_user_token"/>
        <cfif #my_fb_user_token.filecontent# CONTAINS "access_token=">
            <cfset new_token = ReplaceNoCase(#my_fb_user_token.filecontent#,"&expires","|","all")>
            <cfset new_token = REReplaceNoCase(#new_token#,"\|.*$","")>
            <cfquery name="fb_confusion" datasource="#dsn#" maxrows="1">
            SELECT facebook_id
            FROM my_profile
            WHERE my_profile_id = '#SESSION.my_profile_id#'
            </cfquery>
            <cfoutput>#new_token#</cfoutput>
            <hr/>
            <cfhttp 
            method="get"
            url="https://graph.facebook.com/me?#new_token#"
            result="my_fb_user"/>
            <cfoutput>https://graph.facebook.com/#fb_confusion.facebook_id#/feed?#new_token#</cfoutput>
            <hr/>
            <cfoutput>
            <cfhttp url="https://graph.facebook.com/me/mysite:add?group=http://www.mysite.com/dbf/test_group.cfm&#new_token#"
            result="fb_publish" 
            method="post" 
            multipart="yes">
                <cfhttpparam name="appID" value="myappid" encoded="no" type="url">
                <cfhttpparam name="access_token" value="#my_fb_user_token.filecontent#" encoded="no" type="url">
                <cfhttpparam name="message" value="Test" encoded="no" type="url">
                <cfhttpparam name="link" value="http://www.mysite.com" encoded="no" type="url">
                <cfhttpparam name="name" value="Test" encoded="no" type="url">
                <cfhttpparam name="caption" value="Testing fb api" encoded="no" type="url">
                <cfhttpparam name="description" value="Testing to see if this posts" encoded="no" type="url">
            </cfhttp>
            </cfoutput>
            <cfdump var="#fb_publish.filecontent#">
        </cfif>
    </cfif>
    
    

    The message returned by the discharge of fb_publish is:

    {"error": {"message": 'Invalid OAuth access token.', 'type': 'OAuthException', 'code': 190}}

    OK thanks Ray C to help with this.  Things couple... first of all, called by the http post URL must synchronize with that facebook requires.

    https://graph.Facebook.com/me/ [YOUR_APP_NAMESPACE]: Cook? recipe = OBJECT_URL & access_token = ACC ESS_TOKEN

    Then, all the type = "url" in the cfhttp form settings had to be changed to formfield.

    Now it's working.

    Thank you!

  • Cannot succeed by allowing Lighroom 3 to post to Facebook...

    When I go to the Lightroom Publishing Manager and select Facebook, I pass by movements click authorize Facebook, doing allowing them, and then when he comes back, he says that it is not authorized.

    Down at the bottom of the Manager he said "cannot save the changes: unauthorized."   I think that it cannot save the settings I would change the case, so I think it's the actual authorization, which is the problem.

    I tried to turn my firewall while I try to leave, and it does not help...

    Can anyone give suggestions to help?

    Thank you!

    Sheri

    PS. I apologize for the first part of the message bold.  I don't know why it does this, but I can not unbold it!

    It should be an OAUTH request, where you click on a web page to a specific application (identified by a key or a hash) of certain privileges.

    A trick is to disconnect from Facebook completely and force him to ask you to log in when asked by Lightroom. Another trick is to put your default browser to something else to force this complete connection. I would stay away from Internet Explorer, however.

Maybe you are looking for