79ca722b49b04f723aa35668b77d8e7f5da4d04f
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type evaluationContext : KeycloakEvaluationContext to evaluationContext : EvaluationContext in method private evaluateUserManagedPermissions(request KeycloakAuthorizationRequest, ticket PermissionTicketToken, resourceServer ResourceServer, evaluationContext EvaluationContext, identity KeycloakIdentity) : Collection<Permission> in class org.keycloak.authorization.authorization.AuthorizationTokenService | From | To | |
Change Parameter Type evaluationContext : KeycloakEvaluationContext to evaluationContext : EvaluationContext in method private evaluateAllPermissions(request KeycloakAuthorizationRequest, resourceServer ResourceServer, evaluationContext EvaluationContext, identity KeycloakIdentity) : Collection<Permission> in class org.keycloak.authorization.authorization.AuthorizationTokenService | From | To | |
Change Parameter Type evaluationContext : KeycloakEvaluationContext to evaluationContext : EvaluationContext in method private evaluatePermissions(request KeycloakAuthorizationRequest, ticket PermissionTicketToken, resourceServer ResourceServer, evaluationContext EvaluationContext, identity KeycloakIdentity) : Collection<Permission> in class org.keycloak.authorization.authorization.AuthorizationTokenService | From | To | |
Change Return Type | 1 | ||
Change Return Type KeycloakEvaluationContext to EvaluationContext in method private createEvaluationContext(request KeycloakAuthorizationRequest) : EvaluationContext in class org.keycloak.authorization.authorization.AuthorizationTokenService | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.keycloak.authorization.model.AbstractAuthorizationModel from classes [org.keycloak.authorization.jpa.store.PolicyAdapter, org.keycloak.authorization.jpa.store.ResourceAdapter, org.keycloak.authorization.jpa.store.ResourceServerAdapter, org.keycloak.authorization.jpa.store.ScopeAdapter] | From | To | |
Change Variable Type | 2 | ||
Change Variable Type evaluationContext : KeycloakEvaluationContext to evaluationContext : EvaluationContext in method public authorize(request KeycloakAuthorizationRequest) : Response in class org.keycloak.authorization.authorization.AuthorizationTokenService | From | To | |
Change Variable Type evaluationContextProvider : BiFunction<AuthorizationRequest,AuthorizationProvider,KeycloakEvaluationContext> to evaluationContextProvider : BiFunction<AuthorizationRequest,AuthorizationProvider,EvaluationContext> in method private createEvaluationContext(request KeycloakAuthorizationRequest) : EvaluationContext in class org.keycloak.authorization.authorization.AuthorizationTokenService | From | To | |
Extract Method | 1 | ||
Extract Method private createEvaluationContext(session KeycloakSession, contextAttributes Map<String,Collection<String>>) : DefaultEvaluationContext extracted from private createEvaluation(session KeycloakSession, authorization AuthorizationProvider, resource Resource, resourceServer ResourceServer, policy Policy, contextAttributes Map<String,Collection<String>>) : DefaultEvaluation in class org.keycloak.testsuite.authz.PolicyEvaluationTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type SUPPORTED_CLAIM_TOKEN_FORMATS : Map<String,BiFunction<AuthorizationRequest,AuthorizationProvider,KeycloakEvaluationContext>> to SUPPORTED_CLAIM_TOKEN_FORMATS : Map<String,BiFunction<AuthorizationRequest,AuthorizationProvider,EvaluationContext>> in class org.keycloak.authorization.authorization.AuthorizationTokenService | From | To |