<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE faces-config PUBLIC
 "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
 "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<!--
  The contents of this file are subject to the terms
  of the Common Development and Distribution License
  (the License). You may not use this file except in
  compliance with the License.

  You can obtain a copy of the License at
  https://opensso.dev.java.net/public/CDDLv1.0.html or
  opensso/legal/CDDLv1.0.txt
  See the License for the specific language governing
  permission and limitations under the License.

  When distributing Covered Code, include this CDDL
  Header Notice in each file and include the License file
  at opensso/legal/CDDLv1.0.txt.
  If applicable, add the following below the CDDL Header,
  with the fields enclosed by brackets [] replaced by
  your own identifying information:
  "Portions Copyrighted [year] [name of copyright owner]"

  $Id: faces-config.xml,v 1.3 2009/04/24 21:01:58 rparekh Exp $

  Copyright 2007 Sun Microsystems Inc. All Rights Reserved
  Portions Copyrighted 2007 Paul C. Bryan
-->

<faces-config>

  <application>

    <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>

    <!-- this application is multilingual out of the box -->
    <locale-config>
      <default-locale>en</default-locale>
      <supported-locale>de</supported-locale>
      <supported-locale>fr</supported-locale>
    </locale-config>

    <!-- override default faces messages -->
    <message-bundle>Messages</message-bundle>

  </application>

  <!-- backing bean for checkid_immediate query -->
  
  <!-- backing bean for checkid_setup query -->
  <managed-bean>
    <description>checkid_setup bean</description>
    <managed-bean-name>setupBean</managed-bean-name>
    <managed-bean-class>com.sun.identity.openid.provider.SetupBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
  </managed-bean>

  <!-- provides localized lists of messages from resource bundle -->
  <managed-bean>
    <description>select items bean</description>
    <managed-bean-name>selectItems</managed-bean-name>
    <managed-bean-class>com.sun.identity.openid.provider.SelectItems</managed-bean-class>
    <managed-bean-scope>application</managed-bean-scope>
  </managed-bean>

</faces-config>
