d4d087c8f9e0f92035d3410a81d6b193a303a24c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private assertClientEvents(eventType AuditEventType, scopes String[], authorities String[]) : void renamed to private assertSingleClientAdminAuditEventFiredWith(expectedEventType AuditEventType, expectedScopes String[], expectedAuthorities String[]) : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Variable | 8 | ||
| Rename Variable passwordevent : IdentityProviderAuthenticationSuccessEvent to passwordEvent : IdentityProviderAuthenticationSuccessEvent in method package userLoginAuthenticateEndpointTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Variable userevent : UserAuthenticationSuccessEvent to userEvent : UserAuthenticationSuccessEvent in method package userLoginAuthenticateEndpointTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Variable passwordevent : IdentityProviderAuthenticationSuccessEvent to passwordEvent : IdentityProviderAuthenticationSuccessEvent in method package userLoginTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Variable event3 : PrincipalAuthenticationFailureEvent to principalAuthFailEvent : PrincipalAuthenticationFailureEvent in method package invalidPasswordLoginUnsuccessfulTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Variable userevent : UserAuthenticationSuccessEvent to userEvent : UserAuthenticationSuccessEvent in method package userLoginTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Variable event2 : UserAuthenticationFailureEvent to userAuthFailEvent : UserAuthenticationFailureEvent in method package invalidPasswordLoginUnsuccessfulTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Variable event1 : IdentityProviderAuthenticationFailureEvent to idpAuthFailEvent : IdentityProviderAuthenticationFailureEvent in method package invalidPasswordLoginUnsuccessfulTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Variable event : UnverifiedUserAuthenticationEvent to unverifiedUserAuthEvent : UnverifiedUserAuthenticationEvent in method package unverifiedPostLegacyUserAuthenticationWhenAllowedTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method | 20 | ||
| Extract Method private resetAuditTestReceivers() : void extracted from package passwordResetRequestEvent() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package passwordResetRequestEvent() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private resetAuditTestReceivers() : void extracted from package testUserModifiedAndDeleteEvent() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private resetAuditTestReceivers() : void extracted from package testUserCreatedEventDuringLoginServerAuthorize() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private resetAuditTestReceivers() : void extracted from package testGroupEvents() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package testUserApprovalAdded() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private resetAuditTestReceivers() : void extracted from package testUserVerifiedEvent() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package invalidPasswordLoginUnsuccessfulTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package userLoginAuthenticateEndpointTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package userLoginTest() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package testGroupEvents() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from private createUser(adminToken String, username String, firstname String, lastname String, email String, password String, verified boolean) : ScimUser in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private resetAuditTestReceivers() : void extracted from private createUser(adminToken String, username String, firstname String, lastname String, email String, password String, verified boolean) : ScimUser in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package testUserCreatedEvent() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private resetAuditTestReceivers() : void extracted from package testUserCreatedEvent() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private resetAuditTestReceivers() : void extracted from package testUserApprovalAdded() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package testUserVerifiedEvent() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package testUserModifiedAndDeleteEvent() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private resetAuditTestReceivers() : void extracted from package setUp(springSecurityFilterChain FilterChainProxy, webApplicationContext WebApplicationContext) : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Extract Method private assertNumberOfAuditEventsReceived(expectedEventCount int) : void extracted from package testUserCreatedEventDuringLoginServerAuthorize() : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter eventType : AuditEventType to expectedEventType : AuditEventType in method private assertSingleClientAdminAuditEventFiredWith(expectedEventType AuditEventType, expectedScopes String[], expectedAuthorities String[]) : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Parameter authorities : String[] to expectedAuthorities : String[] in method private assertSingleClientAdminAuditEventFiredWith(expectedEventType AuditEventType, expectedScopes String[], expectedAuthorities String[]) : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To | |
| Rename Parameter scopes : String[] to expectedScopes : String[] in method private assertSingleClientAdminAuditEventFiredWith(expectedEventType AuditEventType, expectedScopes String[], expectedAuthorities String[]) : void in class org.cloudfoundry.identity.uaa.mock.audit.AuditCheckMockMvcTests | From | To |