Fixed FELIX-2735 /ClassCastException in PermissionsConfigurationPrinter/
https://issues.apache.org/jira/browse/FELIX-2735

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1051480 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/PermissionsConfigurationPrinter.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/PermissionsConfigurationPrinter.java
index 501092a..2e6f240 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/PermissionsConfigurationPrinter.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/PermissionsConfigurationPrinter.java
@@ -75,7 +75,7 @@
 

             if (paSvc != null)

             {

-                final PermissionAdmin pa = (PermissionAdmin) paRef;

+                final PermissionAdmin pa = (PermissionAdmin) paSvc;

                 pw.println();

                 pw.println("Permission Admin");