| Conditions | 2 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | package unicon.matthews.admin; |
||
| 40 | public void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException { |
||
| 41 | if (isAuthenticated) { |
||
| 42 | throw new IllegalArgumentException( |
||
| 43 | "Cannot set this token to trusted - use constructor which takes a GrantedAuthority list instead"); |
||
| 44 | } |
||
| 45 | |||
| 46 | super.setAuthenticated(false); |
||
| 47 | } |
||
| 56 |