5ec04cac73d66bd2bd56e9ffa2b91fbee1eddabe
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public getExpectedRoles() : String[] renamed to public getRoles() : String[] in class org.pac4j.core.authorization.RequireAnyRoleAuthorizer | From | To | |
| Rename Method public getExpectedRoles() : String[] renamed to public getRoles() : String[] in class org.pac4j.core.authorization.RequireAllRolesAuthorizer | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute expectedRoles : String[] to roles : String[] in class org.pac4j.core.authorization.RequireAllRolesAuthorizer | From | To | |
| Rename Attribute expectedRoles : String[] to roles : String[] in class org.pac4j.core.authorization.RequireAnyRoleAuthorizer | From | To | |
| Extract Variable | 2 | ||
| Extract Variable profileRoles : List<String> in method public isAuthorized(context WebContext, profile U) : boolean from class org.pac4j.core.authorization.RequireAllRolesAuthorizer | From | To | |
| Extract Variable profileRoles : List<String> in method public isAuthorized(context WebContext, profile U) : boolean from class org.pac4j.core.authorization.RequireAnyRoleAuthorizer | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter expectedRoles : String[] to roles : String... in method public RequireAllRolesAuthorizer(roles String...) in class org.pac4j.core.authorization.RequireAllRolesAuthorizer | From | To | |
| Rename Parameter expectedRoles : String[] to roles : String... in method public RequireAnyRoleAuthorizer(roles String...) in class org.pac4j.core.authorization.RequireAnyRoleAuthorizer | From | To |