Skip navigation links
oracle.security.jps.service.audit
Interface AuditService
- All Superinterfaces:
- JpsPersistable, ServiceInstance
-
public interface AuditService
- extends ServiceInstance
Method Summary |
Auditor |
getAuditor(java.io.InputStream compEvents, java.lang.String componentType, oracle.security.jps.service.audit.AuditProperties props)
Get an Auditor for the corresponding component type and set of properties oracle.security.jps.JpsPermission getAuditor is required if a security manager is used. |
Auditor |
getAuditor(java.lang.String componentType)
Get an Auditor for the corresponding component type. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Get All the properties defined for the Audit Service in the Java Platform Security configuration files |
void |
register(AuditRegistration auditRegistration)
|
void |
unregister(AuditRegistration auditRegistration)
|
getAuditor
Auditor getAuditor(java.io.InputStream compEvents,
java.lang.String componentType,
oracle.security.jps.service.audit.AuditProperties props)
throws AuditException
- Get an Auditor for the corresponding component type and set of properties oracle.security.jps.JpsPermission getAuditor is required if a security manager is used.
-
- Parameters:
compEvents
- - InputStream to the component_events.xml file
componentType
-
props
-
- Returns:
- an Auditor associated with the component type
- Throws:
AuditException
getProperties
java.util.Map<java.lang.String,java.lang.String> getProperties()
- Get All the properties defined for the Audit Service in the Java Platform Security configuration files
-
- Returns:
- the map of properties
getAuditor
Auditor getAuditor(java.lang.String componentType)
throws AuditException
- Get an Auditor for the corresponding component type. oracle.security.jps.JpsPermission getAuditor is required if a security manager is used.
-
- Parameters:
componentType
-
- Returns:
- an Auditor associated with the component type
- Throws:
AuditException
register
void register(AuditRegistration auditRegistration)
throws AuditException
-
- Parameters:
auditRegistration
-
- Throws:
AuditException
unregister
void unregister(AuditRegistration auditRegistration)
throws AuditException
-
- Parameters:
auditRegistration
-
- Throws:
AuditException
Skip navigation links
Copyright © 2011, Oracle. All rights reserved.