/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/audit/ |
H A D | AbstractAuthenticationEventAuditor.java | 44 protected final AuditEventPublisher eventPublisher; field in class:AbstractAuthenticationEventAuditor 50 * @param eventPublisher The publisher responsible for logging the events. 53 public AbstractAuthenticationEventAuditor(AuditEventPublisher eventPublisher, AuditEventFactory eventFactory) { argument 55 this.eventPublisher = eventPublisher;
|
H A D | AuthenticationModuleEventAuditor.java | 52 * @param eventPublisher The publisher responsible for logging the events. 56 public AuthenticationModuleEventAuditor(AuditEventPublisher eventPublisher, AuditEventFactory eventFactory) { argument 57 super(eventPublisher, eventFactory); 72 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGIN_MODULE_COMPLETED)) { 91 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGIN_MODULE_COMPLETED)) { 123 eventPublisher.tryPublish(AUTHENTICATION_TOPIC, builder.toEvent());
|
H A D | AuthenticationProcessEventAuditor.java | 60 * @param eventPublisher The publisher responsible for logging the events. 64 public AuthenticationProcessEventAuditor(AuditEventPublisher eventPublisher, AuditEventFactory eventFactory) { argument 65 super(eventPublisher, eventFactory); 76 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGIN_COMPLETED)) { 94 eventPublisher.tryPublish(AUTHENTICATION_TOPIC, builder.toEvent()); 118 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGIN_COMPLETED)) { 137 eventPublisher.tryPublish(AUTHENTICATION_TOPIC, builder.toEvent()); 149 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGOUT)) { 179 eventPublisher.tryPublish(AUTHENTICATION_TOPIC, builder.toEvent());
|
/forgerock/openam-v13/openam-oauth2-common/openid-connect-restlet/src/main/java/org/forgerock/openidconnect/restlet/ |
H A D | WebFinger.java | 54 private final AuditEventPublisher eventPublisher; field in class:WebFinger 67 eventPublisher = InjectorHolder.getInstance(AuditEventPublisher.class); 96 return new OAuth2AccessAuditFilter(restlet, eventPublisher, eventFactory, contextProviders, noBodyAuditor(),
|
/forgerock/openam-v13/openam-core/src/test/java/com/sun/identity/authentication/audit/ |
H A D | AbstractAuthenticationEventAuditorTest.java | 35 private AuditEventPublisher eventPublisher; field in class:AbstractAuthenticationEventAuditorTest 50 auditor = new AbstractAuthenticationEventAuditor(eventPublisher, eventFactory) {
|
H A D | AuthenticationModuleEventAuditorTest.java | 38 private AuditEventPublisher eventPublisher; field in class:AuthenticationModuleEventAuditorTest 56 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(true); 58 auditor = new AuthenticationModuleEventAuditor(eventPublisher, eventFactory); 70 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class)); 83 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class));
|
H A D | AuthenticationProcessEventAuditorTest.java | 39 private AuditEventPublisher eventPublisher; field in class:AuthenticationProcessEventAuditorTest 54 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(true); 56 auditor = new AuthenticationProcessEventAuditor(eventPublisher, eventFactory); 68 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class)); 81 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class)); 94 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class));
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openidconnect/restlet/ |
H A D | WebFinger.java | 42 private final AuditEventPublisher eventPublisher; field in class:WebFinger 53 eventPublisher = InjectorHolder.getInstance(AuditEventPublisher.class); 81 return new OAuth2AccessAuditFilter(restlet, eventPublisher, eventFactory, requestFactory, noBodyAuditor(),
|
/forgerock/openam/openam-core/src/test/java/com/sun/identity/authentication/audit/ |
H A D | AbstractAuthenticationEventAuditorTest.java | 35 private AuditEventPublisher eventPublisher; field in class:AbstractAuthenticationEventAuditorTest 50 auditor = new AbstractAuthenticationEventAuditor(eventPublisher, eventFactory) {
|
H A D | AuthenticationModuleEventAuditorTest.java | 38 private AuditEventPublisher eventPublisher; field in class:AuthenticationModuleEventAuditorTest 56 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(true); 58 auditor = new AuthenticationModuleEventAuditor(eventPublisher, eventFactory); 70 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class)); 83 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class));
|
H A D | AuthenticationProcessEventAuditorTest.java | 39 private AuditEventPublisher eventPublisher; field in class:AuthenticationProcessEventAuditorTest 54 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(true); 56 auditor = new AuthenticationProcessEventAuditor(eventPublisher, eventFactory); 68 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class)); 81 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class)); 94 verify(eventPublisher, times(2)).tryPublish(anyString(), any(AuditEvent.class));
|
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/rest/ |
H A D | UmaRouterProvider.java | 48 private final AuditEventPublisher eventPublisher; field in class:UmaRouterProvider 55 * @param eventPublisher The publisher responsible for logging the events. 60 public UmaRouterProvider(AuditEventPublisher eventPublisher, AuditEventFactory eventFactory, argument 62 this.eventPublisher = eventPublisher; 86 return new UMAAccessAuditFilter(restlet, eventPublisher, eventFactory, requestFactory, requestDetailCreator,
|
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/audit/ |
H A D | AbstractRestletAccessAuditFilterTest.java | 52 private AuditEventPublisher eventPublisher; field in class:AbstractRestletAccessAuditFilterTest 69 eventPublisher = mock(AuditEventPublisher.class); 70 auditFilter = new RestletAccessAuditFilterTest(restlet, eventPublisher, eventFactory, null, null); 82 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(false); 94 auditFilter = new RestletAccessAuditFilterTest(restlet, eventPublisher, eventFactory, 100 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(true); 107 verify(eventPublisher).tryPublish(anyString(), captor.capture()); 117 auditFilter = new RestletAccessAuditFilterTest(restlet, eventPublisher, eventFactory, 123 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(true); 130 verify(eventPublisher) [all...] |
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/rest/ |
H A D | OAuth2RouterProvider.java | 76 private final AuditEventPublisher eventPublisher; field in class:OAuth2RouterProvider 85 * @param eventPublisher The publisher responsible for logging the events. 92 AuditEventPublisher eventPublisher, AuditEventFactory eventFactory, 97 this.eventPublisher = eventPublisher; 160 return new OAuth2AccessAuditFilter(restlet, eventPublisher, eventFactory, contextProviders, 166 return new OAuth2AccessAuditFilter(restlet, eventPublisher, eventFactory, contextProviders, 91 OAuth2RouterProvider(RestRealmValidator realmValidator, CoreWrapper coreWrapper, AuditEventPublisher eventPublisher, AuditEventFactory eventFactory, @Named(OAUTH2_AUDIT_CONTEXT_PROVIDERS) Set<OAuth2AuditContextProvider> contextProviders, JacksonRepresentationFactory jacksonRepresentationFactory) argument
|
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/rest/ |
H A D | UmaRouterProvider.java | 55 private final AuditEventPublisher eventPublisher; field in class:UmaRouterProvider 64 * @param eventPublisher The publisher responsible for logging the events. 71 AuditEventPublisher eventPublisher, AuditEventFactory eventFactory, 75 this.eventPublisher = eventPublisher; 99 return new UMAAccessAuditFilter(restlet, eventPublisher, eventFactory, contextProviders, requestDetailCreator, 70 UmaRouterProvider(RestRealmValidator realmValidator, CoreWrapper coreWrapper, AuditEventPublisher eventPublisher, AuditEventFactory eventFactory, @Named(OAUTH2_AUDIT_CONTEXT_PROVIDERS) Set<OAuth2AuditContextProvider> contextProviders) argument
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/rest/ |
H A D | OAuth2RouterProvider.java | 69 private final AuditEventPublisher eventPublisher; field in class:OAuth2RouterProvider 76 * @param eventPublisher The publisher responsible for logging the events. 82 public OAuth2RouterProvider(AuditEventPublisher eventPublisher, AuditEventFactory eventFactory, argument 85 this.eventPublisher = eventPublisher; 153 return new OAuth2AccessAuditFilter(restlet, eventPublisher, eventFactory, requestFactory, 159 return new OAuth2AccessAuditFilter(restlet, eventPublisher, eventFactory, requestFactory,
|
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/audit/ |
H A D | AbstractRestletAccessAuditFilterTest.java | 49 private AuditEventPublisher eventPublisher; field in class:AbstractRestletAccessAuditFilterTest 66 eventPublisher = mock(AuditEventPublisher.class); 67 auditFilter = new RestletAccessAuditFilterTest(restlet, eventPublisher, eventFactory, null, null); 79 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(false); 91 auditFilter = new RestletAccessAuditFilterTest(restlet, eventPublisher, eventFactory, 97 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(true); 104 verify(eventPublisher).tryPublish(anyString(), captor.capture()); 114 auditFilter = new RestletAccessAuditFilterTest(restlet, eventPublisher, eventFactory, 120 when(eventPublisher.isAuditing(anyString(), anyString(), any(EventName.class))).thenReturn(true); 127 verify(eventPublisher) [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/audit/ |
H A D | AbstractAuthenticationEventAuditor.java | 54 protected final AuditEventPublisher eventPublisher; field in class:AbstractAuthenticationEventAuditor 60 * @param eventPublisher The publisher responsible for logging the events. 63 public AbstractAuthenticationEventAuditor(AuditEventPublisher eventPublisher, AuditEventFactory eventFactory) { argument 65 this.eventPublisher = eventPublisher;
|
H A D | AuthenticationModuleEventAuditor.java | 52 * @param eventPublisher The publisher responsible for logging the events. 56 public AuthenticationModuleEventAuditor(AuditEventPublisher eventPublisher, AuditEventFactory eventFactory) { argument 57 super(eventPublisher, eventFactory); 72 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGIN_MODULE_COMPLETED)) { 91 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGIN_MODULE_COMPLETED)) { 117 eventPublisher.tryPublish(AUTHENTICATION_TOPIC, builder.toEvent());
|
H A D | AuthenticationProcessEventAuditor.java | 60 * @param eventPublisher The publisher responsible for logging the events. 64 public AuthenticationProcessEventAuditor(AuditEventPublisher eventPublisher, AuditEventFactory eventFactory) { argument 65 super(eventPublisher, eventFactory); 76 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGIN_COMPLETED)) { 94 eventPublisher.tryPublish(AUTHENTICATION_TOPIC, builder.toEvent()); 118 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGIN_COMPLETED)) { 137 eventPublisher.tryPublish(AUTHENTICATION_TOPIC, builder.toEvent()); 149 if (eventPublisher.isAuditing(realm, AUTHENTICATION_TOPIC, AM_LOGOUT)) { 179 eventPublisher.tryPublish(AUTHENTICATION_TOPIC, builder.toEvent());
|
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/audit/ |
H A D | RadiusAuditLoggerEventBus.java | 80 * @param eventPublisher - the interface through which audit events may be published to the audit handler 85 AuditEventPublisher eventPublisher) { 90 this.auditEventPublisher = eventPublisher; 84 RadiusAuditLoggerEventBus(@amed�) EventBus eventBus, AuditEventFactory eventFactory, AuditEventPublisher eventPublisher) argument
|
/forgerock/openam-v13/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/ |
H A D | AbstractHttpAccessAuditFilterTest.java | 64 private AuditEventPublisher eventPublisher; field in class:AbstractHttpAccessAuditFilterTest 77 auditFilter = new MockAccessAuditFilter(eventPublisher, eventFactory); 106 verify(eventPublisher, never()).tryPublish(anyString(), any(AuditEvent.class)); 127 verify(eventPublisher, times(2)).tryPublish(eq(AuditConstants.ACCESS_TOPIC), auditEventCaptor.capture()); 178 given(eventPublisher 181 given(eventPublisher 187 given(eventPublisher 190 given(eventPublisher
|
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/audit/ |
H A D | RadiusAuditLoggerEventBus.java | 79 * @param eventPublisher - the interface through which audit events may be published to the audit handler 84 AuditEventPublisher eventPublisher) { 89 this.auditEventPublisher = eventPublisher; 83 RadiusAuditLoggerEventBus(@amed�) EventBus eventBus, AuditEventFactory eventFactory, AuditEventPublisher eventPublisher) argument
|
/forgerock/openam/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/ |
H A D | AbstractHttpAccessAuditFilterTest.java | 64 private AuditEventPublisher eventPublisher; field in class:AbstractHttpAccessAuditFilterTest 77 auditFilter = new MockAccessAuditFilter(eventPublisher, eventFactory); 106 verify(eventPublisher, never()).tryPublish(anyString(), any(AuditEvent.class)); 127 verify(eventPublisher, times(2)).tryPublish(eq(AuditConstants.ACCESS_TOPIC), auditEventCaptor.capture()); 178 given(eventPublisher 181 given(eventPublisher 187 given(eventPublisher 190 given(eventPublisher
|