Package io.fathom.cloud.identity.api.os.model

Examples of io.fathom.cloud.identity.api.os.model.Credential


        for (CredentialData data : authRepository.getEc2Credentials().list()) {
            if (data.getUserId() != user.getId()) {
                continue;
            }

            Credential c = toModel(data);
            response.credentials.add(c);
        }

        return response;
    }
View Full Code Here


        return response;
    }

    private Credential toModel(CredentialData data) {
        Credential c = new Credential();

        c.secret = Hex.toHex(data.getDeprecatedSharedSecret().toByteArray());
        c.access = data.getKey();
        c.userId = "" + data.getUserId();
        c.tenantId = "" + data.getProjectId();
View Full Code Here

TOP

Related Classes of io.fathom.cloud.identity.api.os.model.Credential

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.