<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<portlet-app id="security" version="1.0">
	<portlet id="LoginPortlet">
    	<init-param>
      		<name>ViewPage</name>
      		<value>/WEB-INF/security/login/login.jsp</value>
		</init-param>
    	<portlet-name>LoginPortlet</portlet-name>
    	<display-name>Login</display-name>
    	<portlet-class>org.apache.portals.bridges.common.GenericServletPortlet</portlet-class>
	    <expiration-cache>-1</expiration-cache>
    	<supports>
	      <mime-type>text/html</mime-type>
    	  <portlet-mode>VIEW</portlet-mode>
    	</supports>
      <supported-locale>en</supported-locale>
      <supported-locale>ja</supported-locale>
	    <resource-bundle>org.apache.jetspeed.portlets.security.resources.LoginResources</resource-bundle>
		<portlet-info>
			<title>Login</title>
			<short-title>Login</short-title>
    	</portlet-info>
  	</portlet>
  	<!-- *********************** -->
  	<!-- Role Management Portlet -->
  	<!-- *********************** -->
  	<portlet id="RoleMgtPortlet">
      <init-param>
        <description>This parameter sets the template used in view mode.</description>
        <name>ViewPage</name>
        <value>/WEB-INF/security/rolemgt/role-mgt.jsp</value>
      </init-param>   
      <portlet-name>RoleMgtPortlet</portlet-name>
      <display-name>Role Management</display-name>
      <description>Manage the portal roles.</description>
      <portlet-class>org.apache.jetspeed.portlets.security.rolemgt.RoleMgtPortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
      </supports>
      <supported-locale>en</supported-locale>
      <resource-bundle>org.apache.jetspeed.portlets.security.resources.RoleMgtResources</resource-bundle>
      <portlet-info>
        <title>Role Management</title>
        <short-title>Role Management</short-title>
        <keywords>security,role</keywords>
      </portlet-info>
    </portlet>
    <!-- *********************** -->
  	<!-- Change Password Portlet -->
  	<!-- *********************** -->
    <portlet id="ChangePasswordPortlet">
      <init-param>
        <description>This parameter sets the template used in view mode.</description>
        <name>ViewPage</name>
        <value>/WEB-INF/security/chgpwd/change-password.jsp</value>
      </init-param>   
      <portlet-name>ChangePasswordPortlet</portlet-name>
      <display-name>Change Password</display-name>
      <description>Change current logged on user its password.</description>
      <portlet-class>org.apache.jetspeed.portlets.security.ChangePasswordPortlet</portlet-class>
      <expiration-cache>-1</expiration-cache>
      <supports>
        <mime-type>text/html</mime-type>
        <portlet-mode>VIEW</portlet-mode>
      </supports>
      <supported-locale>en</supported-locale>
      <supported-locale>nl</supported-locale>
      <resource-bundle>org.apache.jetspeed.portlets.security.resources.ChgPwdResources</resource-bundle>
      <portlet-info>
        <title>Change Password</title>
        <short-title>Change Password</short-title>
        <keywords>security,user,password</keywords>
      </portlet-info>
    </portlet>

<portlet id="UserBrowserPortlet">
    <init-param>
    	<description>This parameter sets the template used in view mode.</description>
		<name>ViewPage</name>
			<value>/WEB-INF/security/users/user-browser.jsp</value>
     </init-param>   
    <portlet-name>UserBrowserPortlet</portlet-name>
    <display-name>User Browser</display-name>
    <description>The User Browser displays a list of users managed in this portal. From here you can add, edit, and users.</description>
    <portlet-class>org.apache.jetspeed.portlets.security.users.UserBrowserPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</portlet-mode>
      <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>HELP</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>            
    <portlet-info>
      <title>User Browser</title>
      <short-title>Users</short-title>
      <keywords>admin,security,users</keywords>
    </portlet-info>
  </portlet>

<portlet id="UserDetailsPortlet">
    <init-param>
    	<description>This parameter sets the template used in view mode.</description>
		<name>ViewPage</name>
			<value>/WEB-INF/security/users/user-details.jsp</value>
     </init-param>   
    <portlet-name>UserDetailsPortlet</portlet-name>
    <display-name>User Information</display-name>
    <description>The User Details portlet displays a users details in a tabbed view. From here you can add, edit, and user information.</description>
    <portlet-class>org.apache.jetspeed.portlets.security.users.UserDetailsPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</portlet-mode>
      <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>HELP</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>            
    <portlet-info>
      <title>User Detail Information</title>
      <short-title>User</short-title>
      <keywords>admin,security,users</keywords>
    </portlet-info>
</portlet>

<portlet id="SSOBrowserPortlet">
    <init-param>
    	<description>This parameter sets the template used in view mode.</description>
		<name>ViewPage</name>
			<value>/WEB-INF/security/sso/sites-view.vm</value>
     </init-param>   
    <portlet-name>SSOBrowserPortlet</portlet-name>
    <display-name>SSO Sites Browser</display-name>
    <description>SSO Sites Browser Portlet</description>
    <portlet-class>org.apache.jetspeed.portlets.security.sso.SSOBrowser</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</portlet-mode>
      <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>HELP</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>org.apache.jetspeed.portlets.security.resources.SSOResources</resource-bundle>            
    <portlet-info>
      <title>SSO Sites</title>
      <short-title>Sites</short-title>
      <keywords>admin,security,site,SSO</keywords>
    </portlet-info>
</portlet>

<portlet id="SSODetailsPortlet">
    <init-param>
    	<description>This parameter sets the template used in view mode.</description>
		<name>ViewPage</name>
			<value>/WEB-INF/security/sso/sites-details.vm</value>
     </init-param>   
    <portlet-name>SSODetailsPortlet</portlet-name>
    <display-name>SSO Details</display-name>
    <description>SSO Site Details Portlet</description>
    <portlet-class>org.apache.jetspeed.portlets.security.sso.SSODetails</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</portlet-mode>
      <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>HELP</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>org.apache.jetspeed.portlets.security.resources.SSOResources</resource-bundle>            
    <portlet-info>
      <title>SSO Details</title>
      <short-title>SSO Details</short-title>
      <keywords>admin,security,site,SSO</keywords>
    </portlet-info>
</portlet>

<portlet id="UserChooser">
    <init-param>
    	<description>This parameter sets the template used in view mode.</description>
		<name>ViewPage</name>
			<value>/WEB-INF/security/users/user-chooser.vm</value>
     </init-param>   
    <portlet-name>UserChooser</portlet-name>
    <display-name>Users</display-name>
    <description>User Chooser Portlet</description>
    <portlet-class>org.apache.jetspeed.portlets.security.users.UserChooserPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</portlet-mode>
      <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>HELP</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>            
    <portlet-preferences>
      <preference>                            
        <name>WindowSize</name>                    
        <value>1000</value>    
      </preference>                               		    
    </portlet-preferences>            
    <portlet-info>
      <title>User Select</title>
      <short-title>Users</short-title>
      <keywords>admin,security,users</keywords>
    </portlet-info>
</portlet>

<portlet id="RoleChooser">
    <init-param>
    	<description>This parameter sets the template used in view mode.</description>
		<name>ViewPage</name>
			<value>/WEB-INF/security/users/role-chooser.vm</value>
     </init-param>   
    <portlet-name>RoleChooser</portlet-name>
    <display-name>Roles</display-name>
    <description>Role Chooser Portlet</description>
    <portlet-class>org.apache.jetspeed.portlets.security.users.RoleChooserPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</portlet-mode>
      <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>HELP</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>            
    <portlet-preferences>
      <preference>                            
        <name>WindowSize</name>                    
        <value>1000</value>    
      </preference>                               		    
    </portlet-preferences>                
    <portlet-info>
      <title>Role Select</title>
      <short-title>Roles</short-title>
      <keywords>admin,security,roles</keywords>
    </portlet-info>
</portlet>

<portlet id="GroupChooser">
    <init-param>
    	<description>This parameter sets the template used in view mode.</description>
		<name>ViewPage</name>
			<value>/WEB-INF/security/users/group-chooser.vm</value>
     </init-param>   
    <portlet-name>GroupChooser</portlet-name>
    <display-name>Groups</display-name>
    <description>Group Chooser Portlet</description>
    <portlet-class>org.apache.jetspeed.portlets.security.users.GroupChooserPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>EDIT</portlet-mode>
      <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>HELP</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>            
    <portlet-preferences>
      <preference>                            
        <name>WindowSize</name>                    
        <value>1000</value>    
      </preference>                               		    
    </portlet-preferences>                
    <portlet-info>
      <title>Group Select</title>
      <short-title>Groups</short-title>
      <keywords>admin,security,groups</keywords>
    </portlet-info>
</portlet>

<portlet id="GroupBrowser">
    <init-param>
    	<description>This parameter sets the template used in view mode.</description>
		<name>ViewPage</name>
			<value>/WEB-INF/security/groups/groups-view.vm</value>
     </init-param>   
    <portlet-name>GroupBrowserPortlet</portlet-name>
    <display-name>Group Admin</display-name>
    <description>Group Browser Portlet</description>
    <portlet-class>org.apache.jetspeed.portlets.security.groups.GroupBrowser</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>            
    <portlet-preferences>
      <preference>                            
        <name>WindowSize</name>                    
        <value>1000</value>    
      </preference>                               		    
    </portlet-preferences>                
    <portlet-info>
      <title>Group admin</title>
      <short-title>Groups</short-title>
      <keywords>admin,security,groups</keywords>
    </portlet-info>
</portlet>

<portlet id="RoleBrowser">
    <init-param>
    	<description>This parameter sets the template used in view mode.</description>
		<name>ViewPage</name>
			<value>/WEB-INF/security/roles/roles-view.vm</value>
     </init-param>   
    <portlet-name>RoleBrowserPortlet</portlet-name>
    <display-name>Role Admin</display-name>
    <description>Role Browser Portlet</description>
    <portlet-class>org.apache.jetspeed.portlets.security.roles.RoleBrowser</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>            
    <portlet-preferences>
      <preference>                            
        <name>WindowSize</name>                    
        <value>1000</value>    
      </preference>                               		    
    </portlet-preferences>                
    <portlet-info>
      <title>Role admin</title>
      <short-title>Roles</short-title>
      <keywords>admin,security,roles</keywords>
    </portlet-info>
</portlet>

</portlet-app>

