(AuthenticatedContent auth)
| 1248 | } |
| 1249 | |
| 1250 | private boolean verifyAuth(AuthenticatedContent auth) |
| 1251 | throws Exception |
| 1252 | { |
| 1253 | switch (auth.getContent().getSender().getSenderType()) |
| 1254 | { |
| 1255 | case MEMBER: |
| 1256 | return verifyInternal(auth); |
| 1257 | case EXTERNAL: |
| 1258 | return verifyExternal(auth); |
| 1259 | case NEW_MEMBER_PROPOSAL: |
| 1260 | return verifyNewMemberProposal(auth); |
| 1261 | case NEW_MEMBER_COMMIT: |
| 1262 | return verifyNewMemberCommit(auth); |
| 1263 | default: |
| 1264 | throw new Exception("Invalid sender type"); |
| 1265 | } |
| 1266 | } |
| 1267 | |
| 1268 | private boolean verifyInternal(AuthenticatedContent auth) |
| 1269 | throws Exception |
no test coverage detected