[richfaces-issues] [JBoss JIRA] (RF-12805) Uncaught SecurityException in VersionBean
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Wed Feb 27 03:01:57 EST 2013
[ https://issues.jboss.org/browse/RF-12805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-12805:
-------------------------------
Fix Version/s: 5-Tracking
> Uncaught SecurityException in VersionBean
> -----------------------------------------
>
> Key: RF-12805
> URL: https://issues.jboss.org/browse/RF-12805
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.3.0.Final
> Environment: SecurityManager enabled
> Reporter: Neil Griffin
> Fix For: 5-Tracking
>
>
> When running RichFaces in an environment in which a Java [SecurityManager|http://docs.oracle.com/javase/tutorial/essential/environment/security.html] is enabled, the call to [Class.getProtectedDomain()|http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html#getProtectionDomain()] will throw a [SecurityException|http://docs.oracle.com/javase/6/docs/api/java/lang/SecurityException.html].
> The [org.richfaces.VersionBean|https://github.com/richfaces/core/blob/develop/impl/src/main/java/org/richfaces/VersionBean.java] class calls Class.getProtectedDomain() but doesn't catch the SecurityException.
> Basically, the VersionBean needs to be able to detect the version of RichFaces even when the SecurityException is thrown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list