diff options
author | Endi S. Dewata <edewata@redhat.com> | 2014-03-24 13:39:35 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2014-03-29 18:20:15 -0400 |
commit | 42e8da4d1b7c64a2a894c9f51e09d63eac388958 (patch) | |
tree | e940d6c1c1aa25ed741b005ebc82d5c721e2f8ad /base/common/src/com/netscape/certsrv/tps | |
parent | fba3129cf72ce666d8a60c51f08257de371d20ed (diff) | |
download | pki-42e8da4d1b7c64a2a894c9f51e09d63eac388958.tar.gz pki-42e8da4d1b7c64a2a894c9f51e09d63eac388958.tar.xz pki-42e8da4d1b7c64a2a894c9f51e09d63eac388958.zip |
Added details page for TPS authenticators.
A new page has been added to view TPS authenticator 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 AuthenticatorData 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/authenticator/AuthenticatorData.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/tps/authenticator/AuthenticatorData.java b/base/common/src/com/netscape/certsrv/tps/authenticator/AuthenticatorData.java index 95fb5fefb..d55dde126 100644 --- a/base/common/src/com/netscape/certsrv/tps/authenticator/AuthenticatorData.java +++ b/base/common/src/com/netscape/certsrv/tps/authenticator/AuthenticatorData.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="Authenticator") +@XmlAccessorType(XmlAccessType.NONE) public class AuthenticatorData { public static Marshaller marshaller; |