How to build my own policy?

i need build my own policy to interact with database.
just tell me where can i get a better reference of this.
thanks a lot

http://www-106.ibm.com/developerworks/library/j-jaas/?n-j-442
This example from IBM is very good however it does more than you may need. Concentrate on the XMLPolicy.java code and corresponding .xml files.
hope this helps!

Similar Messages

  • How I build my own libraries of classes/methods in java ?

    How I build my own libraries of classes/methods in java ? how then I refer a functionX() (i mean method) in LibraryX ? can you give a short/brief example of a library with a class with a method and a main method of normal class calling this method (of external's added library's) ?

    Just another cross poster.
    [http://www.java-forums.org/new-java/12389-how-i-build-my-own-libraries-classes-methods-java.html]
    db
    edit And [http://forums.java.net/jive/thread.jspa?messageID=305387]
    Edited by: Darryl.Burke

  • How to build my own SOAP envelope

    Hi
    after a lot of work I have now realised that my SOAP to SOAP scenario can't use SAP XI std SOAP ENVELOPE on the receiver part.
    How to I build my own SOAP ENV in my RECEIVER payload? iMaybe in the mapping or in the WSDL/XSD?
    Any guides or experienses are welcome
    hope someone can help
    cheers

    Hi Bowie,
    Here is one possible approach...
    1) Set "Do Not Use SOAP Envelope" in your Receiver SOAP Adapter.
    2) Add this xsl as a second step in your interface mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
          <env:Body>
            <xsl:copy>
              <xsl:apply-templates select="@*|node()"/>
            </xsl:copy>
          </env:Body>
        </env:Envelope>
      </xsl:template>
      <xsl:template match="@*|node()">
        <xsl:copy>
          <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
      </xsl:template>
    </xsl:stylesheet>
    You can then modify the soap envelope nodes above to create what you need.
    -Russ

  • How to build your own install img?

    How do I build my own arch install image...iirc there are tools but I don't know how to use them.
    Also is it possible to use the usb .img installer off of one's harddrive?  I know I can use dd to put it on a partition, but was wondering if it would be able to boot and install properly.

    This is from an email by Dieter to the arch-releng list:
    git clone http://projects.archlinux.org/git/archiso.git
    cd archiso/archiso
    sudo make install #to be packaged later
    cd ../configs/install-iso
    # change version in Makefile
    # if on x86_64, remove intel-536ep and intel-537 from packages.list
    ./buildall.sh
    scp release/* ...somewhere...

  • How to build my own LEXER

    Hi :
    I want to build a Text Query Application which bases on Oracle interMedia Text. Besides some default languages the interMedia supports (English, French ...), I need index on my own language document. When I refered to the Oracle Text Reference, I saw that I can use the BASIC_LEXER for English and all other supported whitespace delimited languages. My language is Vietnamese which has whitespace delimiter. The question is that can I build my own language dictionary-lexer (similar to some default dictionaries : English, France, German, Chinese ...) to index my document and how can I do that ? In the documents I refered (Oracle Text Application Developer's Guide and Oracle Text Reference) I could'n find direction for doing this.
    Thanks.

    Hi,
    In 9.2 there is a new feature: USER_LEXER. The USER_LEXER lets you write and plug in your own lexer to handle
    languages or other indexing techniques that Oracle Text does not support. We will be publishing the 9.2 Text technical
    overview in a few days that shows you how to do it.

  • How to build my own SELECT-OPTIONS?

    Hi experts,
    I hv 4 values like for a field, (say VBAK-BNAME),
    NAME_A
    NAME_D
    NAME_M
    NAME_Z
    My selection- screen is like,
    SELECT-OPTIONS: MANAGER FOR VBAK-BNAME.
    So,
    1) How to build the SELECT-OPTIONS table in my ABAP code?
    I mean, if the user enters the NAME_A TO NAME_Z in select-options, the system shuld take in-between NAMEs also!
    (Actually, I thiught that, the SAP will take care of building the select-options table based on Alphabetical Order, but, When I observed in debug mode, its not like that!)
    2) And Where I hv to write the code for building select-options? I mean, Is it DATA DECLARATION part, AT SELECTION SCREEN or AT SELECTION SCREEN OUTPUT or START OF SELECTION?
    thanq.
    Message was edited by:
            Sridhar
    Message was edited by:
            Sridhar

    Hi,
    Pls. suggest me other than RANGES?
    Well, if you don't want to use RANGE then you can do it at SELECT statement.
    SELECT BNAME
    INTO TABLE ITAB
    FROM VBAK
    WHERE BNAME IN ( NAME_A, NAME_D, NAME_M, NAME_Z )
    OR
    SELECT BNAME
    INTO TABLE ITAB
    FROM VBAK
    WHERE BNAME BETWEEN 'NAME_A' AND 'NAME_Z'.
    2) under which event i hv to write it?
    If you are using in SELECT statement, then you use at START-OF-SELECTION.
    If you are buiding RANGE, then you can use at any events such as INITIALIZATION, AT SELECTION-SCREEN OUTPUT, START-OF-SELECTION, etc.
    Regards,
    Ferry Lianto

  • How To Build Your Own Audit Rules in Jdeveloper 11.1.2.0.0 ?.

    Hi All,
    I am using Jdeveloper 11.1.2.0.0. I followed below link:
       http://www.oracle.com/technetwork/developer-tools/jdev/index-098707.html#01But in this link ,they are explained about how to creating our own audit rule in Jdeveloper 10g.
    How to create our own audit rule in Jdeveloper 11.1.2.0.0 ?.
    As per my old link,
    Jdeveloper 11.1.2.0.0 Aduit rules problem.unable to add more rules and change that warning message.
    As per the below link,
    Third party extension in Jdeveloper 11.1.2.0.0unable to use any third party (PMD) plugin.
    Any idea ?.
    Thanks Advance.
    Regards,
    Vass Lee

    Hi..
    Check followings
    http://andrejusb.blogspot.com/2010/03/red-samurai-tool-jdeveloper-11g.html
    http://blogs.oracle.com/jdevextensions/entry/don_t_fear_the_audit

  • How to build my own Db

    Hi, There:
    I installed oracle8.1.5 on NT, it was succesful. now I
    wander how can I start with creating my own db. Do I need
    to act as administrator doing sth then act as a oracle
    user? I am lost here, and also, if there are some documents
    I need to read, please tell me the location.
    Thanks in advance to any helper!
    Lan :-)
    null

    Lan,
    An easy way for you to create your database under NT is using
    the Oracle Database Assistant. It guides you in the creation of
    your database. This is a GUI tool that should be in your Oracle
    NT Program Group.
    Regards.
    lan (guest) wrote:
    : Hi, There:
    : I installed oracle8.1.5 on NT, it was succesful. now I
    : wander how can I start with creating my own db. Do I need
    : to act as administrator doing sth then act as a oracle
    : user? I am lost here, and also, if there are some documents
    : I need to read, please tell me the location.
    : Thanks in advance to any helper!
    : Lan :-)
    null

  • How to build my own HDR photoshop plugin?

    Hi, I am a true fresh here and trying to build a HDR photoshop plugin, with an existing HDR merging algorithm in a static C lib. What I need to do is just to provide a file dialog to read in several images, then to process pixels of these images with the C lib, and last return a result image. In this case, which type of plugin should I focus? Automation, filter, or any others ? Besides that, what should be the key to read files and get their pixels? Would anyone be so kind to offer a hint? Thank you very much!

    Hi Bowie,
    Here is one possible approach...
    1) Set "Do Not Use SOAP Envelope" in your Receiver SOAP Adapter.
    2) Add this xsl as a second step in your interface mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
          <env:Body>
            <xsl:copy>
              <xsl:apply-templates select="@*|node()"/>
            </xsl:copy>
          </env:Body>
        </env:Envelope>
      </xsl:template>
      <xsl:template match="@*|node()">
        <xsl:copy>
          <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
      </xsl:template>
    </xsl:stylesheet>
    You can then modify the soap envelope nodes above to create what you need.
    -Russ

  • How to build custom portal database

    I have installed ias902 infrastructure and instance (portal and wireless). I got the default portal page running (http://domain:port/pls/portal). But this portal repository is stored in iasdb which is infrastructure repository. Could anyone tell me how to build our own custom portal database? So the portal repository will be stored in this custom database instead of iasdb.
    Thanks,
    Jean

    It is explained in Metalink
    Note:199101.1
    Subject: Installing Portal 9.0.2.x in a Remote Database

  • Building my own timer.

    I'm interested in learning how to build my own timer class. Any good pointers or maybe some learning material.

    DarrylBurke wrote:
    I've searched google for the source and taken a look on the site but i seem to only find java docs on them. Any linky or advise on where to find the source so i can find other in the future.Look in the folder where you installed your JDK for a file named src.zip.
    db
    edit Where's Jos when you need him? ;)I can't answer that. I'm still waiting for the ACK postcard from him :)

  • How could I build my own TOOL in Photoshop CS2

    How could I build my own TOOL in Photoshop CS2? Like building a new Brush tool which could draw very fancy lines in Photoshop opened images.

    You can't create a tool in Photoshop, but you can in your own filter plugin (similar to extract or liquify).

  • Wana build my own package - how to do that?

    hey,
    i download the Firefox 3 Beta 3 from Mozilla server http://www.mozilla.com/en-US/products/d … lang=en-US
    my question is how can i install it? i need to create PKGBUILD file?
    what should i know more?
    thanks.

    To learn how to make your own packages read the wiki:
    http://wiki.archlinux.org/index.php/Makepkg
    http://wiki.archlinux.org/index.php/ABS
    http://wiki.archlinux.org/index.php/PKGBUILD
    For FF3, libgnome is an optional dependancy (I think).  FF3 attempts to look native on all platform and Gnome was chosen for linux. FF2 already used GTK.
    Last edited by Allan (2008-03-02 22:28:12)

  • HOW TO: Your very own Adobe Update Server (Windows)

    Well, I thought I'd contribute something after wasting time sifting through info on how to get this done. It's not a hard process at all, once the steps get organized correctly.
    If you are reading this post, you most likely have already seen:
    http://helpx.adobe.com/creative-cloud/packager/update-server-setup-tool.html
    Maybe you’ve seen the dry (read: hard to stay awake and boring) video Adobe has posted as well and yet here we are… I found the materials Adobe provided informative yet riddled with inconsistencies and scatter brained writing. This guide will get you to a working install with minimal pain and effort. I’m sure plenty of you have Mac’s that you’d like to get running as an update server. Good luck, we’re a pc shop and that’s what this guide is going to be on. You can still update Mac’s with a windows based server. Mac users that want to setup an update server on a Mac will have to try and endure that video.
    I like complaining about things, so if you want the relevant info, I bolded it. If you need to change the command to fit your system, I highlighted the relevant section in red. You’re welcome.
    Requirements:
    Windows Operating System 64-bit (just so the file structure makes sense, if you are running 32-bit, that’s fine, but you’ll need to make the necessary changes to my write-up.)
    The requirements for CPU, Memory, and hard-drive free space are minimal (My freshly sync’d update directory is only 30.2GB). I’m going to lean on the safe side and say leave a few hundred gigs free on the hard-drive. All you are doing is making a file store that can be accessed via http from your clients. Any modern day computer can be your host. Have hundreds of client computer that will be downloading from your update server? That’s up to you on how you will want to handle it. Do DNS load balancing across multiple update servers, deploy different override files to different groups of clients that point those groups of clients to different servers, or use sas drives and team multiple gigabit Ethernet ports. I’m sure you’ll figure something out to handle your particular situation. I am just going to focus on a simple step-by-step to get you on your way.
    Step 1: Install Creative Cloud Packager
    This was the first thing that wasn’t clear to me. I’m new to Creative Cloud for Teams. I have 20 computers and knew that updating would be an issue with our internet connection. I intuitively searched for a way to set up an update server and came across the article linked earlier. “Note: AUSST is available in the utilities folder of Adobe® Creative Cloud™ Packager installation.“ Oh, that’s nice. No link. No help on where to get it…
    You can grab the download from your “Manage Your Team” control panel. It’s on the right side under “IT Deployment”. Download it, install it. This how-to isn’t about packages and how awesome they are for deployment or how to use them. So close the packager when you are done installing and move on to step 2.
    Step 2: Create a root directory to store all of your updates.
    I think it’s safe to assume that the root directory will only grow in size over time, so put it somewhere with a few hundred gigs of free space. The cloud is still young but I expect that amount to last you a while. To keep this easy, I created my directory as such:  G:/CreativeCloudUpdate
    Step 3: Run the AdobeUpdateServerSetupTool for the initial sync
    Open up command prompt as an administrator and type the following:
    cd "c:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\CCP\utilities\AUSST"
    AdobeUpdateServerSetupTool --root="G:/CreativeCloudUpdate" --fresh
    When it is done updating, leave the command prompt up, you’ll need it again.
    Step 4: Create the client config file
    For whatever reason, the AdobeUpdateServerSetupTool can’t create a config folder. So you’ll have to make it yourself if you want this to work.
    Go to G:/CreativeCloudUpdate and create a folder called   config
    Head back over to the command prompt and type the following:
    AdobeUpdateServerSetupTool --genclientconf="G:/CreativeCloudUpdate/config/AdobeUpdaterClient" --root="G:/CreativeCloudUpdate/" --url=http://192.168.1.4/
    If this worked, you should get something like the following:
    “Generate Client Configuration XML chosen.
    Files generated at specified path.”
    Double check to make sure the files are generated inside the G:/CreativeCloudUpdate/config directory.
    Step 5: Setup the Web Server
    We’ll use Apache 2.2 for this setup. Yes, I am aware 2.4 is out, and 64-bit is available and that there are different web servers and and and. If you want to set something else up, go for it, be my guest, but you won’t find compile or update directions here. Also, if you want to use IIS, again, go for it. I didn’t find anything wrong with the directions in the very first link in this post. Remember, this guide is simplicity focused. I expect you to know how to keep your own network up to date.
    ALLOW PORT 80 THROUGH WINDOWS FIREWALL OR ANY OTHER FIREWALL SOFTWARE YOU ARE RUNNING ON THE SERVER!
    Download and install the following:
    http://mirror.metrocast.net/apache//httpd/binaries/win32/httpd-2.2.25-win32-x86-no_ssl.msi
    You can keep all of the defaults during install.
    Once installed, you’ll have a little feather and play button in your system tray. Double click on that to bring up the server monitor. STOP the process.
    Navigate to C:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf
    Open up httpd in a text editor like notepad, you’ve got a little editing to do. Do a search and replace. You’ll want to find EVERY OCCURANCE of the following sentence:
    C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs
    And replace it with the following sentence:
    G:/CreativeCloudUpdate
    Save the file. Go back to the Apache server monitor and start the process.
    Step 6: Setup the Clients
    The file is located here: G:\CreativeCloudUpdate\config\AdobeUpdaterClient\win
    And here: http://192.168.1.4/config/AdobeUpdaterClient/win
    It is called: AdobeUpdater.OVERRIDES
    And it needs to end up here on the client computers:
    In Windows XP:
    \Documents and Settings\All Users\ApplicationData\Adobe\AAMUpdater\1.0\AdobeUpdater.Overrides
    In Windows 7/Vista:
    \ProgramData\Adobe\AAMUpdater\1.0\AdobeUpdater.Overrides
    In Mac OS X:
    /Library/Application Support/Adobe/AAMUpdater/1.0/AdobeUpdater.Overrides
    It is your choice concerning how to get the overrides file onto the client computer. THE BEST WAY is to include it in the package you deploy from the Creative Cloud Packager(not covered in this guide). If you already have Creative Cloud installed and want to start updating via the server you just setup: You could use group policy to deploy the file. If you only have a handful of computers, you could put it on by hand. You could script it. You could email it to all your users and tell them to place the file. Pick whatever you feel will work best for you in your environment.
    IF you are just deploying the Creative Cloud in your environment and were smart enough to think ahead and setup the update server FIRST. Look up (If you have to, it’s really intuitive) how to use the package manager and make sure to change the package configuration to use this overrides file.
    Step 7: Check for and download updated files to your update server
    To manually do this, open up command prompt as an administrator and type the following:
    cd "c:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\CCP\utilities\AUSST"
    AdobeUpdateServerSetupTool --root="G:/CreativeCloudUpdate" --incremental
    To do this automatically you need to make a scheduled task to run the command above. The only issue I have run into is the task does not seem to run unless you are logged into the server. If no-one is logged in, the task triggers, but an update never happens.
    All in all, I am happy that there was a way to do this. I AM NOT HAPPY that Adobe made it an after thought. A system service would have been a very elegant solution or you know, a simple custom server app that does everything in this guide for you AND makes it easy to run the incremental updater on a schedule. But noooooo, they couldn’t be bothered to do that, I mean really, who wants their own update server anyways…

    Hi,
    in relation to on to the above could you please share some thoughts on using AUSST in an enterprise environment spread over 50 countries i relation how to setup the AUSST, taking WAN Lines into considerations. We are using SCCM for application deployment and patching. Is there a comparising model for AUSST vs. SCCM?
    i Get the picture using AUSST in a company with one huge Building using the LAN capacity, but what technologies are used to replicate over WAN etc?
    br
    Twinkle6862

  • How to set up Group Policy without any server installed

    How to set up Group Policy on Win8 without any server installed?
    I have set up 50 users on LAN and want to push softwares via one common point. From google I found to deploy Software using Group Policy. But then Group Policy occurs in Servers and I don't have any server set up.

    Hello,
    a Domain requires at least one Windows server OS machine which has Active Directory installed.
    As previous already mentioned from SenneVL this also requires that computers are added to the domain and that you create user accounts in Active Directory users and computers which stores the account information in the Active directory database.
    In your case with single computers each machine has its own database(SAM) which stores passwords etc. this is different in a domain.
    Each computer has a local policy which will be overwritten from centrally managed policies from the domain.
    "The common point would be my PC (Admin PC) ."
    This machine can not be used for your needs with software installation for 50 computers.
    "How To Use the Group Policy Editor to Manage Local Computer Policy."
    This is about the local machine and you cannot manage them for other computers from your Admin PC.
    "DOMAIN part: By default Microsoft takes everyone on Workgroup. Is that not a default DOMAIN? or should I make one lets say "ABC" on every PC ?"
    NO, this is NOT a domain.
    http://windows.microsoft.com/en-us/windows7/what-is-the-difference-between-a-domain-a-workgroup-and-a-homegroup
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

Maybe you are looking for

  • Whenever I try to open a certain document on Microsoft word it keeps saying it is unable to find the document. How do I find it?

    I typed a 10 page paper. And when I went to submit it to my class online the document was grey and it had no information and it wouldn't let me open it; like it was corrupted. When I do click on it, it says that Microsoft Word is unable to find my do

  • When I try downloading I get error code 50

    Hi just bought creative cloud and when I tried to download I keep getting error code 50.

  • "ctime" and "block" column in V$LOCK!!

    Hi. all. What does "block" column in V$LOCK mean? The following is from manual. "A value of either 0 or 1, depending on whether or not the lock in question is the blocker" However, V$LOCK.block in my db is all "2". As far as I konw, if request = 0 ,

  • Mac Pro Freezing Issue

    Hello, My Mac Pro has recently started freezing more than twice a day. This is very weird, this first happened about a year ago, and the Mac Pro would only freeze at most once every two months. But now, it happens about two or three times a day. I ha

  • Some one please help a me out

    Hi, I want some help in writing a code for the following task. Task - given an input ip address, generate an incremental(next) ip address from the input ip address considering that the subnet mask is 255.255.255.0 For example i have something like :