Oracle Proxy Authentication and WLS 8.1/CMP

Hey folks,
Is there any way to configure WLS 8.1 to automatically set the Oracle CLIENT_IDENTIFIER
variable or use Oracle Proxy Authentication on JDBC connections? I'm interested
in using Oracle auditing with my CMP entity beans, but would like to capture the
app tier user identity, instead of the data source pool user.
Thanks.

"Brent Smith" <[email protected]> wrote in message
news:3fa15807$[email protected]..
>
Hey folks,
Is there any way to configure WLS 8.1 to automatically set the OracleCLIENT_IDENTIFIER
variable or use Oracle Proxy Authentication on JDBC connections? I'minterested
in using Oracle auditing with my CMP entity beans, but would like tocapture the
app tier user identity, instead of the data source pool user.
I would ask in the weblogic.developer.interest.jdbc newsgroup.

Similar Messages

  • Oracle Proxy Authentication

    Oracle9i 9.2.0.1.0
    WebLogic Server 7.0 SP3
    We want to use Oracle's Proxy Authentication and don't have a clue about
    configuring WebLogic.
    Can anyone assist?
    Brian Dick

    Shailesh Ligade wrote:
    Hello Joe,
    I want to do, what oracle is suggesting me to do, namely,
    InitialContext initial =
    new InitialContext();
    OracleOCIConnectionPool ds =
    (OracleOCIConnectionPool)
    initial.lookup("jdbc/OracleOciDS");
    oracle.jdbc.OracleConnection conn = null;
    Properties p = new Properties();
    p.setProperty(PROXY_USER_NAME, username);
    p.setProperty(PROXY_PASSWORD, pwd);
    conn = ds.getProxyConnection(PROXYTYPE_USER_NAME, p);
    This from the oracle website, I want to add password to the properties. I understandI will have to change jndi lookup i have to modify to match mine. The thing is that,
    what I heard is, weblogic drivers don't support this type of authetication, is that
    true? If they don't then how can I get 'OracleOCIConnectionPool' for a pool configured,
    for oracle oci (or thick) driver, from the bea console?
    Hi. You can do exactly that with a direct Oracle DataSource, but no middleware product
    will be able to interact with them. We could wrap Oracle-specific objects, and make
    methods like getProxyConnection(), but Oracle makes the contiinuing mistake of
    providing these non-standard JDBC methods with no Interface to define them. This
    means that you have to cast to a concrete Oracle class to use the methods, and
    WebLogic classes cannot be Oracle classes. We can both be javax.sql.DataSource,
    because that's an Interface...
    You could contact support at BEA and ask for a feature to provide getProxyConnection
    functionality, but your code would still have to look a little different, at least
    in the cast.
    Joe

  • Safari, Proxy Authentication, and Certificate Authorities ( for https )

    A recent update to Safari has caused it to not work with our proxy authentication.  It will not provide authentication details when looking up SSL certificate authorities, causing certificate errors on all https:// websites. All other traffic (http, https if certificate is bypassed, plugins, etc.) seem to work just fine. Is anyone else having this problem?  If so, is there a fix?
    It occurs on Mac and PC.  I am using SquidGuard with NTLM authentication.  All other browsers on our system (IE x.x, FireFox, Chrome, Opera ) don't have this issue.

    I have the same problem and it's frustrating as can be.
    What happens to me is that When I bring my laptop to work, and put it on the work network and launch Safari, Safari informs me that each of my plugins is invalid and then uninstalls them - I'm effectively not able to use any plug ins at work, and I have to go hunt them down when I get back home (for reference, The extensions are still physically in \users\me\Library\Safari\Extensions - so when I get home I can just double click on all of them)
    I opened a case with apple and I encourage you to do the same. Perhaps if enough users complain they will find a gentler way to work with it.
    They had me do a capture and after analyzing it said it was an issue with the work network and not being able to valdate the extensions.
    It sounds like the same issue you have - as my work network uses a proxy as well.
    The rep suggested that I use a different browser at work, but I'm so used to clicking safari, that I do it out of habit.
    I really like Safari, and hope they get it fixed - Safari may not get respect in the windows world, but it's really a great browser - especially on a laptop where screen real estate is limited (where I often hit command-shift-\ to hide the address bar to see more of the page)
    -Jack

  • NTLM proxy authentication and the iPad

    We have bluecoat proxies using NTLM authentication to access the internet.
    After entering your credentials, the iPad hangs until a time out error occurs.
    Recording the conversation at the proxy reveals that the iPad does not respond to the challenge hand shake.
    My question is: How do I configure the iPad to make it work?

    Guys,
    Sorry for not replying, but I continue to forget the get the snapshots at work.  If I recall correctly, here are some steps:
    In "authentication" layer, in the "Source" column, create a combined object and add the following users agents to it: "iPhone", "iPad", and "MobileSafari"
    Select that conbined object in the source
    Set it to authentication and set auth type to "Proxy IP"
    Go back to proxy management, under the "Configuration" tab, go to "Authentication" and then select your IWA Authentication Realm.
    Edit that, in there, there is a setting for "surrogate refresh time", set that to some large number such as 8 hours or so.  Remember, if you don't set the surrogate setting, it will work, but you will run into random cases where specific session does not contain a "user agent" that matches the ones you created in step # 1.  The surrogate setting should resolve that conflict.
    The rest of the rules are related to your actual normal ACL to restrict the mobile devices from going where they should not. 
    I may be missing a step or two, forgive me, as I'm pulling this off of memory, but I will do my best to remember when I'm at work to get the details instructions on how I did it. 
    PS: your mobile device should point to the proxy, or if you have WCCP set, then that's a different case that I did not test the mobile device under that scenario.  However, you will need to type in your credentials as well in the mobile device under the "Proxy settings", remember, when your "Domain" policy dictate the the user password must be changed every xx days, you will need to update your password in the mobile device at the same time.
    Message was edited by: KojiKabuto

  • Oracle 9.2 and WLS 6.1

    Folks,
    I noticed Oracle 9.2 is not certified for use with WLS 6.1, but is certified with
    WLS 7.0SP1. A couple fof questions:
    1) Can the driver and OCI libs provided with WLS7.0SP1 be used in WLS6.1?
    2) Is there a down side to using Oracle's JDBC driver instead of the WLS jDriver?
    Will this work properly in a WLS6.1/Oracle 9.2 combination?
    3) Can the Oracle 9.0.1 libs provided with WLS 6.1 communicate with Oracle 9.2?
    Is this in any way preferred to using Oracle's JDBC driver?
    Thanks,
    Guy

    Guy wrote:
    Folks,
    I noticed Oracle 9.2 is not certified for use with WLS 6.1, but is certified with
    WLS 7.0SP1. A couple fof questions:
    1) Can the driver and OCI libs provided with WLS7.0SP1 be used in WLS6.1?probably not easily. Class changes etc. If we do package the driver separately, then
    yes it will work.
    >
    2) Is there a down side to using Oracle's JDBC driver instead of the WLS jDriver?Oracle 'support'. Other than that, our type-2 is more reliable than theirs, but their type-4
    driver is what I'd start with.
    >
    Will this work properly in a WLS6.1/Oracle 9.2 combination?sure. Just because we don't test every new driver with all old server versions,
    doesn't mean they won't work. We will always work with any jdbc driver
    from anywhere, as long as it is standard.
    >
    3) Can the Oracle 9.0.1 libs provided with WLS 6.1 communicate with Oracle 9.2?
    Is this in any way preferred to using Oracle's JDBC driver?Oracle does try to maintain backward compatibility so it should work, but later
    stuff usually has some bugs fixed...
    Joe
    >
    >
    Thanks,
    Guy

  • JAAS-authentication and wls-authorization in a webapp

    Hi,
    I am developing a webapp with jsp, servlets and ejbs.
    My question:
    Is it possible to use JAAS-authentication together with wls-authorization in a
    webapp?
    thanks
    /Chriz

    Hi, Office 365 tenants indeed include an Azure AD tenant in the background and you can implement Single Sign-On against that. The authentication scenario for this case is documented
    here. For the code samples (with steps to create them) see the
    samples' Github repository, especially the
    WebApp-WSFederation-DotNet sample. 
    For the SQL database it's a bit different. Azure SQL Database connection can't be authenticated like this - there's no integration to the "domain" accounts there. So you should create one service account for the SQL connection and use that for
    all the traffic in your web app. If you need authorization for accessing certain data in SQL, you have to implement that on your web application side.

  • Oracle proxy authetication and thin driver

    Hello,
    I am using 10g, and bea 81 sp3, I am trying to setup proxy authetication. All the references I find for proxy authetication are using OCI driver. Is proxy authetication supported using oracle 10g thin driver (ojdbc14.jar)? Can anyone tell me, what drivers are support proxy authetication under oracle 10g?
    Also application servers like bea will not give you oracledata source if you use bea to setup oracle connection pool, is there a easy work around that?
    appreciate,
    Shailesh

    Replace this line:
    DriverManager.registerDriver(new racle.jdbc.OracleDriver());with this one:
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();

  • Oracle externally-authenticated and security

    Hi,
    I work on security project and i want to know if create an externally user is good in a security context.
    Thanks

    External authentication comes in the category of the security loophole since anyone who can access the system , can come in the system. That said, you should check Pete Finnigan's notes about security and also check his website, www.petefinnigan.com .
    HTH
    Aman....

  • TopLink Proxy authentication issue

    Hello all,
    I tried to use proxy authentication for TopLink for connecting to a database via TopLink in a J2EE application deployed on an Oracle iAS 10.1.2. For doing that, I tried to follow the steps described in the TopLink documentation (http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/dblgcfg008.htm#BABDABCF) with the last scenario, "Server Session uses Proxy Connection".
    According to the previously mentioned documentation, I created a session event handler for the preLoginEvent session event, the preLogin(SessionEvent event) method that I copied below.
    The issue with this is that, when I try to run a TopLink query in a Java DAO class, I obtained some exceptions. There are two cases here:
    1-If the code preLogin(SessionEvent event) is exactly as below, it seems that the queried views/tables cannot be seen. The exception obtained is:
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    Call:SELECT count(*) FROM CIFHUB.SCQA_TEMPLATE
    Query:DataReadQuery()
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:290)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:570)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:442)
    at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:453)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:174)
    at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:156)
    at oracle.toplink.queryframework.DataReadQuery.executeNonCursor(DataReadQuery.java:118)
    at oracle.toplink.queryframework.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:110)
    at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:603)
    at oracle.toplink.queryframework.DataReadQuery.execute(DataReadQuery.java:96)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2062)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:981)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:938)
    at oracle.toplink.publicinterface.Session.executeSelectingCall(Session.java:1027)
    at oracle.service.infra.myservlet.ACSProxyTestServlet.callTopLinkQuery3(ACSProxyTestServlet.java:138)
    at oracle.service.infra.myservlet.ACSProxyTestServlet.doGet(ACSProxyTestServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.service.infra.servlets.SecurityFilter.doFilter(SecurityFilter.java:105)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    2 - If in the preLogin(SessionEvent event) code, the line login.setProperty("proxytype", Integer.toString(OracleConnection.PROXYTYPE_USER_NAME)); is uncommented, then another exception is obtained. In this case another exception is obtained: an Invalid User/Password exception is thrown. If I comment this line, the login is successfull, but I obtain the exception at section 1.
    I have to tell you in both cases the parameters of the Data source are properly set. I tested the datasource in another servlet where I created directly the connection based on the same datasource taken from the application server's JNDI.
    Do you have any hint or idea about this issue?
    Thanks a lot in advance!
    Regards,
    Marinel
    public void preLogin(SessionEvent event)
    DatabaseLogin login = event.getSession().getLogin();
    // Make sure that external connection pooling is used
    login.setUsesExternalConnectionPooling(true);
    // Custom code to get the connector
    try
    login.setConnector(new OracleJDBC10_1_0_2ProxyConnector("jdbc/acs_proxyDS"));
    } catch (Exception ex)
    ex.printStackTrace();
    // End of custom code to get connector
    // login.setProperty("proxytype", Integer.toString(OracleConnection.PROXYTYPE_USER_NAME));
    login.setProperty(OracleConnection.PROXY_USER_NAME, "[email protected]");
    login.setProperty(OracleConnection.PROXY_DISTINGUISHED_NAME, "cn=my_name,l=emea,dc=oracle,dc=com");
    String[] roles = new String[1];
    roles[0] = "Manager";
    login.setProperty(OracleConnection.PROXY_ROLES, roles);
    }

    Hi, I am also working on proxy authentication and am having the same problem as Marinel.
    If I use a normal jdbc proxy connection, I can access the table just fine, and using a direct Toplink connection works fine.However, when i try and use proxy authentication via Toplink, i do not have permissions on the table.
    From your last update,it seems that if I want to use DISTINGUISED NAME authentication, I should set "proxytype" to OracleConnection.PROXYTYPE_DISTINGUISHED_NAME, and set OracleConnection.PROXY_DISTINGUISHED_NAME to the full user distinguised name.
    I have temporarily altered my preLogin Event as below to show these two scenarios, to access the table via normal jdbc proxy connection (and this part works), and then below that I try and set up the Toplink proxy session(which fails).
    public void preLogin(SessionEvent event) {
    DatabaseLogin login = event.getSession().getLogin();
    // Make sure that external connection pooling is used
    login.setUsesExternalConnectionPooling(true);
    String urlThin =
    "<jdbc_url>";
    OracleDataSource ds;
    OracleConnection oc = null;
    try {
    // Part 1 - Setup and access the PROXYDUMMY1 table using jdbc proxy sessions
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    ds = new OracleDataSource();
    ds.setURL(urlThin);
    Properties props = new java.util.Properties();
    props.put(OracleConnection.PROXY_DISTINGUISHED_NAME,
    "cn=firstname_lastname,l=emea,dc=oracle,dc=com"); props.put("proxytype",OracleConnection.PROXYTYPE_DISTINGUISHED_NAME);
    ds.setUser("database_account");
    ds.setPassword("database_password");
    oc = (OracleConnection)ds.getConnection();
    oc.openProxySession (OracleConnection.PROXYTYPE_DISTINGUISHED_NAME, props);
    String sql= " SELECT COL1, COL2 FROM PROXYDUMMY1";
    Statement stmt = oc.createStatement();
    ResultSet rSet = stmt.executeQuery(sql);
    System.out.println("==============User requested data=================");
    while ( rSet.next() )
    System.out.println(rSet.getString(1));
    rSet.close();
    stmt.close();
    //Part 2 - set up the proxy session for use by Toplink
    login.setConnector(new OracleJDBC10_1_0_2ProxyConnector(ds));
    login.setProperties(props);
    } catch (Exception e) {
    System.out.println("Exception: ProxyConnection.getConnection: "+e.getMessage());
    e.printStackTrace();
    }

  • Oracle BAM Authentication Question

    We are facing a strange problem related to Oracle BAM authentication and I'd like to ask for opinions or suggestions.
    - We have a BAM Server called MYSERVER
    - MYSERVER is a Win2003 and BAM was installed using MYSERVER\Administrator account
    - We have a domain called MYDOMAIN
    - MYSERVER is part of domain MYDOMAIN and this domain is registered in MYSERVER as a trusted domain.
    - We have four user groups created in domain, not in bam server:
    1) MYDOMAIN\bamAdmin
    2) MYDOMAIN\bamArchitect
    3) MYDOMAIN\bamDesigner
    2) MYDOMAIN\bamUser
    - In Windows 2003 we added the following users to the groups below:
    user MYDOMAIN\adm was added to group MYDOMAIN\bamAdmin
    user MYDOMAIN\arch was added to group MYDOMAIN\bamArchitect
    user MYDOMAIN\des was added to group MYDOMAIN\bamDesigner
    user MYDOMAIN\usr was added to group MYDOMAIN\bamUser
    - In Administrator>Login Management
    We didn't create login for users, only groups just described:
    MYDOMAIN\bamAdmin
    MYDOMAIN\bamArchitect
    MYDOMAIN\bamDesigner
    MYDOMAIN\bamUser
    - In Administrator>Roles Management
    We selected each Role and added the following groups
    Administrator > MYDOMAIN\bamAdmin
    Report Architect > MYDOMAIN\bamArchitect
    Report Creator > MYDOMAIN\bamDesigner
    Report Viewer > MYDOMAIN\bamUser
    - After that, we return to Administrator > Login Management to review groups
    There is an yellow question mark indicating bam cannot validate this login in domain controller.
    This login is not currently known to be a valid login.
    We click in one of the described groups, such as
    MYDOMAIN\bamUser
    And then in "View Roles" link.
    We receive the following message
    ADC Server exception in GetUserGroups(): 3.
    Source: "ActiveDataCache" ID: "ADCServerException"
    Logon failure: unknown user name or bad password
    Source: "Oracle.BAM.Common.Core"
    Sometimes we get: "Network path not found" and finally we get this message:
    "The account used to run the Oracle BAM Active Data Cache does not have permission to retrieve the list of groups for this user. Contact your network administrator."
    - If MYDOMAIN\usr that was added to group MYDOMAIN\bamUser try to access BAM Viewer module or bam home page (http://myserver/oracleBam), he receives the same error in welcome screen.
    - User MYDOMAIN\usr can login to MYSERVER server in domain MYDOMAIN, so server recognizes the domain and user.
    - In Windows NT Alert Viewer we have several errors/warnings registered, telling that BAM could not validate user/login and also "RPC Server Unavailable" errors.
    - I tried changing ADC Service user credentials to MYDOMAIN\Administrator, but ADC Service didn't start anymore, so we have to reconfigure to MYSERVER\Administrator.
    - In ADC Log we have several messages indicating BAM could not validate user:
    2008-01-22 17:26:11,875 [User Validation Thread] WARN - ActiveDataCache Caught exception while validating user MYDOMAIN\usr: Logon failure: unknown user name or bad password
    And when we changed credentials to MYDOMAIN\Administrator we got messages indicating bam stores some type of key/encrypt information by user who installed product (MYSERVER/Administrator):
    2008-01-22 16:49:16,062 [1484] ERROR - ActiveDataCache DPAPI was unable to decrypt data. CryptUnprotectData failed. Error -2146893813: Key not valid for use in specified state.
    Somebody may point us what could be wrong, perhaps a tip or doc about WINDOWS/BAM auth integration?
    Metalink has few information about that, such as Note: 412555.1, but from network view it seems to be correct because we may log on MYDOMAIN\usr to MYSERVER successfully.
    Bam could integrate to NT user authentication seamlessly, but it seems to me that it's harder and tricky than we thought.
    Any ideas?
    Thank you in advance,
    Rogério

    Hi,
    Windows services running as local user can not do domain user authentication (even when machine is on that domain)
    You will need to change ADC Service user credentials to MYDOMAIN\Administrator. If you just do this only in services, service wont start because the database passwords in config files are encrypted as original user and can not be decrypted by new user.
    See "Working with Post-Install Password Changes and Password Expiration Policies" in the BAM Install Guide (In chapter 3 under Additional Configuration Settings) to change the config files. And also add MYSERVER\Administrator to BAM Administrator group before change.
    The easiest may be to just reinstall as user MYDOMAIN\Administrator.
    Thanks
    Ranga

  • Safari for Windows won't remember proxy authentication credentials

    I'm trying to use Safari 5.1.2 on my work Windows 7 Professional machine to keep my bookmarks and reading list in sync with my iPhone and home Mac via iCloud. On my company network we use  a proxy on port 9000 for all browsing, however Safari constantly spawns authenitcation credential prompts when opening pages (or without navigating at all). Selecting the option to remember the credentials does nothing, and the options for usernames and passwords is selected in Safari options but this doesn't help.
    It doesn't matter what format I enter my username as. So far I've tried:
    user
    domain\user
    FQDN\user
    user@domain
    user@FQDN
    all to no avail.
    Chrome V16 and IE9 have no issues with proxy authentication and they seem to share the global LAN settings. It doesn;t even hinder Safari's ability to resolve pages through the proxy, it's just annoying for each page view to spawn up to a dozen prompts.
    Has anyone else had this issue, or shed any light on how to resolve?

    Hi,
    Just to notify that this exact issue is also on Windows XP. Thanks.

  • IAS 9i, JAAS and Proxy Authentication

    Hi
    I'm trying to use proxy authentication for a web application hosted on IAS. The 'Oracle 9i Application Server Security guide' states that proxy authentication is supported using JDBC, but I can't find instructions on how to use this approach. Is this feature configurable, or it must be hand coded in the web application.
    Ideally, I'd like to establish the lightweight session using the credentials used to perform a JAAS authentication.
    I've seen an example for a similar situation linking JAAS authentication to VPDs setting up the application context for the database connection, but the example was tied to BC4J. I'd like to use a more general approach, for example to use this feature with BI Beans.
    I think this is not an unusual setup, but I can't find clear instructions on how to make the pieces work together.
    Fernando

    Thanks,
    Any additional recommendations are welcome. We plan to use forms and reports service with SSL.

  • TL 11g: JPA and DB proxy authentication?

    Hi!
    I posted similar question of JDev 11g forum, but I hope I can get more profound expertise here :)))
    OK. I want to make a proof-of-concept for end-to-end security using a novel 11g technology: I want to use EJB 3.0 / JPA (TopLink) and to enable subject identity propagation to database using Proxy Authentication mechanism. I stress that I want to use JPA (annotated entities) and not TopLink mappings, and to have as simplest as possible code (yes, I know...).
    Now, my idea is to use Session Event Listener (registered in persistance.xml) to set a proxy connection inside a standard unit of work connection defined in persistance.xml (in the proxy connection I would not set username/password in event listener as I want to do that inside EJB Session Facade).
    Then, in EJB Session Fascade I would like to set a username/password for database login in session that will be used to execute a JPA transaction. I discovered that I can get a ServerSession and Active Session from Entity Manager, with:
    EntityManager em = emf.createEntityManager();
    ServerSession serverSession = ((oracle.toplink.jpa.JpaEntityManager)em).getServerSession();
    Session activeJPASession  = ((oracle.toplink.jpa.JpaEntityManager)em).getActiveSession();What I don't know is how to proceed. Do I have to use Server Session to create/open a new Client Session (but, I'm not sure if then I also have to use a manual transactions inside EBJ Session Bean method, or I can rely on container managed transaction?)? Or I can just set username/password on Active Session. Or I can change a DatabaseLogin (ActiveSession.getLogin().setUsername().setPassword())?
    Please, any advice is appreciated. I'm not an expert on JPA/TopLink so I may spend days figuring this out...
    Thanks in advance!
    PaKo

    PaKo,
    We need to make proxy authentication easier through the JPA interface. At present you can configure the event listener using the toplink.session-event-listener to implement the proxy events as described in the documentation. The piece that is missing is the ability to pass in the proxy authentication credentials when acquiring an EntityManager.
    You are correct that you would need to acquire a client session directly (Note: the JpaHelper can help). When acquired you can use this client session to access the database but it will function only as TopLink's native API and not completely as JPA.
    I filed bug 219434 against EclipseLink to address passing the credentials into:
    EntityManagerFactory.createEntityManager(Map properties)I will continue to investigate to get you a better solution.
    Doug

  • My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    Hmmmm... would appear that you need to be actually logged in to enable the additional menu features.
    Have you tried deletting the plists for MAS?
    This page might help you out...
    http://www.macobserver.com/tmo/answers/how_to_identify_and_fix_problems_with_the _mac_app_store
    Failing that, I will have to throw this back to the forum to see if anyone else can advise further.
    Let me know how you get on?
    Thanks.

  • How to implement Custom Authentication and Authorization in Oracle SOA 11g

    Can anyone please tell me, how to implement Custom Authentication in Oracle SOA 11g ?
    Because in Oracle SOA 10.1.3.4 , i have implemented this custom authentication and authorization by implementing BPMAuthenticationService, BPMAuthorizationService, BPMIdentityService to verify againt my database systems.
    implementation classes like the mentioned below
    1).
    public class SampleAuthenticationService extends SampleServiceBase implements BPMAuthenticationService {
    2).
    public class SampleAuthorizationService extends SampleServiceBase implements BPMAuthorizationService {
    3).
    public class SampleIdentityService extends SampleServiceBase implements BPMIdentityService {
    Please help me to implement the authentication and authorization in Oracle SOA 11g .
    thanks in advance

    To start with please go through following document
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_jms.htm
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm
    Regards
    Arpit

Maybe you are looking for

  • Unable to Sign in OBIEE 11.1.1.6.5

    Hi All, We are not able to login to OBIEE 11g for any user. please help us to fix. We just applied 11.1.1.6.5 opatches on top of 11.1.1.6.0 and also we added Aactivae Directory and removed again for testing. Also I just deployed Sample Lite rpd and c

  • HT1766 My I-Phone 5 is disabled, in order to enable it ;can i back it up , restore it back to "factory" , and then restore from i tunes?

    In addtion to that, when i connect my phone to my computer it states that "USB  is not recognized".......does this mean something could be wrong with my cord? Also it also states that "Device can not be installed", why is that? Your Help is much appr

  • ITunes store will not display in my iTunes

    When I go to the iTunes Store in my iTunes app on my MacBook Pro it will not display anything in the store.  The store says it loads, but the display area is just blank (white) after it loads.  iTunes will display all my other stuff ok.  I have Yosem

  • Latest intel display driver giving problems

    I have the lenovo n200, which comes with the intel 965 chipset. I downloaded the latest drivers for this graphics chip. Its doing well and my games performance have improved a lot but the problem is that it crashes a lot. My game just shuts down and

  • Jontexhess

    Can I use a Lightning to USB Camera Adapter to charge my iPad mini?