Package org.keycloak.models

Examples of org.keycloak.models.ModelReadOnlyException


        this.provider = provider;
    }

    @Override
    public void setUsername(String username) {
        throw new ModelReadOnlyException("Federated storage is not writable");
    }
View Full Code Here


        throw new ModelReadOnlyException("Federated storage is not writable");
    }

    @Override
    public void setLastName(String lastName) {
        throw new ModelReadOnlyException("Federated storage is not writable");
    }
View Full Code Here

        throw new ModelReadOnlyException("Federated storage is not writable");
    }

    @Override
    public void setFirstName(String first) {
        throw new ModelReadOnlyException("Federated storage is not writable");
    }
View Full Code Here

    }

    @Override
    public void updateCredential(UserCredentialModel cred) {
        if (provider.getSupportedCredentialTypes(delegate).contains(cred.getType())) {
            throw new ModelReadOnlyException("Federated storage is not writable");
        }
        delegate.updateCredential(cred);
    }
View Full Code Here

        delegate.updateCredential(cred);
    }

    @Override
    public void setEmail(String email) {
        throw new ModelReadOnlyException("Federated storage is not writable");
    }
View Full Code Here

TOP

Related Classes of org.keycloak.models.ModelReadOnlyException

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.