summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/tps
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-03-24 13:00:29 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-03-29 18:20:06 -0400
commitfba3129cf72ce666d8a60c51f08257de371d20ed (patch)
tree5f329b9688fff0578da55c2d955a668ea8f047ae /base/common/src/com/netscape/certsrv/tps
parent34ac0dd388ec9b18a0b29ea4ecb5d6038e26992f (diff)
downloadpki-fba3129cf72ce666d8a60c51f08257de371d20ed.tar.gz
pki-fba3129cf72ce666d8a60c51f08257de371d20ed.tar.xz
pki-fba3129cf72ce666d8a60c51f08257de371d20ed.zip
Added details page for TPS connections.
A new page has been added to view TPS connection details. The properties are displayed in a table which provides pagination and search functionality. Currently the page is read-only. The edit functionality will be added separately later. Previously the ConnectionData had a problem with JSON mapping because it incorrectly included a PropertyNames attribute. To fix the problem the class has been modified to require explicit JAXB mapping by setting the @XmlAccessorType to NONE. Ticket #654
Diffstat (limited to 'base/common/src/com/netscape/certsrv/tps')
-rw-r--r--base/common/src/com/netscape/certsrv/tps/connection/ConnectionData.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/tps/connection/ConnectionData.java b/base/common/src/com/netscape/certsrv/tps/connection/ConnectionData.java
index 50b0f6b51..3ab71c75d 100644
--- a/base/common/src/com/netscape/certsrv/tps/connection/ConnectionData.java
+++ b/base/common/src/com/netscape/certsrv/tps/connection/ConnectionData.java
@@ -29,6 +29,8 @@ import java.util.Map;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@@ -42,6 +44,7 @@ import org.jboss.resteasy.plugins.providers.atom.Link;
* @author Endi S. Dewata
*/
@XmlRootElement(name="Connection")
+@XmlAccessorType(XmlAccessType.NONE)
public class ConnectionData {
public static Marshaller marshaller;