0N/A/**
2362N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
0N/A *
0N/A * Copyright (c) 2009 Sun Microsystems Inc. All Rights Reserved
0N/A *
0N/A * The contents of this file are subject to the terms
0N/A * of the Common Development and Distribution License
0N/A * (the License). You may not use this file except in
0N/A * compliance with the License.
0N/A *
0N/A * You can obtain a copy of the License at
0N/A * https://opensso.dev.java.net/public/CDDLv1.0.html or
0N/A * opensso/legal/CDDLv1.0.txt
0N/A * See the License for the specific language governing
0N/A * permission and limitations under the License.
0N/A *
0N/A * When distributing Covered Code, include this CDDL
0N/A * Header Notice in each file and include the License file
2362N/A * at opensso/legal/CDDLv1.0.txt.
2362N/A * If applicable, add the following below the CDDL Header,
2362N/A * with the fields enclosed by brackets [] replaced by
0N/A * your own identifying information:
0N/A * "Portions Copyrighted [year] [name of copyright owner]"
0N/A *
0N/A * $Id: FederationRestService.java,v 1.1 2009/12/14 23:42:47 mallas Exp $
0N/A */
0N/A
0N/Apackage com.sun.identity.rest;
0N/A
0N/Aimport java.util.HashSet;
0N/Aimport java.util.Set;
0N/Aimport javax.ws.rs.core.Application;
0N/A
0N/Aimport com.sun.identity.wsfederation.servlet.WSFederationService;
0N/A
0N/Apublic class FederationRestService extends Application {
0N/A @Override
0N/A public Set<Class<?>> getClasses() {
0N/A Set<Class<?>> s = new HashSet<Class<?>>();
0N/A s.add(WSFederationService.class);
0N/A return s;
0N/A }
0N/A}
0N/A