Security Manager for decryption is not set

Hey,
I am using the Livecycle virtual appliance in a test version to evaluate its features. When I decrypt an encrypted document with the java API I get an error message that says that the security manager is not set.
Is the security Manager part of the appliance?
How can I solve that problem?
My Code:
        //Set connection properties required to invoke LiveCycle ES                               
        Properties connectionProps = new Properties();
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, getConfig("lc.ejb-endpoint.url", "jnp://192.168.56.50:1099"));
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);         
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, getConfig("lc.ejb-endpoint.username", "jjacobs"));
        connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, getConfig("lc.ejb-endpoint.password", "password"));
        //Create a ServiceClientFactory object
        ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
        //Create an EncryptionServiceClient object
        EncryptionServiceClient encryptClient = new EncryptionServiceClient(myFactory);
        //Unlock the password-encrypted PDF document
        Document unlockedDoc = encryptClient.unlockPDFUsingPassword(pdf, pdfPassword);
        return unlockedDoc;
Exceptions details:
Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFSecurityAuthorizationException: Security Manager for decryption is not set
    at com.adobe.internal.pdftoolkit.core.encryption.EncryptionImpl.getStreamEncryption(Encrypti onImpl.java:196)
    at com.adobe.internal.pdftoolkit.core.encryption.EncryptionImpl.getStreamDecryptionHandler(E ncryptionImpl.java:263)
    at com.adobe.internal.pdftoolkit.core.cos.CosEncryption.getStreamDecryptionStateHandler(CosE ncryption.java:675)
    at com.adobe.internal.pdftoolkit.core.cos.CosStream.getStreamForCopying(CosStream.java:377)
    at com.adobe.internal.pdftoolkit.core.cos.CosStream.copyStream(CosStream.java:310)
    at com.adobe.internal.pdftoolkit.core.cos.CosStream.getStream(CosStream.java:422)
    at com.adobe.internal.pdftoolkit.core.cos.CosObjectStream.getDataStream(CosObjectStream.java :130)
    at com.adobe.internal.pdftoolkit.core.cos.CosObjectStream.<init>(CosObjectStream.java:80)
    at com.adobe.internal.pdftoolkit.core.cos.CosToken.readObject(CosToken.java:576)
    at com.adobe.internal.pdftoolkit.core.cos.CosToken.readIndirectObject(CosToken.java:108)
    at com.adobe.internal.pdftoolkit.core.cos.XRefTable.getIndirectObject(XRefTable.java:607)
    at com.adobe.internal.pdftoolkit.core.cos.CosDocument.getIndirectObject(CosDocument.java:287 5)
    at com.adobe.internal.pdftoolkit.core.cos.XRefTable.getIndirectObject(XRefTable.java:599)
    at com.adobe.internal.pdftoolkit.core.cos.CosDocument.getIndirectObject(CosDocument.java:287 5)
    at com.adobe.internal.pdftoolkit.core.cos.CosDocument.resolveReference(CosDocument.java:1067 )
    at com.adobe.internal.pdftoolkit.core.cos.CosDictionary.get(CosDictionary.java:278)
    at com.adobe.internal.pdftoolkit.pdf.document.PDFCosDictionary.getDictionaryCosObjectValue(P DFCosDictionary.java:423)
    at com.adobe.internal.pdftoolkit.pdf.document.PDFCatalog.getInteractiveForm(PDFCatalog.java: 156)
    at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.getInteractiveForm(PDFDocument.jav a:521)
    at com.adobe.formServer.utils.CommonGibsonUtils.isForm(CommonGibsonUtils.java:153)
    at com.adobe.livecycle.formdataintegration.server.FormData.exportDataInternal(FormData.java: 338)
    at com.adobe.livecycle.formdataintegration.server.FormData.exportData2(FormData.java:217)
    ... 81 more

I think you answered your own question - the PDF is password protected therefore LC can't open it to extract the data.
You'll have to remove the security first.  You can do that in a process by using the Common.EncryptionService.Remove PDF Password Encryption operation.
Note that you will need the document's password to remove the security.

Similar Messages

  • FormDataIntegration Security Manager for decryption not set

    When trying to export or import from a specific PDF form, I am getting the error below.  I suspect it's the pdf b/c I can import and export from different pdf forms.  Any ideas or help in order to modify or resolve this problem?
    com.adobe.livecycle.formdataintegration.client.ImportFormDataException: Security Manager for decryption is not set
    [5/5/10 16:12:04:953 EDT] 0000001e SystemErr     R     at com.adobe.livecycle.formdataintegration.server.FormData.importData(FormData.java:98)
    [5/5/10 16:12:04:953 EDT] 0000001e SystemErr     R     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [5/5/10 16:12:04:953 EDT] 0000001e SystemErr     R     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    [5/5/10 16:12:04:953 EDT] 0000001e SystemErr     R     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [5/5/10 16:12:04:953 EDT] 0000001e SystemErr     R     at java.lang.reflect.Method.invoke(Method.java:615)
    [5/5/10 16:12:04:953 EDT] 0000001e SystemErr     R     at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    [5/5/10 16:12:04:953 EDT] 0000001e SystemErr     R     a

    I think you answered your own question - the PDF is password protected therefore LC can't open it to extract the data.
    You'll have to remove the security first.  You can do that in a process by using the Common.EncryptionService.Remove PDF Password Encryption operation.
    Note that you will need the document's password to remove the security.

  • Specifying system properties/security manager for OC4J

    I have a couple of related questions regarding OC4J/orion.jar:
    1. Generically, how can we specify system properties to orion.jar? Being an executable JAR, simply using -D does not work.
    2. Specifically, I need to launch the OC4J app server with a Java security manager (with associated security policies, etc.) Java's way of doing this is via -Djava.security.manager=... but this does not work with executable JARs it seems. I tried specifying these parameters via -D and I got a security exception:
    Exception in thread "main" java.security.AccessControlException: access denied (java.util.PropertyP
    rmission java.protocol.handler.pkgs write)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.System.setProperty(Unknown Source)
    at com.evermind.server.ApplicationServer.initProtocolHandlers(ApplicationServer.java:652)
    at com.evermind.server.ApplicationServer.launchCommandline(ApplicationServer.java:319)
    at com.evermind.server.ApplicationServer.main(ApplicationServer.java:314)
    So, how do I install the Java security manager with orion.jar? Is there any other way to specify system properties to this, or is there any other way to install the Java security manager for OC4J?
    Any help much appreciated.
    ..Hrishi

    Thanks, that seemed to work. However it seems that spawned another little problem. I was using the -Xbootclasspath/a option while firing up orion.jar because I needed to append something to OC4J's default classpath (that is specified in orion.jar's Manifest). Now, when I start OC4J with the -D options for the security policy, it seems to ignore the -Xbootclasspath argument. I have not yet been able to confirm this fact, but based on the ClassNotFoundError I'm running into, that does seem to be the problem.
    So I guess my question is, could specifying the -D options to the executable JAR cause it to ignore any other options you may be passing to it (such as -Xbootclasspath)? Is there any sequence in which these args need to be passed?
    Thanks.
    ..Hrishi
    Hi,
    You can try this :
    - Check if you have a file java2.policy in <OC4J_HOME>\config\policy and check if the permission java.util.PropertyPermission "read,write" is granted to <OC4J_HOME>.
    if there is no file, you can create one based on <JAVA_HOME>\lib\security\java.policy and grant the approriate privileges.
    - Launch OC4J :
    java -Djava.security.manager -Djava.security.policy=<OC4J_HOME>/config/java2.policy -jar orion.jar
    OR java -Djava.security.manager -Djava.security.policy=<PATH_TO_FILE_POLICY>/<YOUR_FILE>.policy -jar orion.jar
    Maher

  • What is this message: Base Line Date for rule 11 not set ?

    Hello all,
    I am doing some test.
    Cenario:
    I need to create a Scheduling Agreement in transaction: VA41
    The material I am using to create the VA41, I have just created.
    I created in MM01 the views: Basic Datas 1 and 2, Sales View 1,2 and 3 and Account View 1.
    Issue:
    When I am creating the VA41 and I enter the material, the system shows the messages:
    1) Dates from:: Base line date for rule 11 not set
    2) Dates from:: Base line date for rule 9 not set
    *obs: the messages dos not block the creation of VA41. It is a information message.
    Question:
    What that means? What will happen if I do not fix that? What should I do in order to not have more these messages?
    Tks & Rgds,
    Barbara
    Message was edited by:
            Barbara Barbos

    Hi
    Please check whether you have assigned - payment terms both at company code and sales area level
    VVR

  • Setting security manager for weblogic6.0

    I need to be able to get the weblogic6.0 server to use third party security manager. I tried setting "-Dweblogic.security.manager = <security_manager_class>". Unfortunately this doesn't work.. on my test servlet I find no security manager has been set.This argument worked successfully in weblogic5.1.If you have any hints/ideas, please let me know.Thanks!!

    I need to be able to get the weblogic6.0 server to use third party security manager. I tried setting "-Dweblogic.security.manager = <security_manager_class>". Unfortunately this doesn't work.. on my test servlet I find no security manager has been set.This argument worked successfully in weblogic5.1.If you have any hints/ideas, please let me know.Thanks!!

  • Blackberry Desktop Manager for Mac does not recognize any Calendars for syncing

    ive installed the blackberry desktop manager for my Macbook and hooked my phone up through the USB port when I started the program and when I go to the calendar section it says "There are no calendars available on this computer for syncing.  Please launch a new iCal and create a new calendar".  How do I fix this?  I have a lot of information on my iCal that I want transferred over to my phone, but it won't recognize the calendar in the program.  Help

    I'll try to help...first you did not provide any pertinent information for troubleshooting:  Mac OS, device, device OS...
    Now before you do anything go to iCal>File>Export and create an iCal archive (JIC).  The rest is dependent on the OS (as each store iCal data differently)...It is possible that your calendar file is not where it should be.  Try cleaning system and user cache. Restarting your mac and repair permissions.
    On the device side, what do you have as the default CICAL?  You could try forget device in the DM or trash the user>username>application support>BlackBerryDesktop folder and start over.
    Now do you have more than one calendar?  In the DM how are you setting the sync?  Two Way, All Calendars...to what calendar are you adding on the device?  Under Advanced Settings are you selecting All events and are you Replacing all calendar events on the Blackberry device?  Remember that even if you have multiple calendars in iCal they will sync as one in the BlackBerry.
    4.6.1.305 hybrid
    Mac Pro 2X2.8 Quad SL

  • PDF Document requests a password for opening despite not setting it up to do so

    I created a secure pdf document that is to be downloaded from a web site. Upon downloading, users should be able to open/view the pdf without having to enter a password, but would need a password to be able to edit or make changes to the document. When testing the document and downloading from the web site, I am prompted for a password even though I did not set the pdf to request one for opening the document.
    Can someone please help me undertand what's going on. I've tried a million things with no luck!
    Thanks!

    Can you post the file somewhere for us to look at?

  • Has anyone tried Advanced Security Manager for System 9.0

    Hi All,
    I am having issues with Advanced Security Manager in system 9.0
    I am getting an error "essapin.dll" cannot be found.
    has anyone faced similar issue, if yes, how did you get around with that.
    thanks and regards.

    I got the problem solved.
    essapin.dll was with version 6.5 and from essapin.dll was replaced by essapinu.dll. Advanced Security Manager was searching for essapin.dll.
    I installed client version of 6.5, which got me essapin.dll.
    I am able to export all my filters with ASM now :-)

  • Why do I have security questions when I did not set it?

    Now, I can not do anything/can not go inside my account without answering these questions . Any possible way to go around this?
    Thanks;
    Shyneil

    Welcome to the Apple Community.
    Start here (change country if necessary) and navigate to 'Password and Security', reset your security questions using the link provided, you will receive an email to your rescue address, use the link in the email and reset your security questions.
    If that doesn't help, you don't receive a reset email or you don't have a rescue address, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
    If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support.

  • How to setup security manager for applet at runtime?

    hello everyone,
    I am wonder if there is a way to setup security manager at runtime. This is what I am trying to do:
    1. Create a Applet GUI and allow users to specify in an input dialog box of the URL they like make connection to.
    I know there is two way of do this
    1. Is modify java.policy file and specify the URL SocketPermission to connect to.
    2. setup signed certificate applet.
    But, I would to try to see if there is a way to have applet make connection at runtime when users specify the URL.
    Anyone have any ideas.
    Thanks.

    Thanks, Peter
    Going over some articles you and references that you pointed out was very useful on how the java security model work and a little bit history too.
    So, I am assuming that I can make my own securitymanager class that defines the permission of the applet that I am working, using Permission, SecurityManager, ....etc class right? I just want to be clear on what I am going to be doing.
    If you have any other thoughts, Thanks,

  • Bought a MacBook Pro for granddaughter for college and she cannot access the app store to purchase apps needed for class. Always gets security questions that she did not set up and therefore she is denied access. But it does show her redeemable balance.

    I bought a 13" MacBook Pro for our college bound granddaughter. She cannot access the app store as she
    gets security questions to answer that she never set up, and of course it won't let her purchase anything. She has
    a redeemable balance, but can't get past the security questions and can't seem to find another way to circumvent this.
    What can she do?

    If she has trouble with the first advisor, she can always ask to speak to a senior advisor. However, AppleCare isn't really needed in cases like this, as the iTunes Store is quite familiar with accounts of this nature, and it's more of their speciality. Your daughter may want to contact them next time, but it's only email support at the moment (soon to change).
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • How can I reset my apple id security questions, if I have not set a rescue email account?

    My new iPhone says "To help ensure the security of your Apple ID we require additional information."  It then asks me for the answer to my security questions.  Which I can not remember.  I can log into iCloud and my apple ID, but can not change my security questions.  A web search indicates that I should be able to send a security email to my rescue email account.  Since this option does not appear on my accounts security question screen, it looks like I never setup a rescue email.  How do I reset my security questions, or setup/change my rescue email account?
    Thanks in Advance!!

    Actually, you'll have more luck contacting AppleCare Phone Support.
    http://support.apple.com/kb/HE57
    With the information you provided, I assume they can verify your identity and reset your account security questions.
    Kind regards,

  • Desktop manager for mac will not read the memory card

    I have a Storm and the desktop manager does everything correctly except it will not recognize the media card for music.  It says "please insert a media card in your device."  Ive got the 8GB microSD card and it shows up in the phone memory but i cant load any music from my computer.

    OK, I spent an hour and a half on the phone with RIM support this morning trying to fix this very thing with SUCCESS!!!  Here is what you need to do.  Keep in mind that this fix can only be done on a PC and NOT a Mac.  Sucks, but its reality.  Click on the link below and make sure that the PC your doing this on has the BB desktop manager installed on it.  I went to my dads house and used his PC.  After the tech and I learned that the DM has to be installed before you start the fix we were able to resolve the problem and the DM on the mac recognizes the media card.  I'm also able to see the BB1 and BB2 icons on the desktop now so I can drag and drop if I want.  I hope this helps you all.  If you need additional help with this please ask.  I may not be the most tech savy person here but I may be able to help a little.  Here you go:
    NOTE: MAKE SURE THAT THE DESKTOP MANAGER IS INSTALLED ON THE PC YOUR USING FIRST.  I ONLY INSTALLED THE ENGLISH VERSION WITHOUT MEDIA SYNCH (to reduce download size and time)  AND IT WORKED GREAT.
    http://www.blackberry.com/btsc/documentLink.do?externalID=KB19717
    Follow the directions to the tee and it should work fine. 
    PS:  If you have problems with your blackberry and you cant find the fix here or on CB call your carrier tech support.  If they cant resolve they are pretty quick at getting RIM on the case and resolving without you getting charged for it.  Verizon was helpful at that and when I spoke with BB tech support they were extremely helpful.  I was very impressed.
    I hope this helps all of you with this problem.  Good luck out there!!!!

  • Power manager for T430 does not save "events" for closing laptop

    i have tried multiple times to set the "event" for the power manager to sleep when laptop screen is closed.   
    It defaults back to no action every time! Very frustrating to close laptop and come back hours later with dead battery because it failed to sleep.  This is a T430 with windows 7.

    Hi, rischarjm
    Have you tried using the setting in Windows under Control Panel ► Power Options? You can also set events here for the behavior of the computer when the lid is shut. 
    Hope it helps,
    Adam
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

  • Media Manager for Mac will not open

    Running an iMac on OS X 10.7.2
    Every time I try to start media manager I get the following error:
    The application “Verizon Media Manager” unexpectedly quit while trying to restore its windows.  Do you want to try to restore its windows again?
    Eventually a page comes up with a lot of techical detail info and says it iwll be sent to Apple.
    Anyone run into this before and know what the issue may be?
    thanks,

    When you get the error asking if you want to restore the windows, are you getting an option to either say "yes" or "no"?  If you do, which option are you clicking on?  Let us know when you're able.  Thanks!
    Karl
    Verizon Support
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

Maybe you are looking for

  • Regarding IBOTS in OBIEE 11.1.1.5

    Hi , My requirement is to create a new IBOT and using this ibot i have to purge the cache.This process i have to schedule it. I have to do this in OBIEE 11.1.1.5 can any one please help me in giving the steps to do this requirement. Thanks

  • Programs no longer working properly in Safari.

    My wife is a teacher who uses a program called EdLine. In this program, she tracks her students' attendance, and grades. Since installing Snow Leopard, she is not able to open EdLine due to a constant EDPUTHTTPERROR message. She is not able to utiliz

  • Safari blocks my email access

    I am getting a 'too many redirects' notice whilst trying to open my email account with Virginmedia.com. Nowhere in Apple's 'support' is there any help or admission their Safari program can be sorted to cure the problem. In fact they want £25 for a 'o

  • Error Using DataExport function in Essbase

    Hi there, I'm using Hyperion Essbase version 9.3.1. And rite now I'm trying to export data in Essbase by the new CalcScript function DataExport directly to SQL server. I have 11 dimensions in my Essbase application. I did create 10 fields in SQL serv

  • Annotations in EBS Composite

    Hi, Do we have to annotate the EBS Composite? If yes what are the annotation details that have to be given in the EBS composite? I have been following the AIA Development Guide. In Chapter 10 section 10.3.1 it is written that Annotations should be do