[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2001) javaassist does not setup the proper protection domain thus does not work with signed/secured deployments such as webstart
Steve Ebersole (JIRA)
noreply at atlassian.com
Wed Aug 23 08:27:24 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2001?page=comments#action_24041 ]
Steve Ebersole commented on HHH-2001:
-------------------------------------
Another thing I do not understand. You mention that http://www.csg.is.titech.ac.jp/~muga/temp/BulkAccessorFactory.java is the code we should use moving forward. However, that code does not use the ProtectionDomain:
beanClass = FactoryHelper.toClass( classfile, loader );
//beanClass = FactoryHelper.toClass( classfile, loader, getDomain() );
I just wanna make sure we are all on the same page here... The correct solution is to include the ProtectionDomain in the toClass() call, correct?
> javaassist does not setup the proper protection domain thus does not work with signed/secured deployments such as webstart
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: HHH-2001
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2001
> Project: Hibernate3
> Type: Bug
> Components: core
> Versions: 3.2.0.cr3
> Reporter: Max Rydahl Andersen
> Priority: Critical
> Fix For: 3.2.0.ga
>
>
> Related to http://jira.jboss.com/jira/browse/JASSIST-23
> However, other software that has been overriding toClass
> (CtClass,ClassLoader) in ClassPool must be also updated. It must override
> toClass(CtClass,ClassLoader,ProtectionDomain).
>
> As for Hibernate, we must update one file org/hibernate/bytecode/
> javassist/BulkAccessorFactory.java. A new BulkAccessorFacgtory.java is
> available from:
>
> http://www.csg.is.titech.ac.jp/~muga/temp/BulkAccessorFactory.java
>
> A patch file for BulkAccessorFactory.java is from:
>
> http://www.csg.is.titech.ac.jp/~muga/temp/BulkAccessorLog.txt
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list