401acfeadf739439e8514f7faebea21ad1144ed6
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 19
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public setPrincipal(principal Principal) : void renamed to public setSubject(principal Subject) : void in class org.infinispan.rest.framework.RestRequest | From | To | |
| Rename Method public setPrincipal(principal Principal) : void renamed to public setSubject(principal Subject) : void in class org.infinispan.rest.framework.impl.SimpleRequest | From | To | |
| Change Parameter Type | 4 | ||
| Change Parameter Type request : NettyRestRequest to request : RestRequest in method public challenge(request RestRequest, ctx ChannelHandlerContext) : CompletionStage<RestResponse> in class org.infinispan.rest.authentication.Authenticator | From | To | |
| Change Parameter Type principal : Principal to principal : Subject in method public setSubject(principal Subject) : void in class org.infinispan.rest.framework.impl.SimpleRequest | From | To | |
| Change Parameter Type principal : Principal to principal : Subject in method public setSubject(principal Subject) : void in class org.infinispan.rest.framework.RestRequest | From | To | |
| Change Parameter Type request : NettyRestRequest to request : RestRequest in method public challenge(request RestRequest, ctx ChannelHandlerContext) : CompletionStage<RestResponse> in class org.infinispan.rest.authentication.impl.BasicAuthenticator | From | To | |
| Inline Method | 1 | ||
| Inline Method private authenticate(ctx ChannelHandlerContext, request FullHttpRequest) : NettyRestResponse.Builder inlined to public channelRead0(ctx ChannelHandlerContext, request FullHttpRequest) : void in class org.infinispan.rest.Http20RequestHandler | From | To | |
| Change Return Type | 4 | ||
| Change Return Type void to CompletionStage<RestResponse> in method public challenge(request RestRequest, ctx ChannelHandlerContext) : CompletionStage<RestResponse> in class org.infinispan.rest.authentication.Authenticator | From | To | |
| Change Return Type Principal to Subject in method public authenticate(username String, password String) : Subject in class org.infinispan.rest.authentication.SecurityDomain | From | To | |
| Change Return Type void to CompletionStage<RestResponse> in method public challenge(request RestRequest, ctx ChannelHandlerContext) : CompletionStage<RestResponse> in class org.infinispan.rest.authentication.impl.BasicAuthenticator | From | To | |
| Change Return Type Principal to Subject in method public authenticate(username String, password String) : Subject in class org.infinispan.server.endpoint.subsystem.security.BasicRestSecurityDomain | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute principal : Principal to subject : Subject in class org.infinispan.rest.framework.impl.SimpleRequest | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type principal : Principal to subject : Subject in class org.infinispan.rest.framework.impl.SimpleRequest | From | To | |
| Extract Method | 2 | ||
| Extract Method private handleError(ctx ChannelHandlerContext, request FullHttpRequest, throwable Throwable) : void extracted from public channelRead0(ctx ChannelHandlerContext, request FullHttpRequest) : void in class org.infinispan.rest.Http20RequestHandler | From | To |