return t;
}
private static final SBAuthentication toDataModel(Authentication authentication) {
if (authentication==null) return null; // throw new IllegalArgumentException("authentication must not be null");
SBAuthentication s = new SBAuthentication();
s.setType(authentication.getType());
for (Key k : authentication.getData().getKey())
s.getKeys().put(k.getName(), k.getValue());
return s;
}