<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0">
  <channel>
    <title>Amsetwiki: Amset27getchildauthorities</title>
    <link>http://socket3.leeds.ac.uk:8080/amsetwiki/</link>
    <description>Wiki for JISC AMSeT Project</description>
    <language>en-us</language>
    <generator>JSPWiki 2.8.1</generator>
    <item>
      <link>http://socket3.leeds.ac.uk:8080/amsetwiki/Wiki.jsp?page=Amset27getchildauthorities&amp;version=-1</link>
      <title>Amset27getchildauthorities, version -1</title>
      <description>clayton created this page on Sun Sep 06 13:53:16 BST 2009:&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;h4 id="section-Amset27getchildauthorities-WorkflowNameAmset27getchildauthorities"&gt;Workflow Name: amset27getchildauthorities&lt;a class="hashlink" href="#section-Amset27getchildauthorities-WorkflowNameAmset27getchildauthorities"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;h4 id="section-Amset27getchildauthorities-ConstituentServicesAuthenticationServiceAccessControlServiceInitGetChildAuthoritiesWSDateTimeWS"&gt;Constituent Services: AuthenticationService, AccessControlService, InitGetChildAuthoritiesWS, DateTimeWS&lt;a class="hashlink" href="#section-Amset27getchildauthorities-ConstituentServicesAuthenticationServiceAccessControlServiceInitGetChildAuthoritiesWSDateTimeWS"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;h4 id="section-Amset27getchildauthorities-TechnicalNotes"&gt;Technical Notes&lt;a class="hashlink" href="#section-Amset27getchildauthorities-TechnicalNotes"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Platform: GlassFishESB V2.1, NetBeans IDE 6.5.1 (including BPEL Designer, implementing WS-BPEL 2.0)&lt;br /&gt;
Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.0-b15&lt;br /&gt;
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb).
&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Alfresco Labs 3.1 Final running on remote server, 64-bit Java 1.6.0_13, Tomcat 6 on Red Hat Enterprise Linux 5.
&lt;/p&gt;
&lt;h4 id="section-Amset27getchildauthorities-WorkflowDescription"&gt;Workflow description&lt;a class="hashlink" href="#section-Amset27getchildauthorities-WorkflowDescription"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;For a given parent authority, returns a list of child authorities filtered by &lt;tt&gt;SiblingAuthorityType&lt;/tt&gt;.  Filter boolean &lt;tt&gt;immediate&lt;/tt&gt; implies that there must be immediate siblings and non-immediate.  Has no effect on test queries here.
&lt;/p&gt;
&lt;h4 id="section-Amset27getchildauthorities-InputOutput"&gt;Input/Output&lt;a class="hashlink" href="#section-Amset27getchildauthorities-InputOutput"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;b&gt;Code snippet 27.1. InitGetChildAuthoritiesWS SOAP request.&lt;/b&gt;
&lt;/p&gt;
&lt;p /&gt;
&lt;div class="prettify"&gt;
&lt;pre&gt;
&amp;lt;soapenv:Envelope xsi:schemaLocation=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:init=&amp;quot;http://j2ee.netbeans.org/wsdl/amset27getchildauthorities/InitGetChildAuthoritiesWS&amp;quot; xmlns:acc=&amp;quot;http://xml.netbeans.org/schema/accesscontrol&amp;quot;&amp;gt;
  &amp;lt;soapenv:Body&amp;gt;
    &amp;lt;init:InitGetChildAuthoritiesWSOperation&amp;gt;
      &amp;lt;alfrescoAdminUsername&amp;gt;admin&amp;lt;/alfrescoAdminUsername&amp;gt;
      &amp;lt;alfrescoAdminPassword&amp;gt;adminPassword&amp;lt;/alfrescoAdminPassword&amp;gt;
      &amp;lt;part1&amp;gt;
        &amp;lt;acc:getChildAuthorities&amp;gt;
          &amp;lt;acc:authority&amp;gt;GROUP_users&amp;lt;/acc:authority&amp;gt;
          &amp;lt;acc:filter&amp;gt;
            &amp;lt;acc:authorityType&amp;gt;USER&amp;lt;/acc:authorityType&amp;gt;
            &amp;lt;acc:immediate&amp;gt;true&amp;lt;/acc:immediate&amp;gt;
          &amp;lt;/acc:filter&amp;gt;
        &amp;lt;/acc:getChildAuthorities&amp;gt;
      &amp;lt;/part1&amp;gt;
    &amp;lt;/init:InitGetChildAuthoritiesWSOperation&amp;gt;
  &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;b&gt;Code snippet 27.2.  AccessControlService.getChildAuthorities() SOAP request.&lt;/b&gt;
&lt;/p&gt;
&lt;p /&gt;
&lt;div class="prettify"&gt;
&lt;pre&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot;&amp;gt;
    &amp;lt;SOAP-ENV:Header&amp;gt;
        &amp;lt;Security xmlns=&amp;quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&amp;quot;&amp;gt;
            &amp;lt;wsu:Timestamp xmlns:wsu=&amp;quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&amp;quot;&amp;gt;
                &amp;lt;wsu:Created&amp;gt;2009-09-02T07:17:45.81+00:00&amp;lt;/wsu:Created&amp;gt;
                &amp;lt;wsu:Expires&amp;gt;2009-09-02T07:21:45.00+00:00&amp;lt;/wsu:Expires&amp;gt;
            &amp;lt;/wsu:Timestamp&amp;gt;
            &amp;lt;UsernameToken&amp;gt;
                &amp;lt;Password Type=&amp;quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText&amp;quot;&amp;gt;TICKET_62a1ab642fdaed49375052f9b1ac933789e4f151&amp;lt;/Password&amp;gt;
                &amp;lt;Username&amp;gt;admin&amp;lt;/Username&amp;gt;
            &amp;lt;/UsernameToken&amp;gt;
        &amp;lt;/Security&amp;gt;
    &amp;lt;/SOAP-ENV:Header&amp;gt;
    &amp;lt;SOAP-ENV:Body&amp;gt;
        &amp;lt;getChildAuthorities
            xmlns=&amp;quot;http://www.alfresco.org/ws/service/accesscontrol/1.0&amp;quot;
            xmlns:acc=&amp;quot;http://xml.netbeans.org/schema/accesscontrol&amp;quot;
            xmlns:init=&amp;quot;http://j2ee.netbeans.org/wsdl/amset27getchildauthorities/InitGetChildAuthoritiesWS&amp;quot;
            xmlns:msgns=&amp;quot;http://j2ee.netbeans.org/wsdl/amset27getchildauthorities/InitGetChildAuthoritiesWS&amp;quot; xmlns:ns0=&amp;quot;http://www.alfresco.org/ws/service/accesscontrol/1.0&amp;quot;&amp;gt;
            &amp;lt;acc:authority&amp;gt;GROUP_users&amp;lt;/acc:authority&amp;gt;
            &amp;lt;acc:filter&amp;gt;
                &amp;lt;acc:authorityType&amp;gt;USER&amp;lt;/acc:authorityType&amp;gt;
                &amp;lt;acc:immediate&amp;gt;true&amp;lt;/acc:immediate&amp;gt;
            &amp;lt;/acc:filter&amp;gt;
        &amp;lt;/getChildAuthorities&amp;gt;
    &amp;lt;/SOAP-ENV:Body&amp;gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;b&gt;Code snippet 27.3.  AccessControlService.getChildAuthorities() SOAP response.&lt;/b&gt;
&lt;/p&gt;
&lt;p /&gt;
&lt;div class="prettify"&gt;
&lt;pre&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&amp;lt;soapenv:Envelope
    xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot;
    xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;
    &amp;lt;soapenv:Body&amp;gt;
        &amp;lt;getChildAuthoritiesResponse xmlns=&amp;quot;http://www.alfresco.org/ws/service/accesscontrol/1.0&amp;quot;&amp;gt;
            &amp;lt;results&amp;gt;InvisibleWoman&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;flash&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;user20&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;mattereaterlad&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;superman&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;TestUser1&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;MrFantastic&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;hawkman&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;harrymcd&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;magneto&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;Thing2&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;thor&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;daredevil&amp;lt;/results&amp;gt;
            &amp;lt;results&amp;gt;hawkman3&amp;lt;/results&amp;gt;
        &amp;lt;/getChildAuthoritiesResponse&amp;gt;
    &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;</description>
      <pubDate>Sun, 06 Sep 2009 12:53:16 GMT</pubDate>
    </item>
  </channel>
</rss>

