001/* 002 * (C) Copyright 2006-2008 Nuxeo SAS (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * Nuxeo - initial API and implementation 016 * 017 * $Id$ 018 */ 019 020/* 021 * (C) Copyright 2006-2008 Nuxeo SAS (http://nuxeo.com/) and contributors. 022 * 023 * All rights reserved. This program and the accompanying materials 024 * are made available under the terms of the GNU Lesser General Public License 025 * (LGPL) version 2.1 which accompanies this distribution, and is available at 026 * http://www.gnu.org/licenses/lgpl.html 027 * 028 * This library is distributed in the hope that it will be useful, 029 * but WITHOUT ANY WARRANTY; without even the implied warranty of 030 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 031 * Lesser General Public License for more details. 032 * 033 * Contributors: 034 * Nuxeo - initial API and implementation 035 */ 036 037package org.nuxeo.ecm.platform.ui.web.auth.service; 038 039import java.io.Serializable; 040 041import org.nuxeo.common.xmap.annotation.XNode; 042import org.nuxeo.common.xmap.annotation.XObject; 043import org.nuxeo.ecm.platform.ui.web.auth.interfaces.NuxeoCallbackHandlerFactory; 044 045@XObject("callbackHandlerFactory") 046public class CallbackHandlerFactoryDescriptor implements Serializable { 047 048 private static final long serialVersionUID = 237654398643289764L; 049 050 @XNode("@name") 051 private String name; 052 053 @XNode("@class") 054 Class<NuxeoCallbackHandlerFactory> className; 055 056 public Class<NuxeoCallbackHandlerFactory> getClassName() { 057 return className; 058 } 059 060}