All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.day.jcr.vault.fs.config.VaultAuthConfig Maven / Gradle / Ivy

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2011 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 *
 **************************************************************************/

package com.day.jcr.vault.fs.config;

import java.io.IOException;

import org.xml.sax.ContentHandler;
import org.xml.sax.SAXException;

/**
 * VaultUserConfig...
 *
 */
public class VaultAuthConfig extends AbstractConfig {

    public static final String ELEM_REPOSITORY = "repository";
    public static final String ATTR_URI = "uri";

    private org.apache.jackrabbit.vault.fs.config.VaultAuthConfig config;

    public VaultAuthConfig(org.apache.jackrabbit.vault.fs.config.VaultAuthConfig config) {
        super(config);
        this.config = config;
    }

    public RepositoryConfig getRepoConfig(String uri) {
        throw new UnsupportedOperationException("not supported anymore. use org.apache.jackrabbit.vault.fs.config.VaultAuthConfig instead.");
    }

    public void addRepositoryConfig(RepositoryConfig cfg) {
        throw new UnsupportedOperationException("not supported anymore. use org.apache.jackrabbit.vault.fs.config.VaultAuthConfig instead.");
    }

    public boolean load() throws IOException, ConfigurationException {
        throw new UnsupportedOperationException("not supported anymore. use org.apache.jackrabbit.vault.fs.config.VaultAuthConfig instead.");
    }

    public void save() throws IOException {
        config.save();
    }

    public static class RepositoryConfig {

        public CredentialsConfig getCredsConfig() {
            throw new UnsupportedOperationException("not supported anymore. use org.apache.jackrabbit.vault.fs.config.VaultAuthConfig instead.");
        }

        public void addCredsConfig(CredentialsConfig creds) {
            throw new UnsupportedOperationException("not supported anymore. use org.apache.jackrabbit.vault.fs.config.VaultAuthConfig instead.");
        }

        public void write(ContentHandler handler) throws SAXException {
            throw new UnsupportedOperationException("not supported anymore. use org.apache.jackrabbit.vault.fs.config.VaultAuthConfig instead.");
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy