ADF integration with Facebook Login
Hi,
just wanted to share a working example of Facebook Login integration in an ADF application, that only uses default ADF Faces tags. Here is how the JSF can look like:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document title="untitled1.jsf" id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
<f:facet name="center">
<af:panelBox text="PanelBox2" id="pb2">
<f:facet name="toolbar"/>
<af:panelGroupLayout id="pgl1" layout="vertical">
<af:outputText value="Facebook Login" id="ot2"/>
<af:outputText value="<fb:login-button show-faces="true" width="200" max-rows="1"></fb:login-button>" id="ot1"
escape="false"/>
</af:panelGroupLayout>
</af:panelBox>
</f:facet>
<f:facet name="header">
<af:outputText value="<div id="fb-root"></div>" id="ot3" escape="false"/>
</f:facet>
<f:facet name="end">
<af:panelBox text="PanelBox3" id="pb3">
<f:facet name="toolbar"/>
</af:panelBox>
</f:facet>
<f:facet name="start">
<af:panelBox text="PanelBox1" id="pb1">
<f:facet name="toolbar"/>
</af:panelBox>
</f:facet>
<f:facet name="branding"/>
<f:facet name="copyright"/>
<f:facet name="status"/>
</af:pageTemplate>
</af:form>
<f:facet name="metaContainer">
<af:resource type="javascript">
window.fbAsyncInit = function() {
FB.init({
appId : '115771338443915', // App ID
channelUrl : 'http://localhost:8081/Application7-ViewController-context-root/channel.html', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
FB.Event.subscribe('auth.authResponseChange', function(response) {
// Here we specify what we do with the response anytime this event occurs.
if (response.status === 'connected') {
// The response object is returned with a status field that lets the app know the current
// login status of the person. In this case, we're handling the situation where they
// have logged in to the app.
testAPI();
} else if (response.status === 'not_authorized') {
// In this case, the person is logged into Facebook, but not into the app, so we call
// FB.login() to prompt them to do so.
// In real-life usage, you wouldn't want to immediately prompt someone to login
// like this, for two reasons:
// (1) JavaScript created popup windows are blocked by most browsers unless they
// result from direct interaction from people using the app (such as a mouse click)
// (2) it is a bad experience to be continually prompted to login upon page load.
FB.login();
} else {
// In this case, the person is not logged into Facebook, so we call the login()
// function to prompt them to do so. Note that at this stage there is no indication
// of whether they are logged into the app. If they aren't then they'll see the Login
// dialog right after they log in to Facebook.
// The same caveats as above apply to the FB.login() call here.
FB.login();
// Load the SDK asynchronously
(function(d){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
ref.parentNode.insertBefore(js, ref);
}(document));
// Here we run a very simple test of the Graph API after login is successful.
// This testAPI() function is only called in those cases.
function testAPI() {
console.log('Welcome! Fetching your information.... ');
FB.api('/me', function(response) {
console.log('Good to see you, ' + response.name + '.');
console.log('Response: ' + response);
</af:resource>
</f:facet>
</af:document>
</f:view>
Note that you must have created a Facebook App on Facebook.com which provides the AppId number and set the App in "Sandbox" mode.
The jsf works in JDeveloper 11.1.2.4 and Glassfish 3.1.2 and ADF Essentials 11.1.2.4
When using a web service proxy, you need to pass the data as an object, which' structure is defined in the web service proxy wrapper classes.
When you've defined a data control for your bpel process, you can just drag and drop the 'initiate'/'execute', your operation and bind this to the update-button.
When working with the proxy client, you need to populate your java class objects with the employee-object, this can be done in a backing bean or managed bean in your adf faces application.
For more information you can always have a look at my blog where I've provided an explanation about the different possibilities of interfacing adf with SOA.
Kind regards,
Nathalie
Similar Messages
-
OAM11g R2 Internet Identity Services Integration with Facebook fails
Hi,
I have configured OAM11g R2 to use Facebook as an Internet Identity Provider by following the steps mentioned in the link : http://docs.oracle.com/cd/E27559_01/admin.1112/e27239/oicconfiginetidentitysrvcs.htm#BEIDCHAJ
Below are the quick steps I followed.
Configuration :
1. Created an App in FB to generate a Consumer Key and Consumer Secret @ https://developers.facebook.com/apps
2. In Basic info of the App specified the "App Domains" as company.com
3. In the App Set the "Website with Facebook Login" to http://OAM-HOST:ManagedServerPort
4. Copied "App ID" and "App Secret"
5. On OAM Side, Updated the Internet Identity Provider profile for FB by specifying "Consumer Key" and "Consumer Secret" with "App ID" and "App Secret" retrieved in #4
6.a) Created an Application Profile with the same name as the registered 10g webgate partner.
b) Used OAMServiceProviderInterface as "Service Provider Interface"
c) Selected Facebook as "Application User Attribute Vs Internet Identity Provider User Attributes Mapping"
d) In Application Profile Properties add property "colocated.oam" with value "true"
7. Protected an app using webgate with OOTB OICScheme.
8. Enable "Mobile and Social Service" form System Configuration-> Available Service
9. Configure WebLogic Server for Facebook Identity Provider Compatibility
a) Open the WebLogic Console.
http://host:port/console
b) Choose Domain > Environment > Servers > Managed Server.
c) Click the SSL tab, then click Advanced.
d) Click Lock and Edit configuration.
e) Change the Host Name Verifier to None.
f) Restart the Managed Server.
Issue :
1. Access the resource which is protected by OICScheme
2. Click on Facebook
3. Provide facebook creds
An Error page is thrown on the browser with below exception on managed server
<Sep 17, 2012 2:35:19 PM IST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Sep 17, 2012 2:35:19 PM IST> <Error> <Net> <BEA-000903> <Failed to communicate with proxy: proxy.proxy.com/80. Will try connection graph.facebook.com/443 now.
java.net.UnknownHostException: proxy.proxy.com
at java.net.InetAddress.getAllByName0(InetAddress.java:1157)
at java.net.InetAddress.getAllByName(InetAddress.java:1083)
at java.net.InetAddress.getAllByName(InetAddress.java:1019)
at java.net.InetAddress.getByName(InetAddress.java:969)
at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:37)
Truncated. see log file for complete stacktrace
<Sep 17, 2012 2:35:19 PM IST> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
java.net.SocketTimeoutException: connect timed out
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 weblogic.net.http.HttpsClient.openWrappedSSLSocket(HttpsClient.java:555)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:286)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:363)
at weblogic.net.http.HttpsClient.New(HttpsClient.java:518)
at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:239)
at oracle.security.idaas.rp.http.HttpUtils.send(HttpUtils.java:144)
<Sep 17, 2012 2:35:22 PM IST> <Error> <oracle.idaas.rp> <BEA-000000> <There is an error while getting access token for the user from the identity provider
oracle.security.idaas.rp.RPException: Request failed:
at oracle.security.idaas.rp.http.HttpUtils.send(HttpUtils.java:204)
at oracle.security.idaas.rp.oauth.provider.FacebookImpl.execHttpRequest(FacebookImpl.java:384)
at oracle.security.idaas.rp.oauth.provider.FacebookImpl.getAccessToken(FacebookImpl.java:227)
at oracle.security.idaas.rp.IDPResponseHandler.getAccessToken(IDPResponseHandler.java:488)
at oracle.security.idaas.rp.IDPResponseHandler.processIDPResponse(IDPResponseHandler.java:131)
at oracle.security.idaas.rp.RPReturnServlet.processRequest(RPReturnServlet.java:97)
at oracle.security.idaas.rp.RPReturnServlet.doGet(RPReturnServlet.java:129)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
<Sep 17, 2012 2:35:22 PM IST> <Error> <oracle.idaas.rp> <BEA-000000> <Exception in processRequest method
oracle.security.idaas.rp.RPException: oracle.security.idaas.rp.RPException: Request failed:
at oracle.security.idaas.rp.oauth.provider.FacebookImpl.getAccessToken(FacebookImpl.java:247)
at oracle.security.idaas.rp.IDPResponseHandler.getAccessToken(IDPResponseHandler.java:488)
at oracle.security.idaas.rp.IDPResponseHandler.processIDPResponse(IDPResponseHandler.java:131)
at oracle.security.idaas.rp.RPReturnServlet.processRequest(RPReturnServlet.java:97)
at oracle.security.idaas.rp.RPReturnServlet.doGet(RPReturnServlet.java:129)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at 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)
Any Help/Pointers to resolve this issues will be Highly Appreciated
~SagarHi Sagar,
To resolve this issue, do the following:
1. Click on System Configuration Tab at the top.
2. Click Mobile & Social on the Left Hand Side.
3. Click Mobile & Social Settings.
4. On the right hand side, you will see proxy server settings. You can remove the www-proxy.us.oracle.com from the proxy hostname and 80 from the port field.
Let me know if you still see issues.
Regards
Parag -
Hello,
I am new to BPEL. I am working on a sample .
I am working on ADF Integration with BPEL process.
I have an ADF Screen displaying data from an EMPLOYEE table in HR Schema . It has a button called "Update". I need to call a synchronous BPEL process on click of "Update" . This BPEL process will take the selected employee information as an XML input and update the last name to the first name as the response.
I have some doubts in that :
1. How to pass an XML Schema as input parameter to a BPEL process ? Can you please let me know some sample applications ?
2. I am creating a web proxy for the BPEL WSDL (created above) and my "Update" button is binded to a method which is calling the BPEL process.
How can i pass my XML input as the argument of the method to invoke the BPEL process ?
Thanks
NutanWhen using a web service proxy, you need to pass the data as an object, which' structure is defined in the web service proxy wrapper classes.
When you've defined a data control for your bpel process, you can just drag and drop the 'initiate'/'execute', your operation and bind this to the update-button.
When working with the proxy client, you need to populate your java class objects with the employee-object, this can be done in a backing bean or managed bean in your adf faces application.
For more information you can always have a look at my blog where I've provided an explanation about the different possibilities of interfacing adf with SOA.
Kind regards,
Nathalie -
Unable to add Flickr account with facebook login
Hi,
rMBP upgraded yesterday to Mountain Lion...trying to add Flickr connection, using Facebook dropdown and I get a blank screen...is this working for anyone?
thanks!Still no resolution on this but I stopped by an Apple Store and confirmed that the same happens on all their Retina MBP's with Mountain Lion installed but does work correctly on the regular MBP's.
I filed feedback with Apple and even called tech support but the call wasn't exactly fruitful. I assume we will have to wait until 10.8.1 for this to be fixed (hopefully not longer).
In the meantime I figured out how to disconnect my Facebook account from Flickr (although I'm not positive that I really had to) and log in with my Yahoo ID instead. I successfully setup Flickr in Mountain Lion using just my Yahoo ID.
The trickiest part for me was figuring out what my Yahoo ID and password were. Turns out it was just my Facebook login email and password. -
ADF integration with Ebiz (R12.2.3)
Hi,
I have to develop a custom ADF application with around 10 pages and integrate it with EBiz 12.2.3.
Since the Oracle apps is on Weblogic, can I make use of the same weblogic server to deploy my custom application? Or do I need a separate Weblogic server to deploy this application?
Please advise.
Thanks,Hi All,
Please confirm can we use Oracle 12.2.3 weblogic server for custom ADF deployment.
As mentioned above Oracle said we need different weblogic Server for same.
Request you to share :
Oracle link or SR or metalink note where it mentioned.
Regards,
Sameer -
Integration with FaceBook....Help me
plz tell me how can i integrate with facebook......
very difficult for me...thanks for answering but it doesn't help me
i don't think it's privacy settings..
i tryed to disable and again the setting in ios et mac os but never mind better
someone else know ?
thanks -
Got premium with Facebook login - how do i set a username/password for regular login
Hello all,i got the student premium whilest logged in with facebook, but i would like to set a usename/password to log in 'normally'. how can i do that?thank you!
Hey there , welcome to the community!
I apologize for the late reply. The workaround for this would be to create a new account. If you contact the accounts team through the online contact form they can set you up with a new account and transfer over all your content. If you receive an automated reply directing you back to the community, just reply to it and you will be connect with an agent that can assist you. -
Integration with Facebook, Google, Twitter, Yahoo, MS Live, etc?
Which product, if any, supports integration (one way or the other) with the mechanisms used by the vendors mentioned in my subject?
Do they all use SAML?
Does Oracle support OpenID, OAuth, etc?
I can not find any details on otn or metalink or even google.
Any feedback greatly appreciated! :-)Oracle Identity Federation supports SAML, WS-FED, Liberty, and Information Card/Cardspace.
However, none of the sites you mentioned, AFAIK, support these standards.
No Oracle IdM products support user-centric IdM protocols like OpenID, Oauth, Facebook Connect, etc.
You should contact Oracle product management and let them know you are looking for this support. I've been asking for it for a few years, but until they get enough customer demand, they aren't going to put it into the product as a supported feature.
The Sun OpenSSO may support these. -
Issue in integrating with facebook
Hi,
I am trying to integrate my app with faceboo I am also able to post my reviews on facebook but when I click on the link posted on facebook, It redirects me to my correct page but doesn't load my review n give service unavailable error. it is giving me a Rest Query failed error in logs.
Can any body tell me why its happening.
Here are the logs:-
2013-06-24 12:27:01,214 [http-bio-8580-exec-6] ERROR com.fatwire.wsdk.rest.WidgetSDKResource - Failed to execute method feed in widget wsdk.reviews
com.fatwire.cos.ex.CoSServerException: com.fatwire.cos.ex.CoSServerException: REST query failed
at com.fatwire.cos.core.jpa.query.CoSJpaQuery.getSingleResult(CoSJpaQuery.java:161)
at com.fatwire.cos.records.RecordManager.countRecords(RecordManager.java:462)
at com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.calculatePageNo(RecordListReadProcessor.java:229)
at com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.getPageNo(RecordListReadProcessor.java:186)
at com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.process(RecordListReadProcessor.java:62)
at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
at com.fatwire.wsdk.pipeline.impl.PipelineImpl.execute(PipelineImpl.java:60)
at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
at com.fatwire.wsdk.rest.WidgetSDKResource.executeWidgetMethod(WidgetSDKResource.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
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)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.fatwire.cos.ex.CoSServerException: REST query failed
at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execREST(WemCommandManager.java:356)
at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execGET(WemCommandManager.java:192)
at com.fatwire.cos.core.jpa.cmd.wem.WemCountQueryCommand.findResult(WemCountQueryCommand.java:79)
at com.fatwire.cos.core.jpa.cmd.wem.WemCountQueryCommand.executeSingle(WemCountQueryCommand.java:68)
at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
at com.fatwire.cos.core.jpa.query.CoSJpaQuery.getSingleResult(CoSJpaQuery.java:156)
... 105 more
Caused by: com.sun.jersey.api.client.UniformInterfaceException: GET http://localhost:8380/cs/REST/sites/testSite/types/cos_review_record/search?field:cos_date_created:range=20130619125740394:20130619125750238&field:cos_root_id:contains=1351275795559&field:cos_state_value:contains=approved.all&countonly=true&multiticket=ST-66-u3knV6nPVD0GmalXsLWg-_tmp_1351276623068 returned a response status of 500 Internal Server Error
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:676)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503)
at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.doREST(WemCommandManager.java:365)
at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execREST(WemCommandManager.java:274)
... 110 moreHi Sandeep,
in that case it's as I thought:
Or did you just not specify any measure hierarchy?You tried this...
In BMM layer i made this dimension as fact and tried to create reports but not use....which isn't the way. First of all your cube seems to be built quite bizarre since it doesn't even provide a default measure hierarchy so I'd have your Essbase guys check that.
As for the OBIEE side: the key is the physical layer. BMM's already too late. In the physical cube object, you must define one of the hierarchies as the measure hierarchy (since your cube doesn't seem to provide it; see above):
[http://hekatonkheires.blogspot.com/2010/02/obieeessbase-how-to-handle-missing.html]
Cheers,
C. -
IPad 2 Mail Integration with Facebook
I have iPad 2 with iOS 6 and the latest Facebook application updated.
On iPhone 5, I can tap a picture attachment in the Mail and it will let me post to my Facebook.
On iPad 2, cannot do that - tapping the picture gives me nothing.
Anyone has the same experience?The Yahoo Mail Server may be down.
-
Contacts - Integration with facebook
Why can't I put my contacts names according to what I chose because it all the time back to their Facebook names ,though i press "use this name for unified card". it changes by it self to facebook names after few days.
Yes, you can keep your facebook contacts out of your contacts app.
Open system preferences>mail, contacts, and calendars>(your facebook account)>contacts
There should be a check box for contacts, if you uncheck it, your facebook contacts/friends should not end up in your contacts app.
I'm not 100% sure, sorry, I don't have facebook integration activated on my Mac. -
Trouble with Facebook login on Playbook
Hello everyone,
I was wondering if anyone could help me with my problem. I am having trouble logging into the Facebook app on my Playbook. I enter the correct username and password but it tells me I have not and does not grant access. I have a Playbook with OS 1.0.8.6067 and the latest version of the Facebook app installed.
I have tried to disconnect the Bridge with my Blackberry phone, as well as disable Bluetooth as other threads have suggested but have still been unable to gain access.
Any suggestions would be welcome. Thank you for your time.make sure the application permissions are all set to allow...in the options menu under security.
try deleting the app then restart then install
and if those fail perform a hard reset by holding the power and volume up and down buttons down for 20 secs. -
Set up of ADFS - integrating with Domino
Hi
I'm trying to enable ADFS to support Single Sign on to iNotes using SAML
I've installed ADFS 2.0, I've created a self signed SSL Certificate and I've defined the Relying Party.
After creating the Relying party you're supposed to be able to browse to:
https://<fqdn of ADFS Server>/FederationMetadata/2007-06/federationmetadata.xml
I get nothing, just an error that says internet explorer cannot display the webpage
or a page not found if I use Chrome
I did notice in IIS that the default web site was not started, so I tried to start it, but the bindings conflicted with another site (which can only be ADFS) If I change the port bindings in the default site, I can start the site.
I can then get to the default site, but this is not ADFS
Once I've got the metadata.xml file I can import this into Domino on the SP side of the equation.
Must have missed something but cannot figure out what it could beHello Mike,
We have a dedicated forum for ADFS queries and the forum link is:- http://social.msdn.microsoft.com/Forums/en/Geneva/
Regards, Ravikumar P -
ADF Integration with Webcenter Spaces
We are developing an ADF application. We have to Integrate it in WebCenter Spaces.
In the ADF application we will be using taskflows to implement our functionality.
We Can Integrate it in Spaces in 3 ways.
1. Add it as an Omni Portlet
2. Add it as a WSRP provider
3. Add taskflows as Shared Library.
We dont have to concentrate more on Personalization. We do have to implement Security for the taskflows(jazn-data.xml).
Could you please let us know which of the following would be a best approach for our us, and also the scenarios where each of them can be used.You should forget about option 1 and 2.
WebCenter Spaces is build as an ADF application so the natural thing to do is integrate it as a library.
You should only use omniPortlet to integrate external content and even then you should go for the pagelet producer which is the newer component.
Using WSRP portlets for ADF in your own application is something you should avoid due to performance and stability.
You should only use WSRP for regular JSP based portlets. But not for using it with the ADF Portlet Bridge.
Edited by: Yannick Ongena on Apr 12, 2013 5:04 PM -
ADF page with optional login using mod_osso authentication
Using JDeveloper 10.1.3.2.0
I am converting a pure jsp page into an ADF page. This page is not restricted but allows a user additional funtionality if they log into Portal. The original jsp used mod_osso authentication to allow a user to log in. Once the user's name was known from the login then the screen could save information specific to a user and if the user had to return later all they had to do was login in once again to get their personal information back. However it was not a requirement for any user to use this functionality.
In converting to ADF however I can't figure out how to code the mod_osso call successfully. I created a command button and behind the button but the following code:
public String commandButton_action() throws IOException {
// Add event code here...
String userName = getUserSSO();
userLoginName.setValue(userName);
return null;
private String getUserSSO() throws IOException {
String message = "";
FacesContext fc = FacesContext.getCurrentInstance();
((HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse()).setContentType("text/html");
String userSignon = (String)((HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest()).getAttribute("USER_NAME");
if(userSignon == null || userSignon.length() <= 0)
userSignon = ((HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest()).getRemoteUser();
if(userSignon == null || userSignon.length() <= 0)
((HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse()).setHeader("Osso-Paranoid", "false");
((HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse()).sendError(499, "Oracle SSO");
} else
message = "found user name " + userSignon;
return message;
Could please comment on whether I am even on the right track or point me to some documentation on mod_osso authentication and ADF such that the authentication is optional? Currenlty I get "No Response from Web Application Server" when I attempt the above.
Thanks,
CathyI added a call to FacesContext.getCurrentInstance().responseComplete(); right before the setHeader and sendError but that did not resolve my issue. Any advice on how to further trace down the issue?
Thanks,
Cathy
Maybe you are looking for
-
Store the result of the column in variable in answer
Hi All, Is there a way to store the value of the result of the column of the report and use that value in calculation in another report. I need to get the grandtotal value which changed according to the prompt and want to use that grand total value t
-
ApEx newbie here, I'm trying to get the output of a multi select list into an in list of a sql query for a report. The error message I'm getting is report error: ORA-01722: invalid number. (The inlist is a list of id numbers, and the data type for th
-
Back up caused my phone to stop working...help!
After trying to backup my iPhone 3G to Outlook as well as upgrading iTunes 8.2, I get an image on my phone with a plug, an arrow pointing to the iTunes logo. There is no phone service. Any suggestions?
-
Are there any costs for an adobe reader software distribution license ?
Are there any costs for an adobe reader software distribution license ?
-
HT5661 How to transfer iPad with downloaded apps to another person?
Hi, Could you please advise how do I transfer my iPad2 with many downloaded apps to my son, i.e. re-register the iPad2 with my son's own Apple Id so that he could sync his iPhone stuff with iPad2? I don't need the iPad2 anymore but would like him to