##### Project Documentation

- About Acegi Security System for Spring
- Downloads
- Project Info
- Project Reports
  - Change Log
  - Checkstyle
  - Clover
  - JavaDocs
  - JavaDoc Report
  - JavaDoc Warnings Report
  - Metrics
  - Unit Tests
  - Source Xref
  - Test Xref
  - PMD Report
  - Simian Report
  - Task List
  - FindBugs Report
- Development Process

## PMD Results

The following document contains the results of PMD.

## Summary

Files | Errors
--- | ---
43 | 59

## Files

Files | Violations
--- | ---
org/acegisecurity/ConfigAttributeDefinition.java | 1
org/acegisecurity/acl/AclProviderManager.java | 1
org/acegisecurity/acl/basic/BasicAclProvider.java | 1
org/acegisecurity/acl/basic/SimpleAclEntry.java | 1
org/acegisecurity/acl/basic/jdbc/JdbcDaoImpl.java | 1
org/acegisecurity/acl/basic/jdbc/JdbcExtendedDaoImpl.java | 1
org/acegisecurity/adapters/AbstractAdapterAuthenticationToken.java | 1
org/acegisecurity/afterinvocation/AfterInvocationProviderManager.java | 1
org/acegisecurity/context/HttpSessionContextIntegrationFilter.java | 3
org/acegisecurity/intercept/method/MethodDefinitionAttributes.java | 1
org/acegisecurity/intercept/method/MethodDefinitionMap.java | 1
org/acegisecurity/intercept/method/MethodDefinitionSourceEditor.java | 2
org/acegisecurity/intercept/web/AbstractFilterInvocationDefinitionSource.java | 1
org/acegisecurity/intercept/web/FilterInvocationDefinitionSourceEditor.java | 1
org/acegisecurity/providers/AbstractAuthenticationToken.java | 1
org/acegisecurity/providers/ProviderManager.java | 6
org/acegisecurity/providers/anonymous/AnonymousAuthenticationProvider.java | 1
org/acegisecurity/providers/anonymous/AnonymousAuthenticationToken.java | 1
org/acegisecurity/providers/cas/CasAuthenticationProvider.java | 1
org/acegisecurity/providers/cas/CasAuthenticationToken.java | 1
org/acegisecurity/providers/dao/AbstractUserDetailsAuthenticationProvider.java | 1
org/acegisecurity/providers/dao/DaoAuthenticationProvider.java | 1
org/acegisecurity/providers/dao/UserCache.java | 1
org/acegisecurity/providers/rcp/RemoteAuthenticationProvider.java | 1
org/acegisecurity/providers/rememberme/RememberMeAuthenticationProvider.java | 1
org/acegisecurity/providers/rememberme/RememberMeAuthenticationToken.java | 1
org/acegisecurity/providers/x509/populator/DaoX509AuthoritiesPopulator.java | 1
org/acegisecurity/securechannel/ChannelDecisionManagerImpl.java | 1
org/acegisecurity/taglibs/velocity/Authz.java | 6
org/acegisecurity/taglibs/velocity/AuthzImpl.java | 1
org/acegisecurity/ui/AbstractProcessingFilter.java | 1
org/acegisecurity/ui/rememberme/TokenBasedRememberMeServices.java | 1
org/acegisecurity/ui/switchuser/SwitchUserProcessingFilter.java | 1
org/acegisecurity/userdetails/User.java | 2
org/acegisecurity/userdetails/UserDetails.java | 1
org/acegisecurity/userdetails/UserDetailsService.java | 1
org/acegisecurity/userdetails/jdbc/JdbcDaoImpl.java | 1
org/acegisecurity/userdetails/memory/UserMapEditor.java | 1
org/acegisecurity/vote/AbstractAccessDecisionManager.java | 1
org/acegisecurity/vote/AbstractAclVoter.java | 3
org/acegisecurity/vote/AffirmativeBased.java | 1
org/acegisecurity/vote/ConsensusBased.java | 1
org/acegisecurity/vote/UnanimousBased.java | 1

### org/acegisecurity/ConfigAttributeDefinition.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 92

### org/acegisecurity/acl/AclProviderManager.java

Violation | Line
--- | ---
Avoid unused local variables such as 'attemptToCast' | 131

### org/acegisecurity/acl/basic/BasicAclProvider.java

Violation | Line
--- | ---
Avoid unused local variables such as 'constructor' | 264

### org/acegisecurity/acl/basic/SimpleAclEntry.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 31

### org/acegisecurity/acl/basic/jdbc/JdbcDaoImpl.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 63

### org/acegisecurity/acl/basic/jdbc/JdbcExtendedDaoImpl.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 70

### org/acegisecurity/adapters/AbstractAdapterAuthenticationToken.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 109

### org/acegisecurity/afterinvocation/AfterInvocationProviderManager.java

Violation | Line
--- | ---
Avoid unused local variables such as 'attemptToCast' | 78

### org/acegisecurity/context/HttpSessionContextIntegrationFilter.java

Violation | Line
--- | ---
Avoid empty catch blocks | 167
Avoid empty catch blocks | 230
Avoid empty catch blocks | 257

### org/acegisecurity/intercept/method/MethodDefinitionAttributes.java

Violation | Line
--- | ---
Avoid empty catch blocks | 150

### org/acegisecurity/intercept/method/MethodDefinitionMap.java

Violation | Line
--- | ---
Avoid empty catch blocks | 232

### org/acegisecurity/intercept/method/MethodDefinitionSourceEditor.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 46
Avoid empty 'if' statements | 53

### org/acegisecurity/intercept/web/AbstractFilterInvocationDefinitionSource.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 34

### org/acegisecurity/intercept/web/FilterInvocationDefinitionSourceEditor.java

Violation | Line
--- | ---
Avoid empty 'if' statements | 65

### org/acegisecurity/providers/AbstractAuthenticationToken.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 49

### org/acegisecurity/providers/ProviderManager.java

Violation | Line
--- | ---
Avoid empty catch blocks | 245
Avoid empty catch blocks | 246
Avoid empty catch blocks | 247
Avoid empty catch blocks | 248
Avoid empty catch blocks | 249
Avoid unused local variables such as 'attemptToCast' | 308

### org/acegisecurity/providers/anonymous/AnonymousAuthenticationProvider.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 46

### org/acegisecurity/providers/anonymous/AnonymousAuthenticationToken.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 108

### org/acegisecurity/providers/cas/CasAuthenticationProvider.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 52

### org/acegisecurity/providers/cas/CasAuthenticationToken.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 146

### org/acegisecurity/providers/dao/AbstractUserDetailsAuthenticationProvider.java

Violation | Line
--- | ---
Avoid unused imports such as 'UserDetailsService' | 29

### org/acegisecurity/providers/dao/DaoAuthenticationProvider.java

Violation | Line
--- | ---
Avoid unused imports such as 'AuthenticationProvider' | 22

### org/acegisecurity/providers/dao/UserCache.java

Violation | Line
--- | ---
Avoid unused imports such as 'User' | 18

### org/acegisecurity/providers/rcp/RemoteAuthenticationProvider.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 65

### org/acegisecurity/providers/rememberme/RememberMeAuthenticationProvider.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 46

### org/acegisecurity/providers/rememberme/RememberMeAuthenticationToken.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 114

### org/acegisecurity/providers/x509/populator/DaoX509AuthoritiesPopulator.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 49

### org/acegisecurity/securechannel/ChannelDecisionManagerImpl.java

Violation | Line
--- | ---
Avoid unused local variables such as 'attemptToCast' | 70

### org/acegisecurity/taglibs/velocity/Authz.java

Violation | Line
--- | ---
Avoid unused imports such as 'Authentication' | 18
Avoid unused imports such as 'AclManager' | 20
Avoid unused imports such as 'AclTag' | 22
Avoid unused imports such as 'AuthenticationTag' | 23
Avoid unused imports such as 'AuthorizeTag' | 24
Avoid unused imports such as 'UserDetails' | 26

### org/acegisecurity/taglibs/velocity/AuthzImpl.java

Violation | Line
--- | ---
Avoid unused imports such as 'AclManager' | 18

### org/acegisecurity/ui/AbstractProcessingFilter.java

Violation | Line
--- | ---
Avoid empty catch blocks | 455

### org/acegisecurity/ui/rememberme/TokenBasedRememberMeServices.java

Violation | Line
--- | ---
Avoid unused formal parameters such as 'request' | 356

### org/acegisecurity/ui/switchuser/SwitchUserProcessingFilter.java

Violation | Line
--- | ---
Avoid unused formal parameters such as 'username' | 303

### org/acegisecurity/userdetails/User.java

Violation | Line
--- | ---
Avoid unused imports such as 'DaoAuthenticationProvider' | 19
Ensure you override both equals() and hashCode() | 171

### org/acegisecurity/userdetails/UserDetails.java

Violation | Line
--- | ---
Avoid unused imports such as 'Authentication' | 20

### org/acegisecurity/userdetails/UserDetailsService.java

Violation | Line
--- | ---
Avoid unused imports such as 'DaoAuthenticationProvider' | 18

### org/acegisecurity/userdetails/jdbc/JdbcDaoImpl.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 73

### org/acegisecurity/userdetails/memory/UserMapEditor.java

Violation | Line
--- | ---
Avoid empty 'if' statements | 73

### org/acegisecurity/vote/AbstractAccessDecisionManager.java

Violation | Line
--- | ---
Avoid unused local variables such as 'attemptToCast' | 86

### org/acegisecurity/vote/AbstractAclVoter.java

Violation | Line
--- | ---
Avoid unused imports such as 'ConfigAttribute' | 19
Avoid unused imports such as 'AclEntry' | 20
Avoid unused imports such as 'AclManager' | 21

### org/acegisecurity/vote/AffirmativeBased.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 36

### org/acegisecurity/vote/ConsensusBased.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 36

### org/acegisecurity/vote/UnanimousBased.java

Violation | Line
--- | ---
Avoid unused private fields such as 'logger' | 37