[richfaces-issues] [JBoss JIRA] (RF-12805) Uncaught SecurityException in VersionBean

Neil Griffin (JIRA) jira-events at lists.jboss.org
Tue Feb 19 16:42:56 EST 2013


Neil Griffin created RF-12805:
---------------------------------

             Summary: 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


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