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:37:46 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-03-29 18:19:55 -0400
commit34ac0dd388ec9b18a0b29ea4ecb5d6038e26992f (patch)
tree31a2ffb8e8deadf43917418bf492ffd3cba8624c /base/common/src/com/netscape/certsrv/tps
parent6427715b25f1c7c1d8a316e216b4c33c8c4c554d (diff)
downloadpki-34ac0dd388ec9b18a0b29ea4ecb5d6038e26992f.tar.gz
pki-34ac0dd388ec9b18a0b29ea4ecb5d6038e26992f.tar.xz
pki-34ac0dd388ec9b18a0b29ea4ecb5d6038e26992f.zip
Added details page for TPS profiles.
A new page has been added to view TPS profile 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 ProfileData 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. New CSS classes have been added to format the details page. Ticket #654
Diffstat (limited to 'base/common/src/com/netscape/certsrv/tps')
-rw-r--r--base/common/src/com/netscape/certsrv/tps/profile/ProfileData.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/tps/profile/ProfileData.java b/base/common/src/com/netscape/certsrv/tps/profile/ProfileData.java
index c4bbc037e..d733777aa 100644
--- a/base/common/src/com/netscape/certsrv/tps/profile/ProfileData.java
+++ b/base/common/src/com/netscape/certsrv/tps/profile/ProfileData.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="Profile")
+@XmlAccessorType(XmlAccessType.NONE)
public class ProfileData {
public static Marshaller marshaller;