Re: Java Security question

Sean McNealy <[email protected]> Sun, 8 Jun 2014 20:34:11 -0400
Newsgroups gmane.org.user-groups.ajug.members
Message-ID <CALyjPCHnKEfQmX0-Eww60eJDgTTP+KLMPBLcbrXRJyFLw=MBJw@mail.gmail.com>
If you're on linux some of the java packages check /etc/alternatives for
the unlimited policy files.

If you go the manual install step way, watch out for updates.


On Thu, Jun 5, 2014 at 3:45 PM, Summers Pittman ℝ <[email protected]>
wrote:

> Try :
>
> stackoverflow.com/questions/1179672/unlimited-strength-jce-policy-files
> <http://stackoverflow.com/users/2424896/ntoskrnl>
>
> ntoskrnl <http://stackoverflow.com/users/2424896/ntoskrnl> provides a
> reflection based workaround for Java 7 and 8.  It won't be maintainable
> because it fiddles internal APIs using reflection, but it may be better
> than some other alternatives such as using Bouncy Castle or using OpenJDK.
>
> Note this is code I just found on the internet.  I havn't tested it or
> read it too closely.
>
>
> Summers Pittman
> >>Phone:404 941 4698
> >>Java is my crack.
>
>
>
> On Thu, Jun 5, 2014 at 2:57 PM, Sony Antony <[email protected]> wrote:
>
>> Hello :
>> We have a need to change the default encryption strength.
>>
>> So we need to apply this patch :
>>
>> http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
>>
>> Basically has to overwrite the existing  US_export_policy.jar &
>> local_policy.jar files in the jre/lib/security folder.
>>
>> But I dont want to change anything in the default jre/lib/security
>> directory. ( Because that will introduce  a manual  step in our jre
>> installation )
>>
>> I woudl rather save these files to a separate folder and then start
>> our application with a -D switch that will somehow point to this
>> folder.
>> ( Something like -Djava.security.policy=.. )
>>
>> Is there a way to do this ?
>>
>>
>> --sony
>> _______________________________________________
>> ajug-members mailing list
>> [email protected]
>> http://lists.ajug.org/mailman/listinfo/ajug-members
>>
>
>
> _______________________________________________
> ajug-members mailing list
> [email protected]
> http://lists.ajug.org/mailman/listinfo/ajug-members
>
>

_______________________________________________
ajug-members mailing list
[email protected]
http://lists.ajug.org/mailman/listinfo/ajug-members