Jaas and jdeveloper 11

I cannt make jaas in jdeveloper 11
I do this in jdeveloper 10 but how I do that in jdeveloper 11 ????
Tools > Embedded OC4J Server Preferences.
In JDeveloper 10.1.3, the embedded OC4J server uses the jazn-data.xml file that is contained in the current project, ifany.
If there is no jazn-data.xml file in the current project, the jazn-data.xml file for theapplication is used.
This enables you to deploy the user and group settings to a production systemor stand-alone OC4J for testing.
In the Embedded OC4J Server Preferences dialog box,
expand Current Workspace,
Authentication,
and Realms from the tree at the left.
If there is no jazn.com realm under the Realms node, select the Realms node and click New.
Inthe Create Realm dialog box, enter the name jazn.com and click OK,
The default realm in jazn-data.xml is jazn.com, but you can create your owndefault realm if desired.
Under the jazn.com node, select the Users node in the tree and click Add
Add each users you need, entering Passowrd for the Credentials of each Select the Roles node in the tree (under the jazn.com node) and click Add.
In the Create Role dialog box, for example enter manager and click OK.
Create two additional roles: technician and user.
Select user in the Roles list and click the Member Users tab.
Select the following users in the Available list and click Add to move them to the Selected
list to grant the user role to them:
Click OK to dismiss the Embedded OC4J Server Preferences dialog box.

Hi,
most importantly - an i think that I asked you that the first time you posted this question (if it wasn't another tread) - you should give us an idea if what you want to do with JAAS. Do you want to use JAAS in the way that JAAS is designed, to manually call checkPermission on a functionality, do you want to use it for custo authentication (a feature of OC4J that in WLS exist too) or do you want to use ADF Security. Note that the length of a question is not as important as the information it provides. Usecases are the best questions you can ask.
Frank

Similar Messages

  • How to enable JAAS with jdeveloper

    hi all,
    I start reading about JAAS and previously i developed an web application and now i want to implement XML based JAAS in it i searched different articles which shows JAAS with DB support, can any one mention any good article with baby steps for xml based jaas in jdeveloper,
    I first to understand JAAS with babay steps then i will implement it in my application.
    A hello world type of tutorial with jdeveloper.
    Thanks & Regards
    imran

    Hi,
    I started a how-to about using the JAAS provider for container managed authentication. But this is about using container managed security with custom JAAS login modules.
    If you want to natively code in JAAS, all you need to do is to ensure you set the jaasMode in the aplication's orion-application.xml file. See the OC4J security guide, which is a part of teh OracleAs documentation available nline at otn.oracle.com --> documentation
    The XML provider is the dafult provider configured in OC4J and can have user and groups configured as well as JAAS permissions for each of them. You specify the JAAS LoginModule in the system-jazn-data.xml file of the OC4J container and access the login configuration name within your application as part of the created JAAS LoginContext. Once you have this, you obtain a authenticated subject with the user Principals. Using this principals you can now perform check permissions on the AccessController context.
    Frank

  • Using Non-Oracle Implementations of JAAS in JDeveloper TP2

    Hi,
    We have developed an application using JDeveloper TP2. We need to secure the web application using JAAS. However, we are not using ADF as we met into some browser incompatibility problems and as such the project's Technology Scope are as follows:
    HTML
    JSP
    JSP and Servlets
    JAVA
    XML
    We are using a Native Datasource for handling database connections.
    We would like to know how we can implement a CustomLoginModule without using oracle (ADF) implementation of JAAS and preferably without using the ADF Security Wizard as it does not work within our application ( i suppose this is because we are not using ADF)
    Cheers,
    Jankee Yogesh

    Duplicate of Re: Using Non-Oracle Implementations of JAAS in JDeveloper TP2

  • Jaas in jdeveloper 11

    Hello , help me , how i use jaas in jdeveloper 11 , i was use its in jdeveloper 10 but now cannt that ,
    Edited by: user10495653 on 30/10/2008 02:57 م
    Edited by: user10495653 on 31/10/2008 12:19 م

    I do this in jdeveloper 10 but how I do that in jdeveloper 11 :
    Tools > Embedded OC4J Server Preferences.
    In JDeveloper 10.1.3, the embedded OC4J server uses the jazn-data.xml file that is contained in the current project, if
    any. If there is no jazn-data.xml file in the current project, the jazn-data.xml file for the
    application is used. This enables you to deploy the user and group settings to a production system
    or stand-alone OC4J for testing.
    In the Embedded OC4J Server Preferences dialog box, expand Current Workspace,
    Authentication, and Realms from the tree at the left.
    If there is no jazn.com realm under the Realms node, select the Realms node and click New. In
    the Create Realm dialog box, enter the name jazn.com and click OK, as shown in the following
    screenshot. The default realm in jazn-data.xml is jazn.com, but you can create your own
    default realm if desired.
    Under the jazn.com node, select the Users node in the tree and click Add
    Add each users you need, entering Passowrd for the Credentials of each:
    Select the Roles node in the tree (under the jazn.com node) and click Add.
    In the Create Role dialog box, for example enter user and click OK.
    Create two additional roles: technician and manager.
    11. Select user in the Roles list and click the Member Users tab.
    Select the following users in the Available list and click Add to move them to the Selected
    list to grant the user role to them:
    Click OK to dismiss the Embedded OC4J Server Preferences dialog box.

  • Soa 11g and jdeveloper 11g user defined extension function

    I have developed a set of extension functions,
    in design time for the previous version, I can put the deployment file (jar file) that contains the extension functions in the %JDEV_HOME%\jdev\lib\ext directory and jdeveloper recognizes the set of extension functions if previously i have defined an xml descriptor with every one of the functions i need to include in the panel.
    Now, with the jdeveloper 11g i have tried the same, and jdev recognizes the functions, but when I am going to test one transformation that includes the extension function, the parser is not founding the jar file; the error (in spanish) is:
    XML-22045: (Error) Error de funcion de extension: No se ha encontrado la clase '
    Falta la clase: aac._shared.extensions.xsl.XmlW3cDomFunctions
    Clase Dependiente: oracle.xml.xpath.XSLExtFunctions
    Cargador: main:11.0
    Origen del Codigo: /C:/.extracted/jdevstudio1111/lib/xmlparserv2.jar
    Configuraci≤n: system property PCLMain.createExtensionManagerLoader()
    Esta carga se ha iniciado en main:11.0 mediante el mΘtodo loadClass().
    La clase que falta no esta disponible desde ningun origen de codigo o cargador del sistema.
    my dude is:
    + at design time, where can I put the jars with extension functions to make one transformation function used in a mediator component can works fine?
    + at runtime, where can I put those libraries? (in the previous version, we can put this libraries in the %APP_SERVER%\j2ee\home\applib, or create one shared library and reference it in the oracle.bpel.common shared library declaration of the server.xml configuration file).

    Hi,
    please post this question to the JDeveloper 11 forum. Please translate the messages into English as well
    JDeveloper and OC4J 11g Technology Preview
    Frank

  • JAAS and j_security_check

    Hi there,
    I'm using Weblogic 6.1 and working on the security aspect of a project.
    What I want to do is to set up the app so that a user logs in and gets authenticated
    using JAAS. I also want to secure the app so that all requests for urls must
    be authenticated first i.e. They go through the login page first.
    The easiest way I can see to do this is to use FORM based authentication using
    j_security_check.
    Is there a way then to set whatever j_security_check in the session, within the
    JAAS part of the code? Rather than authenticating with JAAS and then sending
    username and password to j_security_check.
    Does anyone know what to set? I looked at previous messages but they seem to
    deal with earlier versions and these do not work with 6.1
    Any help would be appreciated,
    Thanks,
    Ian

    Frank, thanks for comments.
    Yes user info is in the sama database so I can get it from there, but I would like to call this DB function once after succesfull authentication. In addition we have kind of 2 level passwords in place, one application password and one internal db password for user to access database resources.
    User does not know his/her db password, we have just api to get db password after authentication and existing application api (developed for forms client originaly) assumes user access db by his own connection, so in many api's oracle function user is stored in some tables.
    So what I need is after authentication of user (with application password) I can get Oracle password and then make new DB connection to all application api, just would like to store Oracle password (or new user db connection )somewhere so I dont need to fetch it everytime I need to call application API.
    ferdo

  • Authentication & Authorization with SSO, JAAS and Database Tables mix

    Hi,
    I'm looking for how manage Authentication & Authorization in a J2EE ADF+Struts+JSP application.
    I'm interested in use SSO for authentication (I just did it programatically & dynamically already), and now I would like to could define authorization using database tables with users, groups, profiles, individual permissions, ..., (maitanined dynamically by web application admin) throught JAZN (JAAS or however is said) but not statically defining roles, groups, users, ... in jazn xml files.
    I saw that exists the possibility to create a custom DataSourceUserManager class to manage all this, and this gave me the idea that this could be possible to do (I was thinking in make a custom Authorization API over my application tables, without JAZN) but what is better that use and extended and consolidated aprox like JAZN.
    Anybody could tell me if my idea could be possible, and realizable, and maybe give me some orientation to build this approach.
    A lot of thanks in advanced.
    And sorry, excuse my so bad english.
    See you.

    Marcel,
    Originally the idea was to create a post to only explain how to do authentication using a Servlet filter. However,
    I have recently added code to the JHeadstart runtime and generators to enable both JAAS and 'Custom' authentication AND authorization in generated applications. Therefore, this post will be made after we have released the next patch release, as it will depend on these code changes.
    We currently plan to have the patch release available sometime in the second half of May.
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • Database Lite and JDeveloper / ADF

    Hello,
    I'm planning to create a small application which will run on mobile PC in an off-line mode, having synchronization with master DB once connected to the proper network.
    The main architecture on the target PC may be :
    - Oracle Lite
    - GlassFish
    - ADF application
    I downloaded JDeveloper 11.1.1.3.0 and the latest version of Oracle Lite (10.3.0.3).
    I'm looking the tutorials but none of them are talking about the JDeveloper 11g version, they all speak about BC4J/OC4J. Since I'm new to Oracle's product I don't know these "products" (framework ?) and in the 11g version this seems to have disappeared.
    Are those versions compatible with each other ?
    Will the tutorial work ?
    Regards
    PS: the same thread is present on the JDeveloper forum

    The main thread will be the one on JDeveloper section :)
    ==> Database Lite and JDeveloper / ADF

  • JMS with weblogic and jdeveloper IDE

    HI,
    I am a newbie to jms..could anyone provide me a sample tutorial to test and deploy a sample jms application using weblogic and jdeveloper IDE.
    Thanks,
    Amy
    Edited by: 838667 on Feb 22, 2011 2:50 AM

    ...I have a strong feeling this is a TIBCO-related issue where you're not doing the lookup the way TIBCO likes.

  • JAAS and JBOSS

    I'm trying to use JAAS to log in a user on a JBOSS app, but am running into a problem. I'm able to successfully authenticate the user, and retrieve a Subject from my LoginContext. However, once that request is done (i.e. the browser displays the "log in complete" page), the application seems to forget that the user was logged in. How does JAAS and JBOSS keep track of the logged in user? Is this done by keeping a singleton of LoginContext around in some scope? Right now I'm creating a new instance of LoginContext, and using it to load a new instance of my CallbackHandler. Note, when I used JBOSS default form based authentication, it kept the user logged in. However, I can't use their default auth because I have some custom things I need to do.
    Thanks in advance for any help you provide.

    Hi,
    I tested this on OC4J for you and here - after setting jbo.security.enforce to Must, the user principal name and the roles are displayed.
    So there are three possibilities why you don't see things working
    - JBoss doesn't add the role principals to the Subject so they become available in the session
    - You attempt accessing this information in a prepareSession() override without enforcing authentication to happen for the root page - URL pattern = /
    - ADF BC security doesn't recognize the custom role principal
    After briefly reviewing the security implementation code, it seems that ADF BC security is dependent on Oracle JAZN for authorization.
    Frank

  • The missing ring between Designer and JDeveloper.

    I'm a user of both Designer and JDeveloper and I found a difficulty in making both updated at once.
    I would like to have something wich can help to map Designer table definitions to ADF entities but I still don't see anything usefull.
    I hoped the integration between Desigern and JDev could help me, but it's based upon Modules and not upot tables and then is useless.
    I looked for Jheadstart but it seems to have similar problems.
    Is there any plan to fill the gap ?
    Is there any viable soluntion already done ?
    Tks
    Tullio

    Repost

  • Hi, im a beginner in ADF and JDeveloper. Can anyone suggest me any video links for learning Oracle ADF?

    Hi, im a beginner in ADF and JDeveloper. Can anyone suggest me any video links for learning Oracle ADF?
    Thanks,
    Vijay

    Refer the below link as a starting point.
    https://blogs.oracle.com/shay/entry/how_do_i_start_learning_oracle_adf_and_jdeveloper
    http://sameh-nassar.blogspot.com.au/2010/04/main-references-to-learn-oracle-adf.html
    Cheers
    AJ

  • OBIEE 11.1.1.7 and JDeveloper integration

    Hi all,
    I am integrating OBIEE 11.1.1.7 with J Developer. I have installed OBIEE 11.1.1.7 and JDeveloper 11.1.2.3.0 on my machine. Can anyone tell me the further steps to move on.
    As per my research, I have to download an extension called Web Center portal in JDeveloper. But it is not getting displayed in the extension list. Is it compatible with this version ? If not, then which versions is it compatible with.
    Apart from this I also came across the extensions called BI ADF task extension Bundle, BI ADF Bundle. Can anyone provide me appropriate links that demonstrate use of these extensions (Any tutorials or so).
    I am just trying to explore the possibilities of OBIEE with J Developer.

    Pl see if MOS Doc 337737.1 (Oracle Clusterware - ASM - Database Version Compatibility) can help
    HTH
    Srini

  • Oracle Coherence Examples with Oracle SOA suite 11.1.1.4.0 and JDeveloper.

    Hi,
    I am new to Oracle Coherence. I was looking for examples implementing Oracle Coherence step by step so as to get a basic understanding using JDeveloper but most of the examples available are using Oracle Service Bus and Eclipse.
    Could anyone please help me in providing link with examples using Oracle Coherence with Oracle SOA suite 11.1.1.4.0 and JDeveloper.
    Thanks for the needful.
    Cheers,
    Varun

    Hi Varun,
    Please find the answers to your questions below:
    1) Could you please let me know how to use this system property -Dtangosol.coherence.override in my application so that I can coordinate between the cluster used by my application and the one started for using Coherence Node.
    You need to specify this property in the Java Options of your server or cache node startup script.
    2) I was trying to understand how to use this tangosol-coherence-override.xml but the document is pretty confusing. I am not able to understand that whether I am suppose to use it at server level or at application level.
    I would suggest extract the coherence.jar and you it would be important for you to have a look at the tangosol-coherence.xml and tangosol-coherence-override.xml. This file is used to override any of the properties specified in tangosol-coherence.xml for your cluster configuration for example, clustername, multicast ip and port or WKA for unicast, logging and so on.
    3) Another point is how to coordinate among tangosol-coherence-override.xml, coherence-cache-config.xml and -Dtangosol.coherence.override system property from my application
    Ideally you should specify in the java options of your application startup but you can also sepcify using System.setProperty("property", "value") in you code for specifying the various properties
    4) How to use the cache updating mechanisms from an application?
    I am not clear what do you mean by cache updating mechanisms? If you mean how you can update the cache from application then you can use simple Put, Entry Processor and so on. Refer NamedCache APIs to start with for operations but there many other ways to update the cache from within application or otherwise
    Hope this helps!
    Cheers,
    NJ

  • 10g database, cluster on aix and jdeveloper

    Are there some known incompatibilities between oracle 10g database with cluster on aix and jdeveloper application (jdev 10g) using dynamic jdbc credentials (jsp, bc4j, adf)?

    My application vendor advises me that my patch level on AIX should be equivalent to that of the following windows patch level.It may not be available becuase most of them are OS specific..If there is patch for Windows behaviour how are you expecting a patch for an Unix version
    Explain your vendor about this buton the other hand if it is a generic issue then you should look for AIX patch
    Edited by: Maran Viswarayar on Jan 18, 2010 5:10 PM

Maybe you are looking for

  • Asset PO Price Variance posting w/out asset account assignmt to wrong acct

    We're bringing up fixed assets and are struggling with the account assignment behind PO Invoice receipt (MIRO) and price differences.  At the moment, the PO is A account assigned and has the standard SAP settings except that the GR is valuated and th

  • I can print from every app on my MacBook except with Firefox. Printing and print preview only produces blank pages???

    I have a MacBook Pro with Mac OS 10.6.4. Within Firefox, if I select File -> Print and then select preview a get a blank page. The same thing occurs if I sent the print request to my printer. I can print and preview from Safari and from any other app

  • Sony W580i plug-in not working

    I am trying to sync my sonyesrickson W580i but I keep getting the message: iSync is unable to locate the plug-in for this phone.... I downloaded this plug-in but does not have an install option What should I do?? Thanks

  • Help needed getting old settings into Logic X

    I've been using Logic for a very long time, so I have thousands of plugin settings that I've saved or downloaded over the years. Logic 9 used to automatically include everything from the Plugin Settings folder within the Logic 6 Series folder - all s

  • P900 and iSync failure

    I am running iMac G4 with OSX.2.8 and iSync 1.5. Have a P900 with Bluetooth and after a lot of teething problems got it to synch correctly last year, but I have no idea how! Suddenly it has failed to synchronise again for no obvious reason, except on