Package com.sun.identity.log.service
Class LogService
- java.lang.Object
-
- com.sun.identity.log.service.LogService
-
- All Implemented Interfaces:
RequestHandler
public class LogService extends Object implements RequestHandler
This class parses the xml/http(s) log requests and executes the corresponding log operation.
-
-
Constructor Summary
Constructors Constructor Description LogService(AuditEventPublisher auditEventPublisher, AuditEventFactory auditEventFactory)Registers the classes with the SAX parser
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseSetprocess(PLLAuditor auditor, List<Request> requests, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse, jakarta.servlet.ServletContext servletContext)The method which accepts the request set, parses the xml request and executes the appropriate log operation.
-
-
-
Constructor Detail
-
LogService
@Inject public LogService(AuditEventPublisher auditEventPublisher, AuditEventFactory auditEventFactory) throws Exception
Registers the classes with the SAX parser- Throws:
Exception
-
-
Method Detail
-
process
public ResponseSet process(PLLAuditor auditor, List<Request> requests, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse servletResponse, jakarta.servlet.ServletContext servletContext)
The method which accepts the request set, parses the xml request and executes the appropriate log operation.- Specified by:
processin interfaceRequestHandler- Parameters:
requests-servletRequest-servletResponse-auditor- Delegate for publication of 'access' audit events.servletContext- Reference to ServletContext object.- Returns:
- The response set which contains the result of the log operation.
-
-