summaryrefslogtreecommitdiffstats
path: root/base/java-tools/src/com/netscape/cmstools/tps
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-04-01 15:28:16 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-04-08 16:06:34 -0400
commitd90b04486c52833e085a1dd728cfc2210fd1b03f (patch)
tree3bf363e849aad31fa8392d539bf988488c3efc79 /base/java-tools/src/com/netscape/cmstools/tps
parent6b50a563730467a419fe42800ad33b5f5eb385a0 (diff)
downloadpki-d90b04486c52833e085a1dd728cfc2210fd1b03f.tar.gz
pki-d90b04486c52833e085a1dd728cfc2210fd1b03f.tar.xz
pki-d90b04486c52833e085a1dd728cfc2210fd1b03f.zip
Added profile mapping page.
A new profile mapping page has been added to TPS UI. The page is fully functional like other existing pages. The REST service for profile mappings has been updated to be more consistent with other resources. Ticket #654
Diffstat (limited to 'base/java-tools/src/com/netscape/cmstools/tps')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java
index 6f7e6c5d9..9c2f7183c 100644
--- a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java
+++ b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java
@@ -59,9 +59,11 @@ public class ProfileMappingCLI extends CLI {
if (showProperties) {
System.out.println(" Properties:");
Map<String, String> properties = profileMappingData.getProperties();
- for (String name : properties.keySet()) {
- String value = properties.get(name);
- System.out.println(" " + name + ": " + value);
+ if (properties != null) {
+ for (String name : properties.keySet()) {
+ String value = properties.get(name);
+ System.out.println(" " + name + ": " + value);
+ }
}
}