Associating policy files with license server

[ Problem ]
I’m going through the sample and documentation for FA 2.0.  It mentions that whenever a policy is created/updated that the license server has to be informed.  In the reference implementation, there are the model usage policy samples that I see being loaded.  In the non-refimpl of flash access, how does the license server load/know about the policies available?  I looked at the sample flashaccess-tenant.xml, I didn’t see any section where policy files are configured.  Would it have to be done outside of the app?
[ Solution ]
If you update a policy after it was used to package content, and you want the new policy to be used when the user requests a license for that content, the license server needs access to the latest version of the policy. 
In the Reference Implementation, there are two modes demonstrating possible business logic implementations (but of course, you may choose a different approach in your implementation).  The typical workflow for the Reference Implementation is that it will use the policy that was embedded at packaging time to generate the license.  If more than one policy was embedded, it will try each one in order until it is able to successfully generate a license (for example, if the first policy requires authentication and the user did not authenticate, the server will try the second policy in the list.  If the second policy allows anonymous access (possibly with more restrictions), it will generate a license using that policy.  The Reference Implementation supports updating policies through a Policy Update List.  The Policy Update List would be generated when a policy is updated, and contains the latest version of any policy that has changed.  If you point the server to a Policy Update List in flashacccess-refimpl.properties, the Reference Implementation server will automatically check this list for updates any time it issues a license.  Alternatively, if you had an implementation that stores all your policies in a database, you could implement your server to check the database for an updated policy before issuing a license.
As you mentioned, there is another mode which demonstrates four different usage models and uses policy files stored on the server to determine what the license will look like.  In this "demo" mode, the server only looks at the policies used at packaging time to determine if anonymous access is allowed or if authentication is required.  The rest of the attributes used to generate the license come from one of the four policy files configured on the server (see the "Implementing the usage models" section of Protecting Content for more details). 
The License Server for Protected Streaming addresses a slightly different use case (see Flash Access Server Deployment Guide for details).  Here, we expect the minimum policy information to be specified at packaging time, and the license server determines the actual usage rules for generating the license.  In the PolicyOverrides section of flashaccess-tenant.xml, you specify the usage rules (license caching, output protection, etc.).  The license server ignores the policy embedded during packaging and only uses the attributes in the tenant configuration file.  If you want to update the usage rules, you simple modify the tenant configuration file -- in this case there is no separate policy file.

anu1106 wrote:
I replaced all files under folder Java\jdk1.6.0_10\jre\lib\security with files which i am using on windows XP.Why? Why not just install the unlimited strength files in the normal way according to the installation instructions given in the distribution file?

Similar Messages

  • How to install unlimited strength policy files with 2003 windows server

    Hi all,
    I am working on encryption AES 256 bit key encryption.
    128 is default encryption key.But for use 256 bit encryption key need to add unlimited strength policy file with jdk.
    That is working fine on windows xp.
    Now problem
    But when i run on client machine with operating system windows 2003 server standard.
    I replaced all files under folder Java\jdk1.6.0_10\jre\lib\security with files which i am using on windows XP.
    Restarted the computer after update files but on windows server 2003 256 bit key encryption not working.
    Giving following exception
    java.security.InvalidKeyException: Illegal key size or default parameters
         javax.crypto.Cipher.a(DashoA13*..)
         javax.crypto.Cipher.a(DashoA13*..)
         javax.crypto.Cipher.a(DashoA13*..)
         javax.crypto.Cipher.init(DashoA13*..)
         javax.crypto.Cipher.init(DashoA13*..)
    Please suggest me how to run encryption on windows server 2003..
    Thanks
    Anu

    anu1106 wrote:
    I replaced all files under folder Java\jdk1.6.0_10\jre\lib\security with files which i am using on windows XP.Why? Why not just install the unlimited strength files in the normal way according to the installation instructions given in the distribution file?

  • Connection with license server failed

    Hi, I am having problem connecting with my license server when I am using the DI Server (webservice).
    Error encountered:
    Error env:Receiver 100000001 Connection with license server failed.
    Does anyone know what is the best practice for this configuration? Thanks.
    Regards,
    Rodmann

    Hi Alvin,
    I am having the same problem on one of my development machine. I have installed DI Server and Server Tools on it.
    The license manager is working fine.
    But when I try to connect to the company object in a web application it just throws the same exception
    Error:Receiver 100000001 Connection with license server failed.
    To test the port 30000 i changed it to any thing like 1234 and it gave me message "Failed to connect to license server", changing it back to 30000 and  connect brings in all the hardware/license keys etc.
    Kindly help what you did in your case to get rid of this problem.
    Experts you support in this regard will be highly appreciated.
    Kashif

  • Problem with License server

    Hi All,
    I am facing problem with license server. We have installed SAP Business One , Did License import, Installed patch 15 and than again DTW and every thing. Now when I want to connect through DTW, it gives error messege : connection to license server failed . Any help on it will be highly appriciated. Thanks,
    Sabita

    Hi Sabita,
    Is it just the DTW that fails (ie can you log in to the SBO client)?
    In newer versions of the DTW, the License Server setting in the log in screen needs to have both the server name (or IP address) and port number. For example:
    MYSERVER:30000
    where MYSERVER is the name of the server where the license service is installed and 30000 is the port number it is running under (30000 is the default).
    Kind Regards,
    Owen

  • Open (.sdf) file with SQL server 2005 Management Studio

    In VS2005, I have created a SQL Mobile database, (.sdf).
    Copied that (.sdf) file to Desktop, and when I try to open with SQL Server 2005 management studio, its showing error "make sure the application for the file type (.sdf) is installed."
    How can I open this file with SQL server?
    Regards
    Abinash

    You must install SP2 if using Management Studio Express (http://www.microsoft.com/downloads/details.aspx?familyid=6053C6F8-82C8-479C-B25B-9ACA13141C9E&displaylang=en)Erik Ejlskov Jensen, MCTS: WM App, MCITP: SQL 2008 Dev - http://erikej.blogspot.com
    Please mark as answer, if this was it.

  • DTW - Connection with license server failed

    I am trying to use the DTW after I upgraded from SBO2005 to SBO8.8 PL17
    I have SBO8,8 server in machine A and SQL Server in machine B. Mi license server is in machine A. When I enter to DTW (88.0.17), it only type the SQL Server ip address. There is no place to type the license server IP address. when i log in , i get the next message
    Connection Status (US)
    Connection to IP ##.##.##.## (SQL) has failed
    Error Code: -129
    Connection with license server has failed
    I can connect with SBO Client in the same machine.  I checked that the it has a profesional and addon license the superuser used in the DTW. I can also enter with SQL management studio can enter in the same machine. What is missing ?

    [http://img208.imageshack.us/img208/639/dtw.png]
    [http://img193.imageshack.us/img193/654/dtw2.png]
    [http://img408.imageshack.us/img408/2650/dtw3.png]
    [http://img691.imageshack.us/img691/6940/dtw4.png]
    [http://img33.imageshack.us/img33/9954/dtw5.png]
    [http://img808.imageshack.us/img808/5291/dtw6.png]
    [http://img827.imageshack.us/img827/9630/dtw7.png]

  • Connection with license server failed sap after upgrade to 8.8

    Hi
    I had just upgraded to 2007b pl14 to 8.8 everything done good but when I login it giving me erroer "connection with license server failed"
    I had restarted the licence server but still it same
    And my licance server option is also disable ?
    plz help me out

    Hi,
    check the below link, it will help you........
    Re: Error in Server Tools Installation
    Rgds,
    Priya

  • Terminal server with license server move to another domain (disjoin and rejoin a domain)

    I've to migrate an a terminal server windows 2008R2 with is licence server, installed on the same machine,  from a domain let's call DOMAINA to a new domain DOMAINB, what will happen to TS licence server, i've to reinstall and authorise again and add
    again licence or it will bring all licence with hm?
    Ts licensing server and the terminal server are on the some machine. (it's offer service to only 5 users)
    Thanks
    Luigi

    Hi Luigi,
    You should be fine moving from one domain to another.  Regardless I recommend you gather the original licensing paperwork, authorization number, license number, agreement number, emails, etc., as appropriate for the type of licensing program you purchased
    them through.  If for whatever reason you need to reinstall the RDS CALs you will be fine if you have the license documentation.
    After moving the server you should test by connecting to the server via Remote Desktop and then verify that there are no warnings/errors related to licensing in the server's log.  You may also want to create a RDS Per User CAL Usage report in RD Licensing
    Manager, export it to .csv, and then examine it in Notepad.  You should see in the file where the server has issued licenses to users in the new domain.
    -TP

  • How import policy file with Java Web Start

    hi everybody,
    I wrote an application launched by Java Web Start.
    This application encrypt data on the client side and POST them to the server.
    To encrypt I use JCE packages including sunjce_provider.jar, jce1_2_1.jar and
    local_policy.jar and US_export_policy.jar.
    local_policy.jar and US_export_policy.jar are not packages, each of them contains
    a policy file.
    When I test encryption on local no problem, but when I test with Java Web Start
    I've got this exception :
    java.lang.ExceptionInInitializerError:
    java.lang.SecurityException: Cannot set up certs for trusted CAs
    It's because the application launched by Java Web Start doesn't find local_policy.jar
    and US_export_policy.jar.
    There's a problem in my JNLP file :
    <jnlp spec="1.0+" href="http://myserver/sources/test.jnlp" codebase="http://myserver/sources">
         <information>
              <title>Java Web Start TEST</title>
              <vendor>NLE Intech</vendor>
              <description>cryptage then upload</description>
         </information>
         <security>
              <all-permissions/>
         </security>
         <resources>
              <j2se version="1.3" />
              <jar href="sunjce_provider.jar" />
              <jar href="jce1_2_1.jar" />
              <jar href="local_policy.jar" />
              <jar href="US_export_policy.jar" />
         </resources>
         <application-desc main-class="HelloWorldSwing" >
              <argument>c:\myfiletoencrypt</argument>
         </application-desc>
    </jnlp>
    thank you for your answer

    Hi Nicolas,
    If you migrate to JDK1.4 and use the signed Bouncy JAR, you could resolve the problem,
    if you don't want to use unlimited cryptography.
    See my posting on your other question.
    Agnes
    PS. There is a mistake in my other reply, the "local_policy.jar" and the other files must have
    to go into JRE/LIB/SECURITY directory

  • Associating music files with palylists and/or music library

    My HD went out but luckily (I thought) I had a backup of my iTunes folder on an external drive. After installing the new hard drive and all the updates to TIGER 10.4.x I copied my original iTunes folder to new drive to the music folder.
    I see all my files in my library and play lists, but they all have an "!" by them and when I choose a particular song, a message comes up saying that iTnes can NOT find the associated music file (even though the file is actual there in the iTUnes folder and on my HD). Short of manually associating every library/playlist song with the actual music file (more that 2,000 files), is there any automated process or method to associate all the music files with the library/playlist files?????

    Morris:
    First, back up your iTunes Library file - just in case the original gets damaged, you will have a clean copy to restore to.
    *From the File menu, select Export Library and save as an .xml file to your desktop.
    *Go to iTunes Preferences>>Advanced, and make sure that you have DESELECTED Copy music to iTunes folder when adding to library and SELECTED Keep iTunes Music folder organized.
    *Close iTunes
    *Now, go to the ~/Music/iTunes folder and remove the
    b iTunes Library
    file from this folder.
    *Restart iTunes - your Source Menu and Library should be empty of everything except the standard preset playlists.
    *From the File Menu, select "Add to Library" and navigate to the location of your music files.
    *When the import process is finished, go to the File Menu, select Import and navigate to the Library.xml file you created in the first step.
    Your links between songs should be reestablished and your metadata intact.
    Good luck and let us know how you make out.
    Lita

  • Help associating indd files with ID CS5

    I uninstalled InDesign CS4 on my computer to free up disk space.  I already had InDesign CS5 installed.  Now, my .indd files are not associated with my CS5 version.  I can see the indd extension in my files, but when I click on them they do not open in any format.  I have tried going through the steps and associating the .indd files to CS5, but the computer will not allow me to associate those files with the indd.exe file.
    Any suggestions on getting this fixed?
    Thanks!

    Once you wind up with that situation it's fastest to just reinstall.

  • Associating image files with Photoshop

    I'd like to associate jpg or raw files with Photoshop, whereby I can click on the image file and it will launch directly into Photoshop.  When I try to associate through Windows 8 it fails to find Photoshop CC as an option to open any form of graphic files, yet I can open PS CC directly and then open the files, or go through Bridge.   Thanks.

    I find in windows two thing need to be set correctly for that to work like you want. First the file extension associations must to set to ypir Photoshop version and the windows registry keys for photoshop.exe shell commands open and edit must be set correctly. 
    File associations may be checked and changes with the control panels default programs file association application and the registry keys can be checked. and modified with regedit.

  • Problems with licenser server (upgrading and uninstall)

    Hi all,
    i try to upgrade a 2007A Sp01 PL09 License Server to 8.8 PL12. During the Upgrade process i get th error messge:
    Error -1603 Fatal error during installation
    Consult windows installer help (Msi.chm) or MSDN fpr more information
    i have tried this with the wizard and the single package.
    SB any idea how i can fix this?
    I have also tried to uninstall the server tools but this ist also dont work. After i press "Uninstall" it happens nothing. if i retry the uninstall a few minutes later i get a message like "uninstall was incomplete".
    Can anyone help me?
    Sabine

    Hi Sabine,
    You may check these links:
    http://forums.techarena.in/windows-xp-support/843362.htm
    http://www.computing.net/answers/windows-xp/installation-errors/121301.html
    to solve your installation problems.
    I concern about the patch level version of B1 2007A you are trying to upgrade. It should be the latest patch. Minimum patch level of B1 2007A to upgrade to B1 8.8 PL12 is SAP B1 2007A SP01 PL10.
    Check if the package of patch level installer is not corrupted.
    JiMM

  • Problem with License Server in Cisco Works LMS 3.0

    Dear all,
    In my LMS server it is giving error license server is down. while checking the same in process it is not running. i ahve feteched the lod also . can any one know about this error

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin-top:0in;
    mso-para-margin-right:0in;
    mso-para-margin-bottom:10.0pt;
    mso-para-margin-left:0in;
    line-height:115%;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    - Error running License Server: java.io.FileNotFoundException: C:\PROGRA~1\CSCOpx\etc\licenses\port.data
    Could you please verify whether you have the port.data file in the specified location? If not, please create the file (the privileges should be the same as for all other files in this derectory) and put the number: 40401. Restart the daemons afterwards and verify the situation.

  • Unable to find the policy file with 12C, with old version 10.3.4 works fine

    Hi !
    Iam using 12 C(12.1.1.0) and when i deploy the app, iam getting below error. I have this policy file under %WL_HOME%\common\lib\policies. And this setting works fine with 10.3.4.
    Unable to find policy: "abc.xml", please make sure to use dynamic wsdl when initializing the service stub
         at weblogic.wsee.policy.runtime.PolicyServer.loadPolicy(PolicyServer.java:183)
         at weblogic.wsee.policy.runtime.PolicyServer.getPolicy(PolicyServer.java:118)
         at weblogic.wsee.policy.deployment.PolicyRef.getPolicy(PolicyRef.java:207)
         at weblogic.wsee.policy.deployment.PolicyReferenceWsdlExtension.getEffectivePolicy(PolicyReferenceWsdlExtension.java:125)
         at weblogic.wsee.policy.deployment.WsdlPolicySubject.getEffectivePolicyFromWsdlExtensible(WsdlPolicySubject.java:485)
         Truncated. see log file for complete stacktrace
    Regards
    Edited by: user13649523 on Mar 19, 2012 11:01 AM

    Hi !
    Iam using 12 C(12.1.1.0) and when i deploy the app, iam getting below error. I have this policy file under %WL_HOME%\common\lib\policies. And this setting works fine with 10.3.4.
    Unable to find policy: "abc.xml", please make sure to use dynamic wsdl when initializing the service stub
         at weblogic.wsee.policy.runtime.PolicyServer.loadPolicy(PolicyServer.java:183)
         at weblogic.wsee.policy.runtime.PolicyServer.getPolicy(PolicyServer.java:118)
         at weblogic.wsee.policy.deployment.PolicyRef.getPolicy(PolicyRef.java:207)
         at weblogic.wsee.policy.deployment.PolicyReferenceWsdlExtension.getEffectivePolicy(PolicyReferenceWsdlExtension.java:125)
         at weblogic.wsee.policy.deployment.WsdlPolicySubject.getEffectivePolicyFromWsdlExtensible(WsdlPolicySubject.java:485)
         Truncated. see log file for complete stacktrace
    Regards
    Edited by: user13649523 on Mar 19, 2012 11:01 AM

Maybe you are looking for

  • Unable to buy iPhoto book - HELP

    I have been trying to buy a book project I have made in ipohoto. But when it's come to processing to upload the book it's freez after awhile . I have tried like 6 times and the last time it have been completed apparently !  but froze for no clear rea

  • Proble creating Table Type = Select in 10gR3

    In a very simple example case I have a customers table that I am trying to create a Table Type of Select in the physical layer. Using the Admin tool I create "New Physical tabe" and enter select * from customer where region = 'East' If I "Update All

  • Next to Only Export Base-level Transaction Data from BPC 7.5 NW

    Hey Experts, I've finally got a Export process configured out of Data Manager that is just about right.  However, when I run it, we're getting both base-level trasnaction data and records at the parent level for 2-3 dimensions which we need to specif

  • An image base64de/en-code and xml

    Hi all, Im trying to save a image in xml not it's path or other stuff, just the hole immage, im doing this with this method: I use a bytearray(image) base64Encoder.toString(); then i save the output of it in to a XML file. then i load the xml file at

  • Duplicate Crawled Property Name

    Hello I added a terms as "Legal". Then I noticed that it is appearing twice as crawled properties as Legal (Text) ows_Legal_x0020(Text) - It seems like a internal name. Can anyone tell what is logic behind for creating two different properries? Secon