8e877a7f6ce8f8fc3ef1d3820101a5d3671b35bf
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private getStoreFactory() : StoreFactory renamed to private getDelegateStoreFactory() : StoreFactory in class org.keycloak.models.authorization.infinispan.CachedResourceStore | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type role : RoleModel to roleName : String in method private createRolePolicy(authz AuthorizationProvider, resourceServer ResourceServer, roleName String) : Policy in class org.keycloak.testsuite.admin.AuthzCleanupTest | From | To | |
Change Parameter Type storeFactory : StoreFactory to authorization : AuthorizationProvider in method public toModel(representation AbstractPolicyRepresentation, authorization AuthorizationProvider, model Policy) : Policy in class org.keycloak.models.utils.RepresentationToModel | From | To | |
Change Parameter Type authorizationProvider : AuthorizationProvider to session : KeycloakSession in method public InfinispanStoreFactoryProvider(session KeycloakSession) in class org.keycloak.models.authorization.infinispan.InfinispanStoreFactoryProvider | From | To | |
Rename Variable | 2 | ||
Rename Variable client : ClientModel to myclient : ClientModel in method public setup(session KeycloakSession) : void in class org.keycloak.testsuite.admin.AuthzCleanupTest | From | To | |
Rename Variable updatedRoles : Set<String> to updatedUsers : Set<String> in method private updateUsers(policy Policy, authorization AuthorizationProvider, users Set<String>) : void in class org.keycloak.authorization.policy.provider.user.UserPolicyProviderFactory | From | To | |
Rename Attribute | 1 | ||
Rename Attribute storeFactory : StoreFactory to delegateStoreFactory : StoreFactory in class org.keycloak.models.authorization.infinispan.CachedResourceStore | From | To | |
Extract Variable | 1 | ||
Extract Variable userProvider : UserProvider in method private updateUsers(policy Policy, authorization AuthorizationProvider, users Set<String>) : void from class org.keycloak.authorization.policy.provider.user.UserPolicyProviderFactory | From | To | |
Extract Method | 6 | ||
Extract Method private performTests(assertion TestRunnable) : void extracted from public testGrantAdministrativePermissions() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractServletAuthzAdapterTest | From | To | |
Extract Method private performTests(assertion TestRunnable) : void extracted from public testRegularUserPermissions() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractServletAuthzAdapterTest | From | To | |
Extract Method private performTests(assertion TestRunnable) : void extracted from public testAdminPermissions() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractServletAuthzAdapterTest | From | To | |
Extract Method private performTests(assertion TestRunnable) : void extracted from public testUserPremiumPermissions() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractServletAuthzAdapterTest | From | To | |
Extract Method private performTests(assertion TestRunnable) : void extracted from public testGrantPremiumAccessToUser() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractServletAuthzAdapterTest | From | To | |
Extract Method private performTests(assertion TestRunnable) : void extracted from public testAccessPublicResource() : void in class org.keycloak.testsuite.adapter.example.authorization.AbstractServletAuthzAdapterTest | From | To | |
Rename Parameter | 3 | ||
Rename Parameter role : RoleModel to roleName : String in method private createRolePolicy(authz AuthorizationProvider, resourceServer ResourceServer, roleName String) : Policy in class org.keycloak.testsuite.admin.AuthzCleanupTest | From | To | |
Rename Parameter storeFactory : StoreFactory to authorization : AuthorizationProvider in method public toModel(representation AbstractPolicyRepresentation, authorization AuthorizationProvider, model Policy) : Policy in class org.keycloak.models.utils.RepresentationToModel | From | To | |
Rename Parameter authorizationProvider : AuthorizationProvider to session : KeycloakSession in method public InfinispanStoreFactoryProvider(session KeycloakSession) in class org.keycloak.models.authorization.infinispan.InfinispanStoreFactoryProvider | From | To |