Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Infos Warnings Errors
28 0 0 492

Files

Files I W E
ch/odi/jaaspam/AuthInfoUnavailableException.java 0 0 6
ch/odi/jaaspam/CredentialsInsufficientException.java 0 0 5
ch/odi/jaaspam/MaxRetriesException.java 0 0 5
ch/odi/jaaspam/PamLoginModule.java 0 0 92
ch/odi/jaaspam/PamModuleLoadingException.java 0 0 5
ch/odi/jaaspam/PamPrincipal.java 0 0 1
ch/odi/jaaspam/PamPrincipal.java 0 0 18
ch/odi/jaaspam/PermissionDeniedException.java 0 0 4
ch/odi/jaaspam/package.html 0 0 1
ch/odi/pam/Pam.java 0 0 238
ch/odi/pam/PamCallback.java 0 0 6
ch/odi/pam/PamConstants.java 0 0 65
ch/odi/pam/PamError.java 0 0 10
ch/odi/pam/PamMessage.java 0 0 20
ch/odi/pam/PamResponse.java 0 0 15
ch/odi/pam/package.html 0 0 1

ch/odi/jaaspam/AuthInfoUnavailableException.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line is longer than 80 characters. 6
Error Line has trailing spaces. 7
Error Line has trailing spaces. 14
Error Parameter msg should be final. 23
Error Expected @param tag for 'msg'. 23

ch/odi/jaaspam/CredentialsInsufficientException.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line is longer than 80 characters. 6
Error Line has trailing spaces. 13
Error Parameter msg should be final. 22
Error Expected @param tag for 'msg'. 22

ch/odi/jaaspam/MaxRetriesException.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line is longer than 80 characters. 6
Error Line has trailing spaces. 14
Error Parameter msg should be final. 23
Error Expected @param tag for 'msg'. 23

ch/odi/jaaspam/PamLoginModule.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 47
Error Missing a Javadoc comment. 48
Error Missing a Javadoc comment. 49
Error Missing a Javadoc comment. 50
Error Missing a Javadoc comment. 51
Error Name 'logged_in' must match pattern '^[a-z][a-zA-Z0-9]*$'. 51
Error Missing a Javadoc comment. 52
Error Line has trailing spaces. 53
Error Line has trailing spaces. 55
Error Line has trailing spaces. 62
Error Line is longer than 80 characters. 63
Error Method 'initialize' is not designed for extension - needs to be abstract, final or empty. 65
Error Parameter subject should be final. 65
Error 'subject' hides a field. 65
Error Parameter callbackHandler should be final. 65
Error Expected @param tag for 'callbackHandler'. 65
Error Parameter sharedState should be final. 66
Error Expected @param tag for 'sharedState'. 66
Error Parameter options should be final. 66
Error Expected @param tag for 'options'. 66
Error 'if' construct must use '{}'s. 69
Error Line is longer than 80 characters. 69
Error Comment matches to-do format 'TODO:'. 70
Error Method 'login' is not designed for extension - needs to be abstract, final or empty. 75
Error Missing a Javadoc comment. 75
Error 'if' construct must use '{}'s. 76
Error Line is longer than 80 characters. 76
Error '+' should be on a new line. 76
Error Line is longer than 80 characters. 77
Error Line has trailing spaces. 78
Error Line has trailing spaces. 92
Error Line has trailing spaces. 96
Error Line has trailing spaces. 100
Error Line has trailing spaces. 104
Error Line has trailing spaces. 108
Error Line has trailing spaces. 112
Error Line has trailing spaces. 117
Error switch without "default" clause. 120
Error Line has trailing spaces. 124
Error Line has trailing spaces. 128
Error Line has trailing spaces. 132
Error Line has trailing spaces. 136
Error Line has trailing spaces. 140
Error Line has trailing spaces. 144
Error Line has trailing spaces. 148
Error Line has trailing spaces. 151
Error Line has trailing spaces. 152
Error Method 'commit' is not designed for extension - needs to be abstract, final or empty. 156
Error Missing a Javadoc comment. 156
Error 'if' construct must use '{}'s. 158
Error 'if' construct must use '{}'s. 161
Error Line has trailing spaces. 162
Error Method 'abort' is not designed for extension - needs to be abstract, final or empty. 168
Error Missing a Javadoc comment. 168
Error 'if' construct must use '{}'s. 170
Error Method 'logout' is not designed for extension - needs to be abstract, final or empty. 180
Error Missing a Javadoc comment. 180
Error 'if' construct must use '{}'s. 181
Error 'if' construct must use '{}'s. 183
Error Line has trailing spaces. 190
Error Missing a Javadoc comment. 191
Error Line has trailing spaces. 196
Error Missing a Javadoc comment. 197
Error Missing a Javadoc comment. 204
Error Missing a Javadoc comment. 206
Error Parameter messages should be final. 206
Error Parameter responses should be final. 206
Error Line has trailing spaces. 221
Error Parameter callbacks should be final. 226
Error Expected @param tag for 'callbacks'. 226
Error Parameter responses should be final. 226
Error Expected @param tag for 'responses'. 226
Error Line has trailing spaces. 229
Error Line is longer than 80 characters. 238
Error Line is longer than 80 characters. 242
Error Line is longer than 80 characters. 249
Error 'if' construct must use '{}'s. 253
Error Line is longer than 80 characters. 253
Error Missing a Javadoc comment. 256
Error Parameter messages should be final. 256
Error Line has trailing spaces. 269
Error Line is longer than 80 characters. 272
Error Line has trailing spaces. 274
Error Line is longer than 80 characters. 276
Error Line has trailing spaces. 278
Error Line is longer than 80 characters. 280
Error Line has trailing spaces. 282
Error Line is longer than 80 characters. 284
Error '+' is not preceded with whitespace. 284
Error '+' is not followed by whitespace. 284

ch/odi/jaaspam/PamModuleLoadingException.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line has trailing spaces. 6
Error Line has trailing spaces. 13
Error Parameter msg should be final. 22
Error Expected @param tag for 'msg'. 22

ch/odi/jaaspam/PamPrincipal.java

Error Line
Error File does not end with a newline. 0

ch/odi/jaaspam/PamPrincipal.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Missing a Javadoc comment. 12
Error Line has trailing spaces. 13
Error Missing a Javadoc comment. 14
Error Parameter name should be final. 14
Error 'name' hides a field. 14
Error Method 'getName' is not designed for extension - needs to be abstract, final or empty. 21
Error Missing a Javadoc comment. 21
Error Line has trailing spaces. 24
Error Method 'equals' is not designed for extension - needs to be abstract, final or empty. 25
Error Missing a Javadoc comment. 25
Error Parameter o should be final. 25
Error 'if' construct must use '{}'s. 26
Error 'if' construct must use '{}'s. 27
Error 'if' construct must use '{}'s. 28
Error Line has trailing spaces. 32
Error Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 33
Error Missing a Javadoc comment. 33

ch/odi/jaaspam/PermissionDeniedException.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line has trailing spaces. 13
Error Parameter msg should be final. 22
Error Expected @param tag for 'msg'. 22

ch/odi/jaaspam/package.html

Error Line
Error Missing package documentation file. 0

ch/odi/pam/Pam.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line has trailing spaces. 7
Error Line has trailing spaces. 11
Error Missing a Javadoc comment. 12
Error Name 'pam_handle' must match pattern '^[a-z][a-zA-Z0-9]*$'. 12
Error Missing a Javadoc comment. 13
Error Line has trailing spaces. 14
Error Line has trailing spaces. 18
Error Line has trailing spaces. 20
Error Line is longer than 80 characters. 21
Error Line is longer than 80 characters. 23
Error Parameter serviceName should be final. 25
Error Parameter user should be final. 25
Error Parameter callback should be final. 25
Error 'callback' hides a field. 25
Error 'if' construct must use '{}'s. 30
Error Line is longer than 80 characters. 30
Error '+' is not preceded with whitespace. 30
Error Method 'end' is not designed for extension - needs to be abstract, final or empty. 38
Error Line has trailing spaces. 45
Error Method 'finalize' is not designed for extension - needs to be abstract, final or empty. 46
Error Missing a Javadoc comment. 46
Error Line is longer than 80 characters. 51
Error Line has trailing spaces. 52
Error Method 'getItem' is not designed for extension - needs to be abstract, final or empty. 57
Error Parameter item_type should be final. 57
Error Name 'item_type' must match pattern '^[a-z][a-zA-Z0-9]*$'. 57
Error Line has trailing spaces. 60
Error Line has trailing spaces. 63
Error Line has trailing spaces. 66
Error Line is longer than 80 characters. 66
Error Line is longer than 80 characters. 70
Error Line has trailing spaces. 71
Error Line is longer than 80 characters. 71
Error Line is longer than 80 characters. 72
Error Line is longer than 80 characters. 73
Error Line has trailing spaces. 77
Error Line is longer than 80 characters. 77
Error Line has trailing spaces. 81
Error Line is longer than 80 characters. 81
Error Line is longer than 80 characters. 85
Error Line is longer than 80 characters. 86
Error Line is longer than 80 characters. 87
Error Line is longer than 80 characters. 88
Error Line is longer than 80 characters. 89
Error Line is longer than 80 characters. 90
Error Line is longer than 80 characters. 91
Error Line is longer than 80 characters. 95
Error Line is longer than 80 characters. 96
Error Line has trailing spaces. 97
Error Line is longer than 80 characters. 97
Error Line is longer than 80 characters. 98
Error Line is longer than 80 characters. 102
Error Line is longer than 80 characters. 106
Error Line has trailing spaces. 107
Error Line is longer than 80 characters. 109
Error Line has trailing spaces. 110
Error Line has trailing spaces. 113
Error Line has trailing spaces. 115
Error Method 'setItem' is not designed for extension - needs to be abstract, final or empty. 117
Error Parameter item_type should be final. 117
Error Name 'item_type' must match pattern '^[a-z][a-zA-Z0-9]*$'. 117
Error Parameter item should be final. 117
Error Line has trailing spaces. 120
Error Line is longer than 80 characters. 122
Error Line has trailing spaces. 123
Error Line has trailing spaces. 124
Error Line is longer than 80 characters. 124
Error Line has trailing spaces. 128
Error Line has trailing spaces. 129
Error Line has trailing spaces. 132
Error Line is longer than 80 characters. 134
Error Line has trailing spaces. 135
Error Line has trailing spaces. 137
Error Line is longer than 80 characters. 137
Error Line has trailing spaces. 139
Error Line has trailing spaces. 142
Error Line is longer than 80 characters. 144
Error Line has trailing spaces. 147
Error Line is longer than 80 characters. 147
Error Line has trailing spaces. 148
Error Method 'authenticate' is not designed for extension - needs to be abstract, final or empty. 150
Error Parameter flags should be final. 150
Error Line has trailing spaces. 158
Error Line has trailing spaces. 167
Error Line has trailing spaces. 170
Error Expected an @return tag. 173
Error Method 'authenticate' is not designed for extension - needs to be abstract, final or empty. 173
Error Line has trailing spaces. 176
Error Line is longer than 80 characters. 178
Error Line is longer than 80 characters. 179
Error Line has trailing spaces. 180
Error Line is longer than 80 characters. 180
Error Line has trailing spaces. 181
Error Line is longer than 80 characters. 181
Error Line is longer than 80 characters. 183
Error Line is longer than 80 characters. 186
Error Line is longer than 80 characters. 187
Error Line is longer than 80 characters. 188
Error Line is longer than 80 characters. 189
Error Line has trailing spaces. 193
Error Line has trailing spaces. 199
Error Method 'accountManagement' is not designed for extension - needs to be abstract, final or empty. 203
Error Parameter flags should be final. 203
Error Line has trailing spaces. 206
Error Expected an @return tag. 211
Error Method 'accountManagement' is not designed for extension - needs to be abstract, final or empty. 211
Error Line has trailing spaces. 214
Error Line has trailing spaces. 216
Error Line is longer than 80 characters. 216
Error Line has trailing spaces. 217
Error Line is longer than 80 characters. 217
Error Line has trailing spaces. 219
Error Line has trailing spaces. 220
Error Line is longer than 80 characters. 220
Error Line has trailing spaces. 221
Error Line is longer than 80 characters. 221
Error Line has trailing spaces. 222
Error Line is longer than 80 characters. 222
Error Line has trailing spaces. 223
Error Line is longer than 80 characters. 223
Error Line has trailing spaces. 224
Error Line is longer than 80 characters. 224
Error Line has trailing spaces. 226
Error Line has trailing spaces. 227
Error Line is longer than 80 characters. 227
Error Line is longer than 80 characters. 228
Error Line has trailing spaces. 231
Error Line has trailing spaces. 234
Error Line has trailing spaces. 237
Error Line has trailing spaces. 239
Error Line has trailing spaces. 241
Error Line is longer than 80 characters. 241
Error Line has trailing spaces. 246
Error Line has trailing spaces. 249
Error Line has trailing spaces. 252
Error Line has trailing spaces. 254
Error Method 'setCredentials' is not designed for extension - needs to be abstract, final or empty. 256
Error Parameter flags should be final. 256
Error Line has trailing spaces. 259
Error Line is longer than 80 characters. 261
Error Line has trailing spaces. 262
Error Line is longer than 80 characters. 264
Error Line is longer than 80 characters. 268
Error Line has trailing spaces. 269
Error Line has trailing spaces. 270
Error Line is longer than 80 characters. 270
Error Line is longer than 80 characters. 272
Error Line is longer than 80 characters. 281
Error Line is longer than 80 characters. 284
Error Line is longer than 80 characters. 290
Error Line has trailing spaces. 293
Error Method 'changeAuthToken' is not designed for extension - needs to be abstract, final or empty. 295
Error Parameter flags should be final. 295
Error Line has trailing spaces. 298
Error Line has trailing spaces. 300
Error Line is longer than 80 characters. 300
Error Line has trailing spaces. 301
Error Line is longer than 80 characters. 301
Error Line has trailing spaces. 302
Error Line is longer than 80 characters. 302
Error Line has trailing spaces. 305
Error Line is longer than 80 characters. 305
Error Line has trailing spaces. 306
Error Line has trailing spaces. 307
Error Line is longer than 80 characters. 308
Error Line has trailing spaces. 309
Error Line is longer than 80 characters. 309
Error Method 'openSession' is not designed for extension - needs to be abstract, final or empty. 312
Error Parameter flags should be final. 312
Error Line has trailing spaces. 315
Error Line has trailing spaces. 317
Error Line is longer than 80 characters. 317
Error Line has trailing spaces. 318
Error Line is longer than 80 characters. 318
Error Line is longer than 80 characters. 319
Error Line has trailing spaces. 320
Error Line is longer than 80 characters. 321
Error Line has trailing spaces. 322
Error Line has trailing spaces. 323
Error Line is longer than 80 characters. 324
Error Line has trailing spaces. 325
Error Line is longer than 80 characters. 325
Error Method 'closeSession' is not designed for extension - needs to be abstract, final or empty. 328
Error Parameter flags should be final. 328
Error Line has trailing spaces. 331
Error Method 'getError' is not designed for extension - needs to be abstract, final or empty. 332
Error Missing a Javadoc comment. 332
Error Parameter errorCode should be final. 332
Error Line has trailing spaces. 335
Error Missing a Javadoc comment. 337
Error Parameter messages should be final. 337
Error Parameter responses should be final. 337
Error Line has trailing spaces. 348
Error Missing a Javadoc comment. 350
Error Name 'pam_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. 350
Error Parameter serviceName should be final. 350
Error Parameter user should be final. 350
Error Missing a Javadoc comment. 351
Error Name 'pam_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. 351
Error Parameter handle should be final. 351
Error Missing a Javadoc comment. 352
Error Name 'pam_get_str_item' must match pattern '^[a-z][a-zA-Z0-9]*$'. 352
Error Parameter handle should be final. 352
Error Parameter item should be final. 352
Error Missing a Javadoc comment. 353
Error Name 'pam_set_str_item' must match pattern '^[a-z][a-zA-Z0-9]*$'. 353
Error Parameter handle should be final. 353
Error Parameter item should be final. 353
Error Parameter value should be final. 353
Error Missing a Javadoc comment. 354
Error Name 'pam_authenticate' must match pattern '^[a-z][a-zA-Z0-9]*$'. 354
Error Parameter handle should be final. 354
Error Parameter flags should be final. 354
Error Missing a Javadoc comment. 355
Error Name 'pam_strerror' must match pattern '^[a-z][a-zA-Z0-9]*$'. 355
Error Parameter handle should be final. 355
Error Parameter errnum should be final. 355
Error Missing a Javadoc comment. 356
Error Name 'pam_acct_mgmt' must match pattern '^[a-z][a-zA-Z0-9]*$'. 356
Error Parameter handle should be final. 356
Error Parameter flags should be final. 356
Error Missing a Javadoc comment. 357
Error Name 'pam_setcred' must match pattern '^[a-z][a-zA-Z0-9]*$'. 357
Error Parameter handle should be final. 357
Error Parameter flags should be final. 357
Error Missing a Javadoc comment. 358
Error Name 'pam_chauthtok' must match pattern '^[a-z][a-zA-Z0-9]*$'. 358
Error Parameter handle should be final. 358
Error Parameter flags should be final. 358
Error Missing a Javadoc comment. 359
Error Name 'pam_open_session' must match pattern '^[a-z][a-zA-Z0-9]*$'. 359
Error Parameter handle should be final. 359
Error Parameter flags should be final. 359
Error Missing a Javadoc comment. 360
Error Name 'pam_close_session' must match pattern '^[a-z][a-zA-Z0-9]*$'. 360
Error Parameter handle should be final. 360
Error Parameter flags should be final. 360

ch/odi/pam/PamCallback.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line is longer than 80 characters. 4
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 12
Error Line is longer than 80 characters. 15
Error Line is longer than 80 characters. 16

ch/odi/pam/PamConstants.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line is longer than 80 characters. 5
Error Missing a Javadoc comment. 11
Error Missing a Javadoc comment. 12
Error Missing a Javadoc comment. 13
Error Missing a Javadoc comment. 14
Error Missing a Javadoc comment. 15
Error Missing a Javadoc comment. 16
Error Missing a Javadoc comment. 17
Error Missing a Javadoc comment. 18
Error Missing a Javadoc comment. 19
Error Missing a Javadoc comment. 20
Error Missing a Javadoc comment. 21
Error Missing a Javadoc comment. 22
Error Missing a Javadoc comment. 23
Error Missing a Javadoc comment. 24
Error Missing a Javadoc comment. 25
Error Missing a Javadoc comment. 26
Error Missing a Javadoc comment. 27
Error Missing a Javadoc comment. 28
Error Missing a Javadoc comment. 29
Error Missing a Javadoc comment. 30
Error Missing a Javadoc comment. 31
Error Missing a Javadoc comment. 32
Error Missing a Javadoc comment. 33
Error Missing a Javadoc comment. 34
Error Missing a Javadoc comment. 35
Error Missing a Javadoc comment. 36
Error Missing a Javadoc comment. 37
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 39
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 41
Error Missing a Javadoc comment. 42
Error Line has trailing spaces. 43
Error Missing a Javadoc comment. 44
Error Missing a Javadoc comment. 45
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 47
Error Missing a Javadoc comment. 48
Error Missing a Javadoc comment. 49
Error Missing a Javadoc comment. 50
Error Line has trailing spaces. 51
Error Missing a Javadoc comment. 52
Error Missing a Javadoc comment. 53
Error Missing a Javadoc comment. 54
Error Missing a Javadoc comment. 55
Error Missing a Javadoc comment. 56
Error Missing a Javadoc comment. 57
Error Missing a Javadoc comment. 58
Error Missing a Javadoc comment. 59
Error Line has trailing spaces. 60
Error Missing a Javadoc comment. 61
Error Line has trailing spaces. 62
Error Missing a Javadoc comment. 63
Error Missing a Javadoc comment. 64
Error Missing a Javadoc comment. 65
Error Missing a Javadoc comment. 66
Error Missing a Javadoc comment. 67
Error Missing a Javadoc comment. 68
Error Missing a Javadoc comment. 69
Error Missing a Javadoc comment. 70
Error Missing a Javadoc comment. 71
Error Line has trailing spaces. 72
Error Missing a Javadoc comment. 74

ch/odi/pam/PamError.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line has trailing spaces. 11
Error Parameter message should be final. 20
Error Expected @param tag for 'message'. 20
Error Parameter message should be final. 28
Error Expected @param tag for 'message'. 28
Error Parameter cause should be final. 28
Error Expected @param tag for 'cause'. 28
Error Parameter cause should be final. 35
Error Expected @param tag for 'cause'. 35

ch/odi/pam/PamMessage.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Missing a Javadoc comment. 9
Error Name 'msg_style' must match pattern '^[a-z][a-zA-Z0-9]*$'. 9
Error Missing a Javadoc comment. 10
Error Line has trailing spaces. 11
Error Missing a Javadoc comment. 12
Error Parameter msg_style should be final. 12
Error 'msg_style' hides a field. 12
Error Name 'msg_style' must match pattern '^[a-z][a-zA-Z0-9]*$'. 12
Error Parameter msg should be final. 12
Error 'msg' hides a field. 12
Error Method 'getMsg' is not designed for extension - needs to be abstract, final or empty. 21
Error Line has trailing spaces. 24
Error Line has trailing spaces. 27
Error Line has trailing spaces. 31
Error Line has trailing spaces. 34
Error Line has trailing spaces. 37
Error Line has trailing spaces. 39
Error Method 'getMsg_style' is not designed for extension - needs to be abstract, final or empty. 41
Error Name 'getMsg_style' must match pattern '^[a-z][a-zA-Z0-9]*$'. 41

ch/odi/pam/PamResponse.java

Error Line
Error Line does not match expected header line of 'JAAS-PAM is a simple Java native interface to Portable Authentication'. 1
Error Line is longer than 80 characters. 4
Error Missing a Javadoc comment. 10
Error Missing a Javadoc comment. 11
Error Name 'resp_retcode' must match pattern '^[a-z][a-zA-Z0-9]*$'. 11
Error Line has trailing spaces. 12
Error Line has trailing spaces. 15
Error Parameter resp should be final. 18
Error 'resp' hides a field. 18
Error Line has trailing spaces. 21
Error Line has trailing spaces. 24
Error Line is longer than 80 characters. 26
Error Parameter resp should be final. 28
Error 'resp' hides a field. 28
Error Parameter retcode should be final. 28

ch/odi/pam/package.html

Error Line
Error Missing package documentation file. 0