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 * $Id$
037 */
038
039package org.nuxeo.ecm.platform.ui.web.auth.service;
040
041import java.io.Serializable;
042
043import org.nuxeo.common.xmap.annotation.XNode;
044import org.nuxeo.common.xmap.annotation.XObject;
045import org.nuxeo.ecm.platform.ui.web.auth.interfaces.NuxeoAuthenticationPropagator;
046
047@XObject("propagationHandler")
048public class AuthenticationPropagatorDescriptor implements Serializable {
049
050    private static final long serialVersionUID = 237654398643289764L;
051
052    @XNode("@name")
053    private String name;
054
055    @XNode("@class")
056    Class<NuxeoAuthenticationPropagator> className;
057
058    public Class<NuxeoAuthenticationPropagator> getClassName() {
059        return className;
060    }
061
062}