JAAS - any example for: Security.setProperty ?

Hi there,
I've just started to play with JAAS. I wonder if anyone can provide an example of such file for: login.rule
When I run my application I get the following error:
Exception in thread "main" java.lang.SecurityException: C:\workspace\Ds\login.rule (The system cannot find the file specified)
Assuming I create such file - what should be the content inside?
Thank You!
Security.setProperty("login.config.url.1", "file:C:/workspace/Ds/login.rule");

Hello Friend,
The detailed instructions for setting up an external LDAP
provider for WLS 7.0 can be found at the following link.
http://e-docs.bea.com/wls/docs70/secmanage/realm.html#1172008
I hope that helps.
Regards,
Tom Hegadorn
Developer Relations Engineer
BEA Support
"Friend" <[email protected]> wrote:
>
Is there any example I can follow to setup a LDAP as the default security
realm
for wls7.0 ?

Similar Messages

  • Is there any Example for N9010A EXA Signal Analyzer

    Hi All,
    Is there any example for N9010A EXA signal analyzer , I tried to use example of MXA got from the driver page but couldnt get to work. I need to capture the RF data form the analyzer. Please let me know if there any example or way to do it.

    AnkitG wrote:
    Hi All,
    Is there any example for N9010A EXA signal analyzer , I tried to use example of MXA got from the driver page but couldnt get to work. I need to capture the RF data form the analyzer. Please let me know if there any example or way to do it.
    That is an Agilent instrument. Shouldn't be looking for examples on THEIR website?????

  • Any example for using LDAP for WLS7.0

    Is there any example I can follow to setup a LDAP as the default security realm
    for wls7.0 ?

    Hello Friend,
    The detailed instructions for setting up an external LDAP
    provider for WLS 7.0 can be found at the following link.
    http://e-docs.bea.com/wls/docs70/secmanage/realm.html#1172008
    I hope that helps.
    Regards,
    Tom Hegadorn
    Developer Relations Engineer
    BEA Support
    "Friend" <[email protected]> wrote:
    >
    Is there any example I can follow to setup a LDAP as the default security
    realm
    for wls7.0 ?

  • Any example for a MFC, WTL or Win32 without Measurement Studio?

    It seems that NI wants you buy their Measurement Studio which can easily cost you a fortune. I am looking around a simple example for MFC, WTL without touching the measurement studio. But if you do not have measurement studio, NI only gives you very old examples in ANSI C which is difficult to implement to MFC or WTL. Apparently they want to increase their revenue by forcing you to buy the Measurement Studio. But I will not buy their hardware in the future if this is their strategy.
    Anyone successfully implement the ANSI C example to MFC or WTL without measurement studio? Can you share an example?

    Junqi,
    Im a little confused with this request in general. What development environment are you using? Visual Studio? Also, what language are you coding in? We provide C, C#, VB.net, and legacy VB6 examples with our DAQmx driver that do not require measurement studio. They can be found in documents\National Instruments\NI-DAQ\Examples 
    Now forgive me if Im misinformed about this, but MFC and WTL are just libraries that have some of the windows API wrapped into them, correct? If so, I dont see how interfacing with them is any different than interfacing with any other library, or why this would cause issues with doing DAQ calls. If you need help with the MFC or WTL library, there are many good places to find help with on the internet. MSDN, codeproject.com, and many others come up as having examples of using MFC in various projects.   
    The MS examples dont install withough MS because they wouldnt be able to be used because they use libraries that are installed with measurement studio, so they would be nonfunctional and largely useless. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

  • Any example for ENQUEUE_ARRAY for JMS compatible messages?

    Is there any examples of using ENQUEUE_ARRAY with messages that are compatible with JMS? either a VARRAY or NESTED TABLE of JMS content?
    I have an after insert trigger that propagates to JMS and in the for each row loop I'd much rather enqueue as a batch than for each individual message.
    It's hard enough getting JMS compatible content working where you are enqueuing just a single message but just what's involved to get this working with batches of JMS compatible messages?

    Hi prajithparan,
    Thanks for the response. I already looked at the link and a few other links in this forum that are related to array inserts/updates. However, I could not find answers to my specific questions. I am specifically concerned with the setup of parameters to the API calls (OCIBindByName and OCIBindArrayOfStruct) that fully reflects the two-dimensional nature of the array of structs that I am trying to insert.
    Moreover, I need to set the data type of the columns to be inserted as SQLT_STR. I think this data type requires the programmer to supply the length of the null terminated C strings as well. If we are inserting just one column, we can provide the length of each of the strings to be inserted into a VARCHAR2 column as part of a OCIBind call, for each of those columns.
    Since in an array insert, we are supplying multiple rows at the same time, how do we supply the lengths of strings to be inserted ? Should it be some form of two-dimensional array ?
    I could not get clear answers to these questions from either the Oracle documentation or the links on this forum. May be the answers are there and I am just missing them ?

  • Any example for Timed ShellScript Discovery with PowerShell Discovery Probe?

    Hi all,
    Kris Bash provided a unix authoring library with many examples for dynamic discoveries for Unix/Linux (Unix/Linux Authoring
    Library). What I am missing here is a timed shell script discovery, using a powershell discovery probe for creating discovery data. There is only a PropertyBag Discovery available.
    Maybe one of you has already implemented such a discovery and can provide this as an example? I tried some things but so far it is not working.
    The idea behind this is to execute a shell script on a linux host that returns several lines. The output should then be parsed by a powershell script that - depending on the output - creates different class instances. Any ideas?
    Regards,
    Holger

    Holger,
    See the blog post here (http://operatingquadrant.com/2011/03/24/operations-manager-%e2%80%93-extending-unixlinux-monitoring-with-mp-authoring-%e2%80%93-part-iii/)
    for an example of using the PowerShellDiscoveryProbe.  It doesn't matter whether this follows a Shell Command or a Shell Script probe, as in both cases you are passing the StdOut output as a parameter to the PowerShell script.  You would parse StdOut
    just as you do in the PropertyBag examples, but use the MOMApi calls to create and return the class instances and properties.
    I hope this helps,
    Kris
    www.operatingquadrant.com

  • Any examples for drawing image in comboBox?

    Hi,
    I don't know how can I list some images in comboBox, can some of you provide an example for me?
    Actually, If I make an own class, which save some parameters and implement the onpaint. Can this object to be drawn in comboBox?
    thanks a lot

    my deadline is coming.., so I need urgent help...
    here is some of my code, can any experts give me suggestions?
    I created a listdata class, to store each items for comboBox:
    class listData
        protected ImageIcon m_icon;
        protected int m_index;
        protected boolean m_selectable;
        protected String m_data;
        public listData(ImageIcon icon, int index, boolean selectable, String data)
            m_icon = icon;
            m_index = index;
            m_selectable = selectable;
            m_data = data;
        public ImageIcon getIcon()
            return m_icon;
        public int getIndex()
            return m_index;
        public boolean isSelectable()
            return m_selectable;
        public String getString()
            return m_data;
    }and I implemented the ComboBoxRenderer as :
    class ComboBoxRenderer extends JLabel implements ListCellRenderer
        public ComboBoxRenderer()
            setOpaque(false);
        public Component getListCellRendererComponent(
                JList list, Object obj, int index,
                boolean isSelected,   boolean cellHasFocus)
            if(obj == null)
                return this;
            boolean selectable = true;
            if(obj instanceof listData)
                listData ldata = (listData)obj;
                selectable = ldata.isSelectable();
                setIcon(ldata.getIcon());
            else
                setIcon(null);
            return this;
    /code]
    and how I setup the comboBox is :....
    if(this.images != null)
    for(int i=0; i<images.length; i++)
    jComboBox_Page.addItem(new listData(images,i,
    true, images[i].getDescription()));
    ComboBoxRenderer renderer = new ComboBoxRenderer();
    renderer.setPreferredSize(new Dimension(86, 86));
    this.jComboBox_Page.setRenderer(renderer);
    am I wrong in some parts ?? Can you help ??
    Thousand Thanks !!!!!

  • Any example for (bounded task flow) popup return value

    I need to know what is the type of popup RETURN VALUE
    any example will be great

    I want to get parameter form popup bounded task flow with NO page fragment (task flow 1) to jsff page from another task flow with page fragment(task flow 2)
    I applied the scenario exist in URL's in first replay and it didn't work
    when I select task flow 1 from inside task flow 2 diagram I found in its inspector page filed called "Dialog Return Value"
    how can I use this field

  • Any ideas for security and parental control software yet???

    Just received two of the touchpads from the fire sale and gave them to my kids, both under 10.  I am very interested in limiting the sites that can be accessed through the browser, as well as a few other things.  Has anyone found a practical means of doing this?  I'd hate to give up on this and switch it over to Android, especially since there is only Gingerbread available.  But, I just don't know what else I can do about these.  Any ideas? 
    Thanks!
    Post relates to: HP TouchPad (WiFi)

    Please take this post with a grain of salt. I don't claim to be a security and parental control software expert, but I have researched these solutions and have some personal experience with them. That being said, here's some ideas to get you started.
    As speedtouch mentioned, OpenDNS is a fantastic solution for website filtering. They have a great set of filters that can be customized and are one of the easiest systems to set up. Simply install an updater app on one of your desktop computers (or directly on your router if it's supported), configure your router to use their DNS servers, and you're good to go. I personally use this system mysefl and it works really well. The only downside in my experience is that there is not a temporary override system (at least, not in the free version that I use). An example of when this might be handy: my wife goes clothes shopping and looking at new bras. Every once in a while, a perfectly legitimate site might get blocked (in this case, probably something I don't want my kid looking at but perfectly fine for my wife). The option to "temporarily override the block" or "temporarily allow" the site would be nice, but it doesn't exist.
    Another FANTASTIC solution that I've used in the past is the Astaro Security Gateway. They have a free home version of their "Software Appliance" that goes above and beyond OpenDNS. I haven't used it in a while, but when I did it was able to not only filter web sites but also monitor Instant Messaging and other online activites. It's a bit more involved as you need your own hardware (I used an old computer with 2 network cards and stuck it in between my router and my broadband modem), but the results are pretty powerful.
    The downside to all these solutions, however, is that they will only work when the TouchPad is on your network. If they connect to a neighbors network of if the go to a friends house, all of these systems will be moot because they are completely bypassed. The only way to monitor that content from ANY network would be to install an application on the device itself and to my knowledge, none exist.

  • Is there any example for a software transceiver in labview / labview modulation toolkit ?

    hi everyone
    i am sure you have heard of this a lot ..... but i am new (like 20 minutes old) to labview. i am quite fimiliar with matlab and other programming languages. i am doing a project based on software defined radio. for that i understood an example demo from matlab where a fully functional software transceiver has been built as an example.
    now i myself have to do that in labview for the sake of comparison and better real time compatibility with USRPs. i am just getting started and was hopping if there is a similar example in labview or someone else's project. i have installed the modulation toolkit and have gone through its various blocks. i understand that i can build a tranmitter and receiver from scratch but that would take a lot of time and testing. so can anyone help me out in any way.....?
    regards
    khurram

    Hi khurram,
    did you look for examples with the ExampleFinder?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Any examples for loading a Flash video player into a JavaScript layer?

    I want to build a web page with a button that when clicked opens up a javascript layer and loads a flash player inside that layer.  And that layer would need a close button.  Does anyone know of any tutorials to help me do this?
    Thanks!

    Similar subject discussed here:
    http://board.flashkit.com/board/showthread.php?t=819704
    follow thread down to responses by Video Man (aka Adninjastrator) for simple javascript hide/show solution.
    That example needed to be launched from Flash.. so you see the big blue button.
    but just as well could be launched from HTML. sample page here:
    http://www.hiesequim.com/education_center_test.html
    view the source code to see how the overlay and video player are positioned using CSS (#mediaspace2).
    There are a number of ways to implement show/hide, so Google more more info.
    Best of luck,
    Adninjastrator

  • Is there any examples for VB as the "Cont Acq-Int Clk" for ANSI C?

    I wanna acquire  continuous datas using the USB-6008 in VB , but I can't find how to use "EveryNCallback" in VB!
     there is any way to acquire  datas continuing for real time computing in VB?
    Thinks!

    The device can return a set of samples after a amount of sampling(at least 1000 times, that's enough), namely at a longer time.
    Maybe there is RAM in the device which I didn't find on the user guide & specifications.
    Well.Now I have known the bottleneck is the slow reaction of PC.\(^o^)/
    The examples of VB still doesn't work. its parameters settings show in the picture.
    If I set the Sample Rate above 300Hz it show that msgbox after seconds ,if below 300Hz, it can work longer, .
    And if I set like this:
    it can work well,even the Sample Rate up to 10kHz.
    Wait for anyone who can settle this.
    Thanks for your patient help,NIhuyu!
    Yutong Sun
    帖子被gamesun在 10-20-2009 04:51 AM
    时编辑过了
    帖子被gamesun在 10-20-2009 04:51 AM
    时编辑过了

  • Any example for user-defined fuction

    Hi all,
    i need to write user defined fuction , i am very much confused with container and ll this stuffs , pleasse send me example with coding explanation
    thanking you
    sridhar

    Hi,
    How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API -
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
      Re: Advanced User Defined Functions - Handling Contexts  
    Posted: Aug 31, 2006 7:45 AM    in response to: Kausik M       Reply      E-mail this post 
    Hi,
    This blog talks about context handling
    /people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping
    This is will give you a clear idea and will be hwlpful for sure
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/190eb190-0201-0010-0ab3-e69f70b6c257
    Advanced User Defined Functions - Handling Contexts
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/190eb190-0201-0010-0ab3-e69f70b6c257
    http://help.sap.com/saphelp_nw04/helpdata/en/40/7b8e40496f6f1de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/e127f28b572243b4324879c6bf05a0/frameset.htm
    Regards
    Chilla
    <i>reward points ..</i>

  • Are there any examples for programmatically creating OBR 11g rules?

    I am looking for some examples about how to use the API to create rules from Java code as the SDK documentation is very terse. Are there examples out there for creating rules?

    m_userName wrote:
    When you create items in IB, they always appear at a default size (table view cells and nav bars have a height of 44, etc.). Is there anywhere to access these constants in code, for when you are creating elements programmatically?
    Not that I know of.
    When I want the default dimensions for IB Library objects, I generally drag the objects of interest out of the Library, and read the dimensions manually in the Size Inspector. In fact, when I want to create a view programmatically, I often lay it out in IB, then use the Size inspector to get the frame of each subview.
    \- Ray

  • Are there any examples for using a CAN card via XNET on a real time system?

    I am programming a real time application and I have a PXI 8512 card.  My first order of business is to get 5-byte messages from transducers that are broadcasting at 10 Hz on known message IDs.  There are no CAN/XNET samples in my "realtime" CVI sample folder.  I have found some in the nixnet folder but they are Windows based so I have to hack a lot of stuff out of them.
    Thank you.
    Michael Chadwell
    Department of Engine and Vehicle R&D
    Southwest Research Institute

    In other words, I just need to do something very similar to this with no user interface:
    NOTE: See attachment
    Michael Chadwell
    Department of Engine and Vehicle R&D
    Southwest Research Institute
    Attachments:
    CAN Bus Monitor.jpg ‏83 KB

Maybe you are looking for

  • How do I get PDFs to appear in the site search results?

    I have read that the BC site seach will show PDF files in its results - http://forums.adobe.com/message/5077569. I have added a PDF via the media dowloads and added the litterate to a test page via the module {module_literature,a,}. I then reindexed

  • How to check data in the cube

    for integration purpose, how can you go and check data in the cube and validate it against the query data ? i know we can go to corresponded infocube and right click "display data" but what's on the query is not available when i execute "display data

  • How to debug PL/SQL functions? Passing parameter and debugger error

    Hi, How to debug a PL/SQL function in JDeveloper? There are two problems with it: 1) Don't see how it's possible to pass parameters required by function call (in the dialog opening after Debug -> Debug FUNCTION_NAME) 2) In a function returning table_

  • Event Back ground scheduling information

    Hello Guru's The start variant in the process chain has after event SAPXXXX. This is a user defined event. The process chain first executes the event and then executes the rest of the steps in the process chain. I would like to know the jobs performe

  • 3gpp file association in Bridge CS5 Production Premium

    Hello, To make the issue really simple, I have a video camera on my phone that outputs video to a .3gpp file extension. I am trying to associate Quicktime to open it as the default for Bridge. The .3gpp or .3gp file extension is not listed in the fil