Search in sources :

Example 1 with KerberosResponse

use of com.sequenceiq.cloudbreak.api.model.KerberosResponse in project cloudbreak by hortonworks.

the class KerberosConfigToKerberosResponseConverter method convert.

@Override
public KerberosResponse convert(KerberosConfig source) {
    KerberosResponse kerberosResponse = new KerberosResponse();
    kerberosResponse.setType(source.getType());
    kerberosResponse.setAdmin(source.getAdmin());
    kerberosResponse.setUrl(source.getUrl());
    kerberosResponse.setAdminUrl(source.getAdminUrl());
    kerberosResponse.setRealm(source.getRealm());
    kerberosResponse.setDescriptor(source.getDescriptor());
    kerberosResponse.setKrb5Conf(source.getKrb5Conf());
    kerberosResponse.setLdapUrl(source.getLdapUrl());
    kerberosResponse.setContainerDn(source.getContainerDn());
    kerberosResponse.setTcpAllowed(source.getTcpAllowed());
    return kerberosResponse;
}
Also used : KerberosResponse(com.sequenceiq.cloudbreak.api.model.KerberosResponse)

Aggregations

KerberosResponse (com.sequenceiq.cloudbreak.api.model.KerberosResponse)1