5b62eb66996e9f66afcbfd040ff2d1b18ec1b88a
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable principal : UaaPrincipal to uaaPrincipal : UaaPrincipal in method protected createIfMissing(samlPrincipal UaaPrincipal, existingPrincipal UaaPrincipal, addNew boolean) : UaaPrincipal in class org.cloudfoundry.identity.uaa.login.saml.LoginSamlAuthenticationProvider | From | To | |
Change Return Type | 3 | ||
Change Return Type MockHttpSession to SecurityContext in method private setupSecurityContext() : SecurityContext in class org.cloudfoundry.identity.uaa.login.InvitationsControllerMockMvcTests | From | To | |
Change Return Type void to AbstractIdentityProviderDefinition in method public setEmailDomain(emailDomain List<String>) : AbstractIdentityProviderDefinition in class org.cloudfoundry.identity.uaa.AbstractIdentityProviderDefinition | From | To | |
Change Return Type ArrayList<MimeMessageWrapper> to List<MimeMessageWrapper> in method public getSentMessages() : List<MimeMessageWrapper> in class org.cloudfoundry.identity.uaa.login.util.FakeJavaMailSender | From | To | |
Extract Method | 6 | ||
Extract Method protected getMarissaAuthentication() : UsernamePasswordAuthenticationToken extracted from public testSendInvitationEmailToExistingVerifiedUser() : void in class org.cloudfoundry.identity.uaa.login.InvitationsControllerTest | From | To | |
Extract Method protected getMarissaAuthentication() : UsernamePasswordAuthenticationToken extracted from public testSendInvitationEmail() : void in class org.cloudfoundry.identity.uaa.login.InvitationsControllerTest | From | To | |
Extract Method protected getMarissaAuthentication() : UsernamePasswordAuthenticationToken extracted from public sendInvitationWithValidClientIdAndRedirectUri() : void in class org.cloudfoundry.identity.uaa.login.InvitationsControllerTest | From | To | |
Extract Method private generateCode(userEmail String) : String extracted from private generateCode() : String in class org.cloudfoundry.identity.uaa.integration.feature.InvitationsIT | From | To | |
Extract Method protected getExpiringUsernameAuthenticationToken(authentication Authentication) : ExpiringUsernameAuthenticationToken extracted from public authenticate(authentication Authentication) : Authentication in class org.cloudfoundry.identity.uaa.login.saml.LoginSamlAuthenticationProvider | From | To | |
Extract Method protected getMarissaAuthentication() : UsernamePasswordAuthenticationToken extracted from public testSendInvitationWithInvalidEmail() : void in class org.cloudfoundry.identity.uaa.login.InvitationsControllerTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter servletResponse : HttpServletResponse to response : HttpServletResponse in method public acceptInvitation(password String, passwordConfirmation String, clientId String, redirectUri String, model Model, request HttpServletRequest, response HttpServletResponse) : String in class org.cloudfoundry.identity.uaa.login.InvitationsController | From | To |