Package io.fathom.cloud.protobuf.IdentityModel

Examples of io.fathom.cloud.protobuf.IdentityModel.ClientAppSecretData


        if (clientApp == null) {
            log.debug("App '{}' not found in project", appName);
            return null;
        }

        ClientAppSecretData secret = findClientAppSecretData(clientApp, appPassword);
        if (secret == null) {
            log.debug("Password mismatch on app '{}'", appName);
            return null;
        }
View Full Code Here


        if (clientApp == null) {
            log.debug("App '{}' not found in project", appId);
            return null;
        }

        ClientAppSecretData secret = findClientAppSecretData(clientApp, appPassword);
        if (secret == null) {
            log.debug("Password mismatch on app '{}'", appId);
            return null;
        }
View Full Code Here

                project.getId());
        if (authenticatedProject == null) {
            throw new IllegalStateException();
        }

        ClientAppSecretData secrets;
        {
            ClientAppSecretData.Builder sb = ClientAppSecretData.newBuilder();
            sb.setAppPassword(appPassword);
            secrets = sb.build();
        }
View Full Code Here

        if (secretToken == null) {
            return null;
        }

        ClientAppSecretData secrets;
        try {
            secrets = Secrets.unlock(secretData, secretToken, ClientAppSecretData.newBuilder());
        } catch (Exception e) {
            // Wrong password
            log.warn("Error while decrypting client app, likely wrong secret", e);
View Full Code Here

TOP

Related Classes of io.fathom.cloud.protobuf.IdentityModel.ClientAppSecretData

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.