Searched refs:auditor (Results 1 - 25 of 53) sorted by relevance

123

/forgerock/openam-v13/openam-core/src/test/java/com/sun/identity/authentication/audit/
H A DAbstractAuthenticationEventAuditorTest.java32 private AbstractAuthenticationEventAuditor auditor; field in class:AbstractAuthenticationEventAuditorTest
50 auditor = new AbstractAuthenticationEventAuditor(eventPublisher, eventFactory) {
60 auditor.getUserId(null, null);
73 auditor.getTrackingIds(null);
74 auditor.getTrackingIds(emptyState);
75 auditor.getTrackingIds(withSessionState);
86 auditor.getRealmFromState(null);
87 auditor.getRealmFromState(emptyState);
98 auditor.getRealmFromToken(null);
99 auditor
[all...]
H A DAuthenticationProcessEventAuditorTest.java36 private AuthenticationProcessEventAuditor auditor; field in class:AuthenticationProcessEventAuditorTest
56 auditor = new AuthenticationProcessEventAuditor(eventPublisher, eventFactory);
64 auditor.auditLoginSuccess(null);
65 auditor.auditLoginSuccess(emptyState);
77 auditor.auditLoginFailure(null, null);
78 auditor.auditLoginFailure(emptyState, AuditConstants.AuthenticationFailureReason.LOGIN_FAILED);
90 auditor.auditLogout(null);
91 auditor.auditLogout(emptyToken);
H A DAuthenticationModuleEventAuditorTest.java35 private AuthenticationModuleEventAuditor auditor; field in class:AuthenticationModuleEventAuditorTest
58 auditor = new AuthenticationModuleEventAuditor(eventPublisher, eventFactory);
66 auditor.auditModuleSuccess(null, null, null);
67 auditor.auditModuleSuccess(emptyState, emptyPrincipal, emptyAuditEntryDetail);
79 auditor.auditModuleFailure(null, null, null);
80 auditor.auditModuleFailure(emptyState, emptyPrincipal, emptyAuditEntryDetail);
/forgerock/openam/openam-core/src/test/java/com/sun/identity/authentication/audit/
H A DAbstractAuthenticationEventAuditorTest.java32 private AbstractAuthenticationEventAuditor auditor; field in class:AbstractAuthenticationEventAuditorTest
50 auditor = new AbstractAuthenticationEventAuditor(eventPublisher, eventFactory) {
60 auditor.getUserId(null, null);
73 auditor.getTrackingIds(null);
74 auditor.getTrackingIds(emptyState);
75 auditor.getTrackingIds(withSessionState);
86 auditor.getRealmFromState(null);
87 auditor.getRealmFromState(emptyState);
98 auditor.getRealmFromToken(null);
99 auditor
[all...]
H A DAuthenticationProcessEventAuditorTest.java36 private AuthenticationProcessEventAuditor auditor; field in class:AuthenticationProcessEventAuditorTest
56 auditor = new AuthenticationProcessEventAuditor(eventPublisher, eventFactory);
64 auditor.auditLoginSuccess(null);
65 auditor.auditLoginSuccess(emptyState);
77 auditor.auditLoginFailure(null, null);
78 auditor.auditLoginFailure(emptyState, AuditConstants.AuthenticationFailureReason.LOGIN_FAILED);
90 auditor.auditLogout(null);
91 auditor.auditLogout(emptyToken);
H A DAuthenticationModuleEventAuditorTest.java35 private AuthenticationModuleEventAuditor auditor; field in class:AuthenticationModuleEventAuditorTest
58 auditor = new AuthenticationModuleEventAuditor(eventPublisher, eventFactory);
66 auditor.auditModuleSuccess(null, null, null);
67 auditor.auditModuleSuccess(emptyState, emptyPrincipal, emptyAuditEntryDetail);
79 auditor.auditModuleFailure(null, null, null);
80 auditor.auditModuleFailure(emptyState, emptyPrincipal, emptyAuditEntryDetail);
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/fluent/
H A DAuditFilter.java86 final CrestAuditor auditor = newAuditor(context, request);
87 auditor.auditAccessAttempt();
89 return auditResponse(next.handleAction(context, request), auditor, request);
107 CrestAuditor auditor = newAuditor(context, request);
108 auditor.auditAccessAttempt();
110 return auditResponse(next.handleCreate(context, request), auditor, request);
128 CrestAuditor auditor = newAuditor(context, request);
129 auditor.auditAccessAttempt();
131 return auditResponse(next.handleDelete(context, request), auditor, request);
149 CrestAuditor auditor
[all...]
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/fluent/
H A DAuditFilter.java86 final CrestAuditor auditor = newAuditor(context, request);
87 auditor.auditAccessAttempt();
89 return auditResponse(next.handleAction(context, request), auditor, request);
107 CrestAuditor auditor = newAuditor(context, request);
108 auditor.auditAccessAttempt();
110 return auditResponse(next.handleCreate(context, request), auditor, request);
128 CrestAuditor auditor = newAuditor(context, request);
129 auditor.auditAccessAttempt();
131 return auditResponse(next.handleDelete(context, request), auditor, request);
149 CrestAuditor auditor
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/
H A DIDPSSOFederate.java68 private SAML2EventLogger auditor; field in class:IDPSSOFederate
93 * @param auditor the auditor for logging SAML2 Events - may be null
99 SAML2EventLogger auditor) {
102 doSSOFederate(request, response, out, false, reqBinding, auditor);
103 auditor.auditAccessSuccess();
105 auditor.auditAccessFailure(ex.getFaultCode(), ex.getLocalizedMessage());
131 * @param auditor the auditor for logging SAML2 Events - may be null
135 boolean isFromECP, String reqBinding, SAML2EventLogger auditor)
95 doSSOFederate(HttpServletRequest request, HttpServletResponse response, PrintWriter out, String reqBinding, SAML2EventLogger auditor) argument
134 doSSOFederate(HttpServletRequest request, HttpServletResponse response, PrintWriter out, boolean isFromECP, String reqBinding, SAML2EventLogger auditor) argument
150 withEventAuditor(SAML2EventLogger auditor) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DSessionRequestHandler.java96 public ResponseSet process(PLLAuditor auditor, argument
103 auditor.setComponent(SESSION);
105 Response res = processRequest(auditor, req, servletRequest, servletResponse);
113 final PLLAuditor auditor,
119 auditor.setMethod(sreq.getMethodName());
130 return auditedExceptionResponse(auditor, sres);
144 return auditedExceptionResponse(auditor, sres);
157 return auditedExceptionResponse(auditor, sres);
165 return processSessionRequest(auditor, sreq, servletRequest, servletResponse);
174 auditor
112 processRequest( final PLLAuditor auditor, final Request req, final HttpServletRequest servletRequest, final HttpServletResponse servletResponse) argument
182 auditedExceptionResponse(PLLAuditor auditor, SessionResponse sres) argument
188 processSessionRequest(PLLAuditor auditor, SessionRequest req, HttpServletRequest servletRequest, HttpServletResponse servletResponse) argument
449 auditAccessAttempt(PLLAuditor auditor, Session session) argument
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/profile/
H A DIDPSSOFederate.java68 private SAML2EventLogger auditor; field in class:IDPSSOFederate
93 * @param auditor the auditor for logging SAML2 Events - may be null
99 SAML2EventLogger auditor) {
102 doSSOFederate(request, response, out, false, reqBinding, auditor);
103 auditor.auditAccessSuccess();
105 auditor.auditAccessFailure(ex.getFaultCode(), ex.getLocalizedMessage());
131 * @param auditor the auditor for logging SAML2 Events - may be null
135 boolean isFromECP, String reqBinding, SAML2EventLogger auditor)
95 doSSOFederate(HttpServletRequest request, HttpServletResponse response, PrintWriter out, String reqBinding, SAML2EventLogger auditor) argument
134 doSSOFederate(HttpServletRequest request, HttpServletResponse response, PrintWriter out, boolean isFromECP, String reqBinding, SAML2EventLogger auditor) argument
150 withEventAuditor(SAML2EventLogger auditor) argument
[all...]
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DSessionRequestHandler.java138 public ResponseSet process(PLLAuditor auditor, argument
145 auditor.setComponent(SESSION);
147 Response res = processRequest(auditor, req, servletRequest);
155 final PLLAuditor auditor,
160 auditor.setMethod(sreq.getMethodName());
171 return auditedExceptionResponse(auditor, sres);
185 return auditedExceptionResponse(auditor, sres);
198 return auditedExceptionResponse(auditor, sres);
207 return processSessionRequest(auditor, sreq);
223 auditor
154 processRequest( final PLLAuditor auditor, final Request req, final HttpServletRequest servletRequest) argument
231 auditedExceptionResponse(PLLAuditor auditor, SessionResponse sres) argument
237 processSessionRequest(PLLAuditor auditor, SessionRequest req) argument
376 auditAccessAttempt(PLLAuditor auditor, Session session) argument
[all...]
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/fluent/
H A DAbstractAuditFilterTest.java54 protected CrestAuditor auditor; field in class:AbstractAuditFilterTest
71 auditor = mock(CrestAuditor.class);
85 given(auditorFactory.create(any(Context.class), any(Request.class))).willReturn(auditor);
106 verify(auditor).auditAccessAttempt();
107 verify(auditor).auditAccessSuccess(any(JsonValue.class));
119 verify(auditor).auditAccessAttempt();
120 verify(auditor).auditAccessFailure(anyInt(), anyString());
196 verify(auditor, never()).auditAccessAttempt();
201 verify(auditor, never()).auditAccessSuccess(any(JsonValue.class));
202 verify(auditor, neve
[all...]
H A DCrestAuditorTest.java46 private CrestAuditor auditor; field in class:CrestAuditorTest
72 auditor = new CrestAuditor(debug, auditEventPublisher, auditEventFactory, context, request);
75 auditor.auditAccessAttempt();
85 auditor = new CrestAuditor(debug, auditEventPublisher, auditEventFactory, context, request);
89 auditor.auditAccessSuccess(detail);
100 auditor = new CrestAuditor(debug, auditEventPublisher, auditEventFactory, context, request);
103 auditor.auditAccessFailure(500, "my bad");
117 auditor.auditAccessAttempt();
118 auditor.auditAccessSuccess(json(object()));
119 auditor
[all...]
H A DAuditFilterTest.java189 given(auditorFactory.create(context, updateRequest)).willReturn(auditor);
194 verify(auditor).auditAccessSuccess(null);
200 given(auditorFactory.create(context, updateRequest)).willReturn(auditor);
205 verify(auditor).auditAccessFailure(404, "message");
219 given(auditorFactory.create(context, updateRequest)).willReturn(auditor);
224 verify(auditor).auditAccessFailure(500, "foo");
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/fluent/
H A DAbstractAuditFilterTest.java54 protected CrestAuditor auditor; field in class:AbstractAuditFilterTest
71 auditor = mock(CrestAuditor.class);
85 given(auditorFactory.create(any(Context.class), any(Request.class))).willReturn(auditor);
106 verify(auditor).auditAccessAttempt();
107 verify(auditor).auditAccessSuccess(any(JsonValue.class));
119 verify(auditor).auditAccessAttempt();
120 verify(auditor).auditAccessFailure(anyInt(), anyString());
196 verify(auditor, never()).auditAccessAttempt();
201 verify(auditor, never()).auditAccessSuccess(any(JsonValue.class));
202 verify(auditor, neve
[all...]
H A DCrestAuditorTest.java46 private CrestAuditor auditor; field in class:CrestAuditorTest
72 auditor = new CrestAuditor(debug, auditEventPublisher, auditEventFactory, context, request);
75 auditor.auditAccessAttempt();
85 auditor = new CrestAuditor(debug, auditEventPublisher, auditEventFactory, context, request);
89 auditor.auditAccessSuccess(detail);
100 auditor = new CrestAuditor(debug, auditEventPublisher, auditEventFactory, context, request);
103 auditor.auditAccessFailure(500, "my bad");
117 auditor.auditAccessAttempt();
118 auditor.auditAccessSuccess(json(object()));
119 auditor
[all...]
H A DAuditFilterTest.java189 given(auditorFactory.create(context, updateRequest)).willReturn(auditor);
194 verify(auditor).auditAccessSuccess(null);
200 given(auditorFactory.create(context, updateRequest)).willReturn(auditor);
205 verify(auditor).auditAccessFailure(404, "message");
219 given(auditorFactory.create(context, updateRequest)).willReturn(auditor);
224 verify(auditor).auditAccessFailure(500, "foo");
/forgerock/openam-v13/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/audit/
H A DAuditAccessFilter.java61 Auditor auditor = auditorFactory.create((HttpServletRequest) request, auditableResponse, STS);
63 auditEventPublisher.tryPublish(AuditConstants.ACCESS_TOPIC, auditor.auditAccessAttempt());
67 auditEventPublisher.tryPublish(AuditConstants.ACCESS_TOPIC, auditor.auditAccessOutcome());
/forgerock/openam-v13/openam-audit/openam-audit-core/src/main/java/org/forgerock/openam/audit/servlet/
H A DAuditAccessServletFilter.java57 Auditor auditor = Singleton.getAuditorFactory().create((HttpServletRequest) request, auditableResponse,
60 Singleton.getAuditEventPublisher().tryPublish(AuditConstants.ACCESS_TOPIC, auditor.auditAccessAttempt());
65 auditor.auditAccessOutcome());
/forgerock/openam/openam-audit/openam-audit-core/src/main/java/org/forgerock/openam/audit/servlet/
H A DAuditAccessServletFilter.java57 Auditor auditor = Singleton.getAuditorFactory().create((HttpServletRequest) request, auditableResponse,
60 Singleton.getAuditEventPublisher().tryPublish(AuditConstants.ACCESS_TOPIC, auditor.auditAccessAttempt());
65 auditor.auditAccessOutcome());
/forgerock/openam/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/audit/
H A DAuditAccessFilter.java61 Auditor auditor = auditorFactory.create((HttpServletRequest) request, auditableResponse, STS);
63 auditEventPublisher.tryPublish(AuditConstants.ACCESS_TOPIC, auditor.auditAccessAttempt());
67 auditEventPublisher.tryPublish(AuditConstants.ACCESS_TOPIC, auditor.auditAccessOutcome());
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/services/comm/server/
H A DRequestHandler.java60 * @param auditor
71 ResponseSet process(PLLAuditor auditor, List<Request> requests, argument
/forgerock/openam/openam-core/src/main/java/com/iplanet/services/comm/server/
H A DRequestHandler.java60 * @param auditor
71 ResponseSet process(PLLAuditor auditor, List<Request> requests, argument
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/remote/
H A DPolicyRequestHandler.java120 public ResponseSet process(PLLAuditor auditor, argument
129 auditor.setComponent(POLICY);
135 res = processRequest(req, auditor);
165 auditor.auditAccessFailure(pe.getMessage());
179 * @param auditor the auditor helper
182 private Response processRequest(Request req, PLLAuditor auditor) argument
198 PolicyService psRes = processPolicyServiceRequest(psReq, auditor);
212 * @param auditor the auditor helpe
215 processPolicyServiceRequest(PolicyService psReq, PLLAuditor auditor) argument
264 processPolicyRequest(PolicyRequest req, PLLAuditor auditor) argument
[all...]

Completed in 41 milliseconds

123