Package com.netscape.certsrv.logging
Class AuditClient
- java.lang.Object
-
- com.netscape.certsrv.client.Client
-
- com.netscape.certsrv.logging.AuditClient
-
public class AuditClient extends Client
- Author:
- Endi S. Dewata
-
-
Constructor Summary
Constructors Constructor Description AuditClient(PKIClient client, java.lang.String subsystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditConfig
changeAuditStatus(java.lang.String action)
AuditFileCollection
findAuditFiles()
AuditConfig
getAuditConfig()
javax.ws.rs.core.StreamingOutput
getAuditFile(java.lang.String filename)
void
init()
AuditConfig
updateAuditConfig(AuditConfig auditConfig)
-
Methods inherited from class com.netscape.certsrv.client.Client
addClient, createProxy, get, get, get, get, getClient, getName, getSubsystem, post, post, post, post, removeClient
-
-
-
-
Field Detail
-
resource
public AuditResource resource
-
-
Constructor Detail
-
AuditClient
public AuditClient(PKIClient client, java.lang.String subsystem) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getAuditConfig
public AuditConfig getAuditConfig() throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateAuditConfig
public AuditConfig updateAuditConfig(AuditConfig auditConfig) throws java.lang.Exception
- Throws:
java.lang.Exception
-
changeAuditStatus
public AuditConfig changeAuditStatus(java.lang.String action) throws java.lang.Exception
- Throws:
java.lang.Exception
-
findAuditFiles
public AuditFileCollection findAuditFiles() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getAuditFile
public javax.ws.rs.core.StreamingOutput getAuditFile(java.lang.String filename) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-