public KeyPair loadKeyPairById(final UUID id) {
try {
final KeyPair kp = repoManager_.getRepository(
new HavaloUUID(id)).getKeyPair();
if(kp.getSecret() == null) {
throw new NullorEmptySecretException("Oops, KeyPair secret " +
"for user (" + id + ") was null or unknown.");
}
return kp;
} catch (Exception e) {
throw new UsernameNotFoundException("Failed to load required " +