<?xml version="1.0" encoding="UTF-8"?>
<portlet-app>
  <portlet>
    <description lang="EN">Directory Portlet</description>
    <portlet-name>DirectoryPortlet</portlet-name>
    <display-name lang="EN">Directory Portlet</display-name>
    <portlet-class>DirectoryPortlet</portlet-class>

    <init-param>
      <description>What should we describe here</description>
      <name>initName</name>
      <value>initValue</value>
    </init-param>

    <expiration-cache>-1</expiration-cache>

    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>edit</portlet-mode>
      <portlet-mode>help</portlet-mode>
    </supports>

    <supported-locale>en</supported-locale>

    <resource-bundle>DirectoryResources</resource-bundle>

    <portlet-info>
      <title>Directory Portlet</title>
      <short-title>DirectoryPortlet</short-title>
      <keywords>Directory</keywords>
    </portlet-info>

    <portlet-preferences>
      <preference>
         <name>userSelection</name>
         <value>last_name</value>
      </preference>
      <preferences-validator>DirectoryValidator</preferences-validator>
    </portlet-preferences>

    <security-role-ref>
      <role-name>trustedUser</role-name>
      <role-link>auth-user</role-link>
    </security-role-ref>
  </portlet>

  <custom-portlet-mode>
    <description lang="EN">Pre-defined custom portlet mode CONFIG</description>
    <portlet-mode>CONFIG</portlet-mode>
  </custom-portlet-mode>

  <custom-window-state>
    <description lang="EN">Occupies 50% of the portal page</description>
    <window-state>half-page</window-state>
  </custom-window-state>

  <user-attribute>
    <description lang="EN">
      Pre-defined attribute for the telephone number of the user at work.
    </description>
    <name>workInfo/telephone</name>
  </user-attribute>

  <security-constraint>
    <portlet-collection>
      <portlet-name>TimeZoneClock</portlet-name>
    </portlet-collection>
    <user-data-constraint>
      <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
  </security-constraint>
</portlet-app>
