tag:blogger.com,1999:blog-5874979429188093780.post2803986812328094167..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: Managing ADF Security Permissions Using Oracle Enterprise Manager 11gAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-5874979429188093780.post-35662169123995316712013-08-05T16:34:36.006+02:002013-08-05T16:34:36.006+02:00how to map application roles through jdeveloper(ac...how to map application roles through jdeveloper(actually we do in em console instead is it possible to map through jdeveloper)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-67268570530365536202010-11-11T23:33:07.874+01:002010-11-11T23:33:07.874+01:00Hi Andrejus,
i know it's off topic but i have...Hi Andrejus,<br /><br />i know it's off topic but i have some questions about adf security. I need to setup security on my application using sso..sso api is provided by 3rd party (i must use their login and logout servlets)..is there any way i can set security in my adf application to use their servlets (i'm using jdev 11g)Unknownhttps://www.blogger.com/profile/08423138607354175308noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-32650650332496299572010-09-02T15:18:05.667+02:002010-09-02T15:18:05.667+02:00:):)Andrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-89780956504560027762010-09-02T08:59:57.765+02:002010-09-02T08:59:57.765+02:00Well alrighty then, Ill have sleeping arrangments ...Well alrighty then, Ill have sleeping arrangments set up. One thing we do have in Bosnia that is on a heavenly level is the food so when shopping here buy everything one size bigger than usualDino Kantardzicnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-92189653087556435772010-09-01T09:37:36.122+02:002010-09-01T09:37:36.122+02:00I'm from Lithuania, same weather here now. So,...I'm from Lithuania, same weather here now. So, its not bad option to go to your place :)Andrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-49576486121987984122010-09-01T08:01:44.914+02:002010-09-01T08:01:44.914+02:00Well I live in Bosnia and Herzegovina, the weather...Well I live in Bosnia and Herzegovina, the weather outside is 9 degrees and its raining. So I would think its in both our best interests for you to not come here :)Dino Kantardzicnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-70749189671438203892010-08-31T17:27:57.791+02:002010-08-31T17:27:57.791+02:00I dont know, you need to bring Red Samurai (me) on...I dont know, you need to bring Red Samurai (me) onsite to solve this :)<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-66225267374901593792010-08-31T11:14:52.212+02:002010-08-31T11:14:52.212+02:00Andrejus do you have any other ideas or suggestion...Andrejus do you have any other ideas or suggestions?Dino Kantardzicnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-33217966233593638182010-08-30T14:49:56.491+02:002010-08-30T14:49:56.491+02:00Andrejus I compared both the view and the model pr...Andrejus I compared both the view and the model projects and their libraries and both yours and mine have the same libraries, except mine has a few more of them. Still mine has the errors and your project doesn't. I don't know what the problem is. But if I make a new application and copy the import code from one of my old java beans into the new application, and a new java bean I still get the error. Even though it doesn't use any of the imports it still gives me not found errors. Yet your thing compiles without any errors even when I copy some imports from my bean.Dino Kantardzicnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-56068118638928437922010-08-30T14:17:30.304+02:002010-08-30T14:17:30.304+02:00It depends where your Java class is. But it must b...It depends where your Java class is. But it must be in ViewController.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-26330629844614345212010-08-30T14:10:43.459+02:002010-08-30T14:10:43.459+02:00Also when I am looking at libraries I am looking a...Also when I am looking at libraries I am looking at the Libraries and Classpath node in the project properties (be they model or view controller)???Dino Kantardzicnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-66848713999486776262010-08-30T14:01:53.936+02:002010-08-30T14:01:53.936+02:00Andrejus thank you again for your reply.
I downl...Andrejus thank you again for your reply. <br /><br />I downloaded and opened your file and can see the libraries you have in the library node. I will just add all that I don't have. Just one question<br /><br />Should I look at the View Controller Libraries or the Model Libraries when adding?Dino Kantardzicnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-43162237303990450552010-08-30T13:37:02.225+02:002010-08-30T13:37:02.225+02:00Hi,
What I can say - there is no magic, you need ...Hi,<br /><br />What I can say - there is no magic, you need to check libraries. Try to run and check my project with Drag&Drop functionality (I see you missing these libraries) - http://andrejusb.blogspot.com/2010/02/dynamic-dashboard-ui-shell.html<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-17892094853748645792010-08-30T11:44:09.641+02:002010-08-30T11:44:09.641+02:00Even when I make a new application, when I create ...Even when I make a new application, when I create a new java class I get the same errors (imoort not found).<br /><br />These imports he recognizes<br /><br />import oracle.binding.BindingContainer;<br />import oracle.binding.OperationBinding;<br />import oracle.jbo.domain.Number;<br /><br /><br />These Jdev does not recognize (there are others these are from one Java Class)<br /><br />import oracle.adf.view.rich.datatransfer.DataFlavor;<br />import oracle.adf.view.rich.datatransfer.Transferable;<br />import oracle.adf.view.rich.dnd.DnDAction;<br />import oracle.adf.view.rich.event.DropEvent;<br /><br />import oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding;<br />import org.apache.myfaces.trinidad.model.CollectionModel;<br />import org.apache.myfaces.trinidad.model.RowKeySet;Dino Kantardzicnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-66718287424782723152010-08-30T11:17:58.832+02:002010-08-30T11:17:58.832+02:00Hey Andreus thanks for the quick reply.
I am not ...Hey Andreus thanks for the quick reply.<br /><br />I am not sure where exactly in the project properties I check that but if you are thinking of the selected project technologies then know that both ADF Faces and ADF Page Flow are in the selected list (the right hand list). <br /><br />If its the Libraries then not sure which ones should be there ADF Runtime 11 is checked and there is a lot more of them all checked just not sure which ones should be there.<br /><br />When I create a new Fusion Web Application (the only components that are automatically selected are ADF Business Components and Java. But I can add others (ADF Faces and Such)Dino Kantardzicnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-81482860537813367922010-08-30T10:53:21.383+02:002010-08-30T10:53:21.383+02:00Hi,
Make sure ADF Faces Rich Client and ADF Task ...Hi,<br /><br />Make sure ADF Faces Rich Client and ADF Task Flow technologies are enabled, check this in project properties.<br /><br />No need to remove system folder for this issue, its just libraries are not referenced correctly in your project. Try to create new application and compare what libraries are included and what no.<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-39052575484985527902010-08-30T10:31:36.279+02:002010-08-30T10:31:36.279+02:00Hej Andreus I know this is a bit off topic but I h...Hej Andreus I know this is a bit off topic but I have a huge problem I could really use your help with.<br />My Jdeveloper workspace has gone insane. I was going through the tutorial in the official Handbook and suddenly half of my libraries stopped working. My java beans started giving me import errors for the most basic libraries. I checked the view controller to see that the adf Runtime 11 was there (as suggested by a user on the forum) and it was there. I tried changing the system folder name, then when that did not work I tried reinstalling it and again same error<br /><br />Error(6,29): package oracle.adf.controller does not exist<br />Error(6,41): package oracle.adf.view.rich.datatransfer does not exist<br />Error(7,41): package oracle.adf.view.rich.datatransfer does not exist<br />Error(8,32): package oracle.adf.view.rich.dnd does not exist<br />Error(9,34): package oracle.adf.view.rich.event does not exist<br /><br />And lots more but I hope you get the picture. If you or anyone has an idea what I could try to do I would be eternally in their debtDino Kantardzicnoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-70400768338610723482010-08-27T21:26:28.089+02:002010-08-27T21:26:28.089+02:00Hi,
You are right - manually.
Oracle is working ...Hi,<br /><br />You are right - manually.<br /><br />Oracle is working on enhancement request, there will be automation in future releases.<br /><br />Regards,<br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-7429848945811606782010-08-27T21:21:29.407+02:002010-08-27T21:21:29.407+02:00Andrejus,
My question was like this.
Our applica...Andrejus,<br /><br />My question was like this.<br /><br />Our application is based on UI Shell pattern. We have one main application (for integration) and multiple applications from which we generate ADF library jars. Now all the ADF policies (page and task flow permissions).<br /><br />How can we transfer the ADF policy information from these individual applications to the main application since ADF library jar doesn't do that? Presently i can only think of doing it manually.<br /><br />thanks<br />sidManiesh Sailoz (sid)https://www.blogger.com/profile/05657754904748644472noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-79813374982450026252010-08-18T20:23:47.234+02:002010-08-18T20:23:47.234+02:00Hi Andrejus,
Thanks for the prompt answer. I thi...Hi Andrejus,<br /> Thanks for the prompt answer. I think I didn't make myself clear (My english is very rusty...).<br />I'll try to explain you the hole scenario. I've got a JSPX wich calls a different taskflow as a pop-up. This pop-up is where the user fills the form. Once completed, the user may cancel or commit the operation, if he cancels the pop-up closes and thats it, but if the user commits, the pop-up closes but the user must get another pop-up, in this case I'm using this code in backing bean: <br /><br />FacesContext fc = FacesContext.getCurrentInstance();<br />fc.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, this.MENSAJE_EXITO,"")); <br /><br />This pop-up is ment to tell the user the result of the transaction. But when the application gets to this, in the <b><i>ReturnListener</i></b>'s life cycle, this causes the message to be display only for a short period (almost a flash of a couple of milliseconds). <br /><br /><br />I mentioned the posts in the previous comment because what happens to me is somehow like this <br /><br /><i>"I am having a similar problem, in that I am resetting the view root to get a page refresh when I come back from a dialog. My faces message is not coming up either which I raise in the return listener.<br /><br />I am thinking from other threads that somehow the faces context changes when you reset viewroot, and the messages are lost...does that sound like a plausible theory?"</i><br /><br />I don't completly get this part: <i>"...other threads that somehow the faces context changes when you reset viewroot..."</i>, is this true? if it is, could you explain me why? How can I achieve my goal of showing the second pop-up, but accessin the faces context that will remain active after all?<br /><br />Thanks again.<br />All the bests<br />José LunaUnknownhttps://www.blogger.com/profile/11997527787883895714noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-68378119473764035842010-08-18T19:13:51.190+02:002010-08-18T19:13:51.190+02:00Hi Jose,
May be this post will help you: http://a...Hi Jose,<br /><br />May be this post will help you: http://andrejusb.blogspot.com/2010/01/auto-commit-use-case-in-oracle-adf-11g.html<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-35023728013318267412010-08-18T16:26:18.400+02:002010-08-18T16:26:18.400+02:00Hi Andrejus,
I have a problem with a Faces message...Hi Andrejus,<br />I have a problem with a Faces message.<br /><br />I use a taskflow as inline popup, that taskflow is a form with some InputText and the user can commit the info in the form or exit the popup.<br /><br />When the users commit the transaction they must be informed with the result of the operation.<br />That's where I use the Faces message, but there's something happening when the taskflows returns.<br /><br />I'm calling the <b>Faces message</b> in the backing bean of the main jspx page <i>(not in de taskflow used as inline popup)</i> in the return method of the button that calls the taskflow.<br />The problem is that when I close the popup there must be something wrong with the <b>adf life clycle</b>, because is not showing anything.<br /><br />I read in this <i><b>OTN Discussion</b></i> http://forums.oracle.com/forums/thread.jspa?threadID=614506 , about the Faces message execution, but it doesn't gives me an explicit or concrete solution to my problem. Do you have any idea about it, whether it's a way around or a configuration that I'm missing to perform? <br />I appreciate any help.<br />Looking foward to reading from you. <br />Thanks in advance.<br />José Luna.Unknownhttps://www.blogger.com/profile/11997527787883895714noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-12739717158638829952010-08-17T21:47:33.066+02:002010-08-17T21:47:33.066+02:00Hi Sid,
Yes you can do this. You can implement sa...Hi Sid,<br /><br />Yes you can do this. You can implement same type functionality as it is provided by OEM. Need to use Oracle Security API.<br /><br />AndrejusAndrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-16678467563153552192010-08-12T17:04:26.938+02:002010-08-12T17:04:26.938+02:00Andrejus
This is a nice post.
We have a similar ...Andrejus<br /><br />This is a nice post.<br /><br />We have a similar requirement but don't use OEM.<br />Is it possible to include roles and permissions in ADF libraries?<br /><br />thanks<br />SidManiesh Sailoz (sid)https://www.blogger.com/profile/05657754904748644472noreply@blogger.com