Dynamic credentials

I am using dynamic credentials in my adf 11g application ,i want after user make login, to store his basic information - (name,salary,birthdate,...etc) which is store in database - to session variables to use these variables in all pages . how can i do that ?
thanks in advance
maher

Maher,
the ideal point is the method where you are sure the user has successfully logged into your system.
There you get hold of the session, check if the bean is already instantiated and set its values. If you can't find the bean create it yourself and put it into the session.
Timo

Similar Messages

  • Dynamic Credentials with Webservice

    I'm developing a web service and need to establish a database connection based on a heavyweight user in the database. (Please...no discussion on that design...it is what it is at least for now.)
    So far I've created a class defining the service method. (This will be converted to a webservice later using the wizard.) I've created a separate project containing an AppModule through which I'll access the datasource.
    Use of dynamic credentials for web apps is discussed here: http://www.oracle.com/technology/products/jdev/howtos/bc4j/howto_dynamic_jdbc.html. However the example depends on the lifecycle's calling a subclass of SessionCookieFactory and passing of the UID/password via HttpSession object attributes. I'm assuming that a webservice would not have a call to the SessionCookieFactory in its lifecycle.
    Is there a way in a webservice design to dynamically set the username and password for the connection? I'm using an AppModuleImpl subclass in my project, but I haven't seen any methods for changing the username/password before or after my call to Configuration.createRootApplicationModule(String a, String b). {My connection string is defined in a database connection in the Connections Navigator.}
    I'm developing in JDev 10.1.3.1.

    OK...I was able to make this work by modifying the dynamic JDBC example:
    public Element serviceMethod(String username, String password, String parameter) {
    String amDef="mypkg.AppModule";
    String config="AppModuleLocal";
    ServiceEnvInfoProvider envInfo = new ServiceEnvInfoProvider(username, password);
    AppModuleImpl module = (AppModuleImpl)Configuration.createRootApplicationModule(amDef, config, envInfo);
    Element resultElement = processingMethod(parameter);
    return resultElement;
    }

  • [SOLVED]JDBC Dynamic credentials problem

    Hello everyone. I have been trying to implement Steve Muench example 14 about JDBC Dynamic Credentials on my own web app., I am using Jdeveloper 10.1.3.2 and JSF/ADF.
    The thing is that the JDBC dynamic credential works well but when I enter a non-existant username/password the login.jsp page sends me to the main.jsp page and in the table that I have placed there (in the main.jsp page) it shows "Access Denied". Is there any way to tell the app. to redirect the users to the login.jsp page if they try to acces other parts of the app. and they are not logged in???, or is it thay I am missing something from the Steve Muench's example???
    I have been cheking the "DynamicJDBCBindingFilter.java" code and, if I understand correctly ('cause I consider myself a newbe), the "super.doFilter(request, response,chain)" is suppoused to throw an exception if the authentication fails and the "catch" code then sends the user to the login.jsp page... but for some reason this doesn't work!!!
    Can anybody help me on this one please?
    Thanks.
    * By the way, no errors are thrown!
    Message was edited by:
    dragonov7

    Hi Frank, thanks for your response. That same idea crossed my mind but the thing is that the line "super.doFilter(request, response,chain);" is supouseded to throw an exception if it fails to do its job but for some reason it does not... I have placed a "System.out.printline("XXX");" line inmediatly after the "catch" statement to see if an exception is thrown but apparently it doesn't, so I can't set a flag if I don't know for sure if the process ended well (or wrong).
    I think I'll clear my mind for 1 hour and start all over again... maybe I am missing something...

  • Differend between JAZN and Dynamic Credentials

    Please dose someone hase an article about this?? I want a clear article where it describes the differend between these two.
    thank you

    Hi,
    I don't think that this topic is worth an article.
    The difference is that JAZN performs J2EE container managed authentication in OC4J, whereas dynamic credentials allows ADF BC users to have their own database connection to their own schema (instead of sharing a database connection which then could be database pooled). So we are talking about comparing apples and beans here
    Frank

  • Dynamic Credentials and Web Service Data Controls

    I've followed Steve Muench's post on using Dynamic Credentials (14.     Dynamic JDBC Credentials for Model 1 and Model 2 [10.1.3.2] 2006, Upd: 17-MAY-2007), which works fine with the ADF BC part of the project. However, the project also contains Data Controls created from web services. I'm getting the following exception. Why are the web services being effected by the credentials and how can I fix it?
    Aug 31, 2007 12:38:41 PM oracle.adf.model.adapter.DataControlFactoryImpl createSession
    SEVERE: Exception:
    oracle.adf.model.adapter.AdapterException: DCA-40012: Failed to create a connection to the Web Service.
         at oracle.adfinternal.model.adapter.webservice.WSDefinition.loadFromMetadata(WSDefinition.java:659)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:163)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.<init>(JUMethodIteratorDef.java:138)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:93)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:84)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:483)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
         at oracle.adf.controller.v2.context.LifecycleContext.getBindingContainer(LifecycleContext.java:150)
         at com.awiweb.om.view.fwkExts.OMS_FacesPageLifecycleContext.initControllerClass(OMS_FacesPageLifecycleContext.java:23)
         at oracle.adf.controller.v2.context.LifecycleContext.<init>(LifecycleContext.java:53)
         at oracle.adf.controller.v2.context.PageLifecycleContext.<init>(PageLifecycleContext.java:48)
         at oracle.adf.controller.faces.context.FacesPageLifecycleContext.<init>(FacesPageLifecycleContext.java:37)
         at com.awiweb.om.view.fwkExts.OMS_FacesPageLifecycleContext.<init>(OMS_FacesPageLifecycleContext.java:17)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.adf.controller.v2.context.LifecycleContext.getInstance(LifecycleContext.java:86)
         at oracle.adf.controller.v2.context.LifecycleContext.getInstance(LifecycleContext.java:65)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:404)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:228)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.awiweb.om.view.fwkExts.OMS_ADFBindingFilter.doFilter(OMS_ADFBindingFilter.java:79)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Please ignore this post. The problem was not related to the Web Service.

  • Jdbc dynamic credentials

    How does one go about implementing JDBC dynamic credentials as suggested by this article http://otn.oracle.com/products/jdev/howtos/bc4j/howto_dynamic_jdbc.html in UIX instead of JSP? Any pointers?
    Thanks!
    Ronny

    I should preface this with a warning that I'm not all that familiar with what you are trying to do. However, it should be possible to use very similar code to what is shown in the How To document for JSPs. In the JSP example, the code is inline part of the JSP. uiXML doesn't mix code and UI, so this code would therefore be located in a method event handler.
    The first thing to do would be to create a uiXML page with form fields for username and password. I would use a messageTextInput for these fields (with the secret attribute set to true for the password field). I would add a "Login" submitButton, and then add a ctrl:event="Login" attribute to the button so that it will fire a UIX Controller "Login" event.
    I would add a handler for the "Login" event in the handlers section of the uiXML page, and use a method event handler to call out to Java code. The method event handler has access to the HTTPSession and the submitted username and password, so you should be able to get the HTTPContainer and manipulate the session. The only major difference with the JSP example, would be that the JSP example uses the <jbo:ApplicationModule> tag in a try/catch block to attempt the connection, and you would need to use the regular BC4J Java APIs. If the connection was sucessful, your event hander would return an EventResult for the next paeg in your application, if there was an error you could return an event result for the same page displaying the error (as discussed in the Handling Errors chapter of the UIX Developer's Guide).
    Whenever discussing login procedures, it is worth pointing out the TrivialPageFlowEngine in the UIX Controller which is useful in enforcing that the user has gone through your login procedure prior to jumping to any page in the application.
    Hope this helps!

  • Configuration.createRootApplicationModule and dynamic credentials

    Hi,
    I'm trying to access business services of an ApplicationModule (AM B) from another ApplicationModule (AM A) (all in layer Model), using the static method oracle.jbo.client.Configuration.createRootApplicationModule.
    The problem that I've doing this, is that I do some initializations in Database (VPD, user context, ...) using prepareSession(SessionData) and UserData information acquired in the SessionCookie creation (with HttpSession information).
    Now with Configuration.createRootApplicationModule, I don't know how to pass the information that I need with EnvInfoProvider (if this is the way), or maybe I'm following a wrong way, and exists another better way to do what I pretend.
    Another question. Seems that createRootApplicationModule tries to use AM Pool, to obtain the AM, if exists any previous instance of the AM created by ADFBindingFilter/DataControl, this method will obtain the same instance or a new one?
    And the last one question about this theme, there's any way to obtain this AM in stateless mode release if the AM configuration file says that this will be released in Stateful mode? maybe using another additional configuration for the AM?
    Anybody could help me and rescue me from my ignorance of this world?
    Thanks a lot!!!

    repost

  • Problems JDBC Dynamic Credentials

    Considered:
    I am using Jdev 10.1.2 with ADF, and in the application that I use we have implemented the use of DynamicJDBCCredentials. The particularitity is that the work form is the following one, When initiating, the application must be connected with a user that is taken pre-defined from a file properties, this will show the screen of login, in which the user along with enters his data the selection of the company that wish, when doing this and to press ok, the application would have to change to the user and password of which appmod this connecting itself to the DB, the seteos of user/password takes control correctly, but appmodule does not change the connection and I do not understand because… somebody Will be able to help me with this? From already thank you very much.
    Estimados: Estoy usando Jdev 10.1.2 con ADF, y en la aplicacion que utilizo hemos implementado el uso de DynamicJDBCCredentials. La particularidad es que la forma de trabajo es la siguiente, Al iniciar, la aplicacion debe conectarse con un usuario que se toma pre-definido desde un archivo properties, esto mostrará la pantalla de login, en la cual el usuario ingresa sus datos junto con la seleccion de la empresa que desea, al hacer esto y presionar ok, la aplicacion debería cambiar el usuario y password con el cual el appmod se esta conectando a la DB, los seteos de user/password se hacen correctamente, pero el appmodule no cambia la conexion y no entiendo porque ... Podrá alguien ayudarme con esto? Desde ya muchas gracias.

    I should preface this with a warning that I'm not all that familiar with what you are trying to do. However, it should be possible to use very similar code to what is shown in the How To document for JSPs. In the JSP example, the code is inline part of the JSP. uiXML doesn't mix code and UI, so this code would therefore be located in a method event handler.
    The first thing to do would be to create a uiXML page with form fields for username and password. I would use a messageTextInput for these fields (with the secret attribute set to true for the password field). I would add a "Login" submitButton, and then add a ctrl:event="Login" attribute to the button so that it will fire a UIX Controller "Login" event.
    I would add a handler for the "Login" event in the handlers section of the uiXML page, and use a method event handler to call out to Java code. The method event handler has access to the HTTPSession and the submitted username and password, so you should be able to get the HTTPContainer and manipulate the session. The only major difference with the JSP example, would be that the JSP example uses the <jbo:ApplicationModule> tag in a try/catch block to attempt the connection, and you would need to use the regular BC4J Java APIs. If the connection was sucessful, your event hander would return an EventResult for the next paeg in your application, if there was an error you could return an event result for the same page displaying the error (as discussed in the Handling Errors chapter of the UIX Developer's Guide).
    Whenever discussing login procedures, it is worth pointing out the TrivialPageFlowEngine in the UIX Controller which is useful in enforcing that the user has gone through your login procedure prior to jumping to any page in the application.
    Hope this helps!

  • Set dynamic authentication credentials to Partner link - BPEL 11g PS1

    Hi,
    I am working on BPEL SOA 11g PS1. I need to know how i can dynamically set the Authentication details (Username and password) as well as Timeout while invoking a web service reference.
    I have been successful in setting these values using properties of the partner-link which is static.But actually as per my use-case, i need to read these information dynamically from a repository say Database/DVM and set these value while invoking.
    Regards
    Sesha

    Hi Sridhar
    Below is the composite.xml snippet which works for me as static mapping. I have added "wss_username_token_client_policy" to the reference interface.
    <reference name="getNameService" ui:wsdlLocation="getNameService.wsdl">
    <interface.wsdl interface="http://www.amazon.com/css/mmbi/getNameService/#wsdl.interface(getNameServiceSoapPort)"/>
    <binding.ws port="http://www.amazon.com/css/mmbi/getNameService/#wsdl.endpoint(getNameService/getNameServiceSoapPort)"
    location="getNameService.wsdl" soapVersion="1.1">
    *<wsp:PolicyReference URI="oracle/wss_username_token_client_policy"*
    orawsp:category="security" orawsp:status="enable"/>
    <property name="weblogic.wsee.wsat.transaction.flowOption"
    type="xs:string" many="false">WSDLDriven</property>
    *<property name="oracle.webservices.auth.username" type="xs:string"*
    many="false" override="may">username11</property>
    *<property name="oracle.webservices.auth.password" type="xs:string"*
    many="false" override="may">password11</property>
    *<property name="oracle.webservices.httpReadTimeout" type="xs:string"*
    many="false" override="may">30000</property>
    <property name="oracle.soa.ws.outbound.omitWSA" type="xs:string"
    many="false" override="may">true</property>
    </binding.ws>
    </reference>
    Here you can find property value for oracle.webservices.auth.username,oracle.webservices.auth.password & oracle.webservices.httpReadTimeout are static , What i want to make here is to read these from a bpel variable in runtime.
    OR
    Is there any means i can do this same basic authentication in BPEL 11g which would support dynamic credentials.
    Thanks
    Sesha

  • Dynamic JDBC credentials don't work

    Hello,
    I'm using OC4J 9.0.3 (build 020927.1699) for deploying BC4J components as EJB session beans.
    All my efforts to activate dynamic JDBC credentials are still without success.
    Client (JDev9032) implements EnvInfoProvider and returns new properties as described in the JBO-javadoc. Tracing oc4j shows that required properties are passed from the client but ignored as unknown:
    [332] (0) Copying unknown Client property (password='tiger') to session
    [334] (0) Copying unknown Client property (user='scott') to session
    - and connection is made on behalf of default user from data-source config.
    Is it a bug or I misunderstood something ?
    Thanks
    Arkady

    Please discard.
    The reason is in JDev9032, see BUG: JDBC dynamic credentials do not work

  • JDBC Dynamic Credential with proxy users

    Hi
    We've developed an application with Business Components and it's been working very well. We're using JDBC Dynamic Credential like explain the document (How to Support JDBC Dynamic Credentials - http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html). Now we want to use proxy users with JDBC Dynamic Credentials. How can we
    user proxy users with JDBC Credentials? What classes or parameters we need to change?
    I've been tested proxy users a lot, but in simple java classes, I don't know where to set some parameters in business components, for example, where can I set the following parameters?:
    OracleOCIConnectionPool.PROXY_USER_NAME
    OracleOCIConnectionPool.PROXYTYPE_USER_NAME
    Thanks in advance
    Liceth

    Hi Frank, thanks again
    Now we are using JDBC Credentials(like explain the paper http://www.oracle.com/technology/products/jdev/howtos/10g/dynamicjdbchowto.html), every user connects to the application with a diferent database user and password, then at database level the administrator can see diferents usernames (not the same user). Every application user correspond to a database user, relation one to one. The application works fine with that configuration. But, now for performance we want to change our application to use proxy users, I read that with proxy users redirectec to a single user, then the pooling connections are well reused, and at database level you have diferent usernames. Our principal goal is use pooling (for performance) and see diferent usernames at database level, this for facilitate administration tasks and auditory .
    We want that the application user autenticate with proxy users (username and password) but we have some problems because we don't know where specify that we're using proxy users. (The parameters OracleOCIConnectionPool.PROXY_USER_NAME
    OracleOCIConnectionPool.PROXYTYPE_USER_NAME).
    We want open our connections with the following code:
    OracleOCIConnectionPool ods = new OracleOCIConnectionPool();
    ods.setURL("jdbc:oracle:oci:@"+tnsAlias);
    ods.setUser("user_application");
    ods.setPassword("oracle");
    java.util.Properties prop = new java.util.Properties();
    prop.setProperty(OracleOCIConnectionPool.CONNPOOL_MIN_LIMIT,"3");
    prop.setProperty(OracleOCIConnectionPool.CONNPOOL_MAX_LIMIT,"20");
    prop.setProperty(OracleOCIConnectionPool.CONNPOOL_INCREMENT,"1");
    ods.setPoolConfig(prop);
    java.util.Properties userNameProp = new java.util.Properties();
    userNameProp.setProperty(OracleOCIConnectionPool.PROXY_USER_NAME,"Mark/123");
    Connection conn = ods.getProxyConnection(OracleOCIConnectionPool.PROXYTYPE_USER_NAME,userNameProp);
    with other user
    userNameProp.setProperty(OracleOCIConnectionPool.PROXY_USER_NAME,"Marty/123d");
    Connection conn = ods.getProxyConnection(OracleOCIConnectionPool.PROXYTYPE_USER_NAME,userNameProp);
    Thanks in advance
    Liceth

  • Dynamic DNS issues and/or confusion

    I work for a small university.  We have two domain controllers running on Windows 2008 (not R2).  On dc2 we have a DHCP server running serving several VLANs across campus.  We've been having issues where the dynamic DNS entries contain an
    incorrect IP address for several machines.  In some cases there are even several entries for a single machine.  I've notice two main issues by looking at the DNS server.  First, old entries aren't being cleaned up.  Second, after re-imaging
    a workstation the DNS entry for that machine is not being updated.  After doing some research I came across the blog entry from Ace Fekay on how to go about setting up dynamic DNS.  I immediately determined from reading that scavenging was not setup
    properly on our server.  I think I've corrected that problem, but I'll have to be patient and see what happens over time.  This brings me to the issue of machines not adding themselves or updating their records in DNS.
    After reading Ace's blog I decided to follow his recommendations for configuring dynamic DNS.  I created a normal active directory user to use for configuring the DHCP credentials (it appears our server was set to use domain administrator previously).
     I added the DHCP computer object (this is also one of our domain controllers) to the DnsUpdateProxy group. On the DHCP server I have checked "Enable DNS dynamic updates according to the settings below" along with the "Always A and PTR
    records when lease is deleted".  I also checked "Dynamically update DNS A and PTR records for DHCP clients that do not request updates...".  After doing all of this I rebooted the dc2 server.  I then manually deleted all of the
    existing dynamic entries on the DNS server, so they could properly be recreated.  Now, here is the problem after setting all of this up.  I'm now seeing student's personal machines, phones, tablets, etc. being populated in our DNS.  Before making
    these changes only domain joined machines existed in DNS.  Our DNS is configured to allow only secure updates.  Why is it that now non domain trusted devices are being allowed to create DNS entries?  I was under the assumption that secure updates
    meant domain only.  Am I not understanding something properly here?  Can someone please provide me some insight to what's going on and what I might be able to do to prevent non-domain joined devices from having entries created in DNS?

    Hi,
    According to your description, my understanding is that non domain trusted devices have been registered their DNS entries in DNS which is configured to allow only secure updates.
    If a DHCP server that is running on a domain controller is configured to perform dynamic updates on behalf of its clients, that DHCP server is able to take ownership of any record, even in the zones that are configured to allow only secure dynamic update.
    This is because a DHCP server runs under the computer account, so if it is installed on a domain controller it has full control over DNS objects stored in the Active Directory.
    DHCP server will perform dynamic updates on behalf of its clients when you enable the option "Dynamically update DNS A and PTR records for DHCP clients that do not request updates...",  and this means that the “owner” of the DNS entries is
    DHCP server, not the clients. And the zone accepts the DHCP server’s update because the server has full permission.
    You may try to uncheck the option "Dynamically update DNS A and PTR records for DHCP clients that do not request updates...".
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected].
    Hi Eve,
    You are correct in your understanding that "non domain trusted devices have been registered their DNS entries in DNS which is configured to allow only secure updates."  I also made a mistake in my original post.  I meant to say that I also
    had "Always dynamically update DNS A and PTR records".  
    Now back to your reply.  Are you saying that if I had my DHCP server running on a non-domain controller that I would be seeing a different behavior in regards to permissions of DNS objects and that I wouldn't be experiencing the behavior of non domain
    trusted devices being created in a secure zone?  I thought setting the DNS dynamic credentials to a normal user account was supposed to help with security concerns in regards to DNS objects.  What would happen if someone named their personal computer
    the same name as one of our file servers or even a domain controller?  Would the DHCP/DNS server actually have the power to overwrite that record in DNS?
    I'll try your recommendation of unchecking the "Dynamically update DNS A and PTR records..." option and see what happens.
    Thanks for your reply...

  • I want to save the log in username

    Dear all
    I have a complicated problem.I will explain it in four steps.
    1- My application authentication depends on database users. I mean , the users who log in to the application are actually database users.
    Every table contains "CREATED_BY" column. And this column is auto populated by database trigger
    :NEW.CREATED_BY := USER;For example : Account "Tarek" is for an employee tarek . and this account is actually a database user . User "HR" is the schema owner. "HR" grants select ,insert on HR.Employee to user "Tarek".
    In order to save the username "Tarek" who log in the application , I have to implement dynamic credential. And In fact I succeeded to do this using the following demo
    [11g dynamic credential|http://www.4shared.com/rar/ektOYBXl/11gDynamicCredentials_2.html]
    Until this point I managed to save the username "Tarek" who log in the application instead of "HR"
    2- The problem happens when i decided to integrate my ADF application with another one .
    My application name is "HrMainApplication" , implements dynamic credentials and connects to HR schema with application module "MainAppModule".
    The Other application name is "PayrollApplication" , it does not implement dynamic credential , it only contains one bounded task flow"payroll-flow" with page fragment, and it connects to the same HR schema with application module name "PayRollAppModule"
    3- I deployed "PayrollApplication" as adf jar library.
    4- I added this jar to the main application "HrMainApplication"
    5- I added the "payroll-flow" taskflow as a region in Main.jspx in the main application
    6-Now I run the Login page and i connected using user "Tarek" and go to the main page.
    7*-I inserted a new row and I hit commit . Data is now saved. But "Created_by" field value is "HR" not "Tarek".*
    This is the problem
    It seems that the "PayrollApplication" still connects to the database useing HR user not "tarek"
    Should I re-implement dynamic credential in "PayrollApplication" again. And if so , how can I pass the login username to the application.
    Thanks

    Hi user,
    Welcome to OTN world.Always share your Jdev version.
    Why are you not storing the login user name into a session variable and store it into your table.

  • Help: Problem migrating to 9052 or 1012

    Hello You Experts,
    I have a BC4J/JSP application originally developed in Jdev 902. It has been in production for a while already, and has been migrated all way through 9034 and 9041 (build 1436). This is a relatively simple application, only BC4J is involved, no Stunts, no UIX or anything else. It works pretty well so far. However, I am having problem migrating it into 10g now. I got the same error (see below) with either Jdev 9052 (build 1618) or 1012 (build 1811). It opens (migrated by the Wizard), and compiles without any error. It actually runs and I have got to the login page. And then it’s throws an NoSuchMethodError exception upon login. My application supports dynamic credentials. The debug output indicates that it could not get the internal connection, though the user connection was successful. Any ideals for this error are greatly appreciated. Thank you very much in advance.
    Following is the stack trace:
    Message: void oracle.jbo.html.DataSourceImpl.(java.lang.String)
    java.lang.NoSuchMethodError: void oracle.jbo.html.DataSourceImpl.(java.lang.String)
         at oracle.jbo.html.jsp.datatags.Utils.createDataSource(Utils.java:185)
         at oracle.jbo.html.jsp.datatags.DataSourceTag.doStartTag(DataSourceTag.java:86)
         at Login.jspService(Login.jsp:61)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
    And following is the debug output (excepted to conserve apace):
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config>
    C:\Jdev1012\jdk\bin\javaw.exe -ojvm -XXdebug,quiet,port3096 -classpath C:\Jdev1012\j2ee\home\oc4j.jar;C:\Jdev1012\jdev\lib\jdev-oc4j.jar -Djbo.debugoutput=console -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\Jdev1012\jdev\system10.1.2.0.0.1811\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Debugger connected to local process.
    05/01/31 16:52:18 Auto-deploying file:/C:/Jdev1012/jdev/mywork/LtcopWebApp/jspClients/public_html/ (New server version detected)...
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 5218 ms.
    Target URL -- http://204.156.227.22:8988/ltcop/index.html
    05/01/31 16:52:19 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized
    05/01/31 16:52:31 Diagnostics: (BC4J Bootstrap) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    05/01/31 16:52:31 [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    05/01/31 16:52:31 [01] BC4J Property jbo.maxpoolcookieage='-1' -->(Configuration) from System Default
    05/01/31 16:52:31 [02] Loading 5.0 IDE classes
    05/01/31 16:52:31 [03] Creating a new pool resource
    05/01/31 16:52:31 [04] BC4JDeployPlatform: LOCAL
    05/01/31 16:52:31 [05] Propertymanager: searching for file and system based properties
    05/01/31 16:52:31 [06] {{ begin Loading BC4J properties
    …….. Cut away to conserve space …….
    05/01/31 16:52:32 [135] }} finished loading BC4J properties
    05/01/31 16:52:32 [136] -----------------------------------------------------------
    05/01/31 16:52:32 Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    05/01/31 16:52:32 [137] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    05/01/31 16:52:32 [138] JavaVMVersion: 10.1.2.1162 dop5
    05/01/31 16:52:32 [139] JavaVMVendor: Oracle Corp.
    05/01/31 16:52:32 [140] JavaVMName: OJVM Client VM
    05/01/31 16:52:32 [141] OperatingSystemName: Windows 2000
    05/01/31 16:52:32 [142] OperatingSystemVersion: 5.0
    05/01/31 16:52:32 [143] OperatingSystemUsername: Duz
    05/01/31 16:52:32 [144] jbo.323.compatible Flag: false, str: false
    05/01/31 16:52:32 [145] jbo.903.compatible Flag: false, str: false
    05/01/31 16:52:32 [146] Loading from bc4j.jpx file
    05/01/31 16:52:32 [147] Loading from individual XML files
    …….. Cut off lots of “Loading from …… Xxx.xml file” entries to conserve space …….
    05/01/31 16:52:36 [248] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    05/01/31 16:52:36 [249] mPCollUsePMgr is false
    05/01/31 16:52:36 [250] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    05/01/31 16:52:36 [251] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    05/01/31 16:52:36 [252] DBTransactionImpl Max Cursors is 50
    05/01/31 16:52:36 [253] Created root application module: 'componentsPkg.LtcopAppModule'
    05/01/31 16:52:36 [254] Locale is: 'en_US'
    05/01/31 16:52:36 [255] DefaultConnectionStrategy is establishing an application module connection
    05/01/31 16:52:36 [256] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    05/01/31 16:52:36 [257] Creating a new pool resource
    05/01/31 16:52:36 [258] Trying connection/2: url='jdbc:oracle:thin:@204.156.200.100:1521:DB20' info='{user=ltc_test_co1, password=ltcco1, oracle.net.encryption_types_client=( DES40C ), oracle.net.encryption_client=REQUIRED, oracle.net.crypto_checksum_client=REQUIRED, oracle.net.crypto_checksum_types_client=( MD5 )}' ...
    05/01/31 16:52:36 [259] Successfully logged in
    05/01/31 16:52:36 [260] JDBCDriverVersion: 10.1.0.3.0
    05/01/31 16:52:36 [261] DatabaseProductName: Oracle
    05/01/31 16:52:36 [262] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options JServer Release 9.2.0.6.0 - Production
    05/01/31 16:52:36 [263] **PCollManager.resolveName** tabName=PS_TXN
    05/01/31 16:52:36 [264] Getting a connection for internal use...
    05/01/31 16:52:36 [265] Creating internal connection...
    05/01/31 16:52:36 [266] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    05/01/31 16:52:36 [267] Creating a new pool resource
    05/01/31 16:52:36 [268] Trying connection/1: url='jdbc:oracle:thin:ltcop/[email protected]:1521:db20'...

    Hi Vishal,
    Hello,
    Unfortunately WLS 6.1 is not supported on Solaris 10. Also as of Nov 14, 2005 WLS 6.1 entered the mature phase and will be no longer supported by BEA.
    http://e-docs.bea.com/wls/certifications/certs_610/overview.html
    Do let me know if you need any assistance in upgrading
    Cheers
    Raj

  • JDev 9.0.3, Business comp wizard, is this a bug?

    Howdy,
    Found something that perhaps is a bug, hoping you guys have fixed for the real release.
    1) Create a database connection, but don't fill in username/password. Don't check deploy password.
    2) Create new workspace and project.
    3) create new business component package in the project. On step 2, point Connection name to username/password-less connection. Alert says prompt will ask for credentials. No matter what I put in, with valid username/password entries, a Connect Error pops saying invalid arguments in call. Exception: oracle.jdeveloper.cm.CMException.
    Is this a bug? We're using dynamic credentials in our app with data sources, so username/password is left off.
    Thanks,
    Joe Tseng
    Technical Management Consultant
    TUSC
    [email protected]

    Joe,
    I've filed Bug#2561459 to track this problem.

Maybe you are looking for

  • Why I upgraded to Dir 12?

    To set the Stage.... I had been a long time Director user back with Macromedia and long before Flash but stopped using it about 2007.   So why did I upgrade to Director 12?   The price of the upgrade was cheap ($299) and the number of additions since

  • Convert UTF-8 to ISO-8859-1 in JMS receiver

    Hi Freinds, We are sending an XML message to the MQ via JMS receiver channel and I need to change the character set from UTF-8 to the ISO-8859-1 while sending it to the MQ queues. Will this be possile? Please suggest how can I acheive this. Regards,

  • Opening a pdf directly from menu

    Hi All, I wanted to know that can we open pdf directly from menu.? I wanted steps regarding how to attach link/url/function to menu so that I can directly open pdf file. Thanks

  • Selecting Time in Dashboard Promt's Date Picker (Calendar)

    Hi Is it possible to choose time as well as date in dashboard promt's calendar object? Currently, users select the date from the calendar and have to write down the time. Thanks Özgür

  • Pass parametrs between pages

    Hi, how can I pass parameters between pages, WITHOUT using a Session bean? I mean: I need to use a Link Action component to pass control to another page (using the page navigation feature) and, along with the request, also pass the Id of the clicked