// Add a new Auth
Auth auth = new Auth();
auth.setId("id31");
auth.setStatus(StatusType.ACTIVE);
AuthDetail detail = new AuthDetail();
auth.setAuthDetail(detail);
auth.getAuthDetail().setType(NBAuthType.AUTHKEY);
auth.getAuthDetail().setAuthKeyValue("authKey31");
dataManager.addAuth(auth);
// Add a new Auth
Auth auth2 = new Auth();
auth2.setId("id32");
auth2.setStatus(StatusType.ACTIVE);
AuthDetail detail2 = new AuthDetail();
auth2.setAuthDetail(detail2);
auth2.getAuthDetail().setType(NBAuthType.AUTHKEY);
auth2.getAuthDetail().setAuthKeyValue("authKey32");
dataManager.addAuth(auth2);
// Add a new Auth
Auth auth3 = new Auth();
auth3.setId("id33");
auth3.setStatus(StatusType.ACTIVE);
AuthDetail detail3 = new AuthDetail();
auth3.setAuthDetail(detail3);
auth3.getAuthDetail().setType(NBAuthType.AUTHKEY);
auth3.getAuthDetail().setAuthKeyValue("authKey33");
dataManager.addAuth(auth3);
// Add a new Auth
Auth auth4 = new Auth();
auth4.setId("id34");
auth4.setStatus(StatusType.ACTIVE);
AuthDetail detail4 = new AuthDetail();
auth4.setAuthDetail(detail4);
auth4.getAuthDetail().setType(NBAuthType.BASIC);
auth4.getAuthDetail().setUsername("user1");
auth4.getAuthDetail().setPassword(new byte[]{'p', 'a', 's', 's', '1'});
dataManager.addAuth(auth4);