use of com.sequenceiq.freeipa.api.v1.freeipa.stack.model.common.security.StackAuthenticationRequest in project cloudbreak by hortonworks.
the class StackToCreateFreeIpaRequestConverter method getStackAuthenticationRequest.
private StackAuthenticationRequest getStackAuthenticationRequest(StackAuthentication stackAuthentication) {
StackAuthenticationRequest request = null;
if (stackAuthentication != null) {
request = new StackAuthenticationRequest();
request.setLoginUserName(stackAuthentication.getLoginUserName());
request.setPublicKey(stackAuthentication.getPublicKey());
request.setPublicKeyId(stackAuthentication.getPublicKeyId());
}
LOGGER.debug("Created stack authentication request {} from stack authentication {}", request, stackAuthentication);
return request;
}
Aggregations