001package org.nuxeo.ecm.admin.oauth2;
002
003import static org.nuxeo.ecm.platform.oauth2.clients.ClientRegistry.OAUTH2CLIENT_DIRECTORY_NAME;
004import static org.nuxeo.ecm.platform.oauth2.clients.ClientRegistry.OAUTH2CLIENT_SCHEMA;
005
006import org.jboss.seam.ScopeType;
007import org.jboss.seam.annotations.Name;
008import org.jboss.seam.annotations.Scope;
009import org.nuxeo.ecm.admin.oauth.DirectoryBasedEditor;
010
011/**
012 * @author <a href="mailto:ak@nuxeo.com">Arnaud Kervern</a>
013 * @since 5.9.2
014 */
015@Name("oauth2ClientsActions")
016@Scope(ScopeType.CONVERSATION)
017public class OAuth2ClientsActions extends DirectoryBasedEditor {
018
019    private static final long serialVersionUID = 1L;
020
021    @Override
022    protected String getDirectoryName() {
023        return OAUTH2CLIENT_DIRECTORY_NAME;
024    }
025
026    @Override
027    protected String getSchemaName() {
028        return OAUTH2CLIENT_SCHEMA;
029    }
030}