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











<rss version="2.0">
  <channel>
    <title>Amsetwiki: Amset25deleteauthorities</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=Amset25deleteauthorities&amp;version=-1</link>
      <title>Amset25deleteauthorities, version -1</title>
      <description>clayton created this page on Sun Sep 06 13:52:33 BST 2009:&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;h4 id="section-Amset25deleteauthorities-WorkflowNameAmset25deleteauthorities"&gt;Workflow Name: amset25deleteauthorities&lt;a class="hashlink" href="#section-Amset25deleteauthorities-WorkflowNameAmset25deleteauthorities"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;h4 id="section-Amset25deleteauthorities-ConstituentServicesAuthenticationServiceAccessControlServiceInitDeleteAuthoritiesWSDateTimeWS"&gt;Constituent Services: AuthenticationService, AccessControlService, InitDeleteAuthoritiesWS, DateTimeWS&lt;a class="hashlink" href="#section-Amset25deleteauthorities-ConstituentServicesAuthenticationServiceAccessControlServiceInitDeleteAuthoritiesWSDateTimeWS"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;h4 id="section-Amset25deleteauthorities-TechnicalNotes"&gt;Technical Notes&lt;a class="hashlink" href="#section-Amset25deleteauthorities-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-Amset25deleteauthorities-WorkflowDescription"&gt;Workflow description&lt;a class="hashlink" href="#section-Amset25deleteauthorities-WorkflowDescription"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Workflow deletes one or more authorities (USER, GROUP, ROLE) given their string names, eg &lt;tt&gt;GROUP_MyGroup&lt;/tt&gt;.
&lt;/p&gt;
&lt;h4 id="section-Amset25deleteauthorities-InputOutput"&gt;Input/Output&lt;a class="hashlink" href="#section-Amset25deleteauthorities-InputOutput"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;b&gt;Code snippet 25.1. InitDeleteAuthoritiesWS 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/amset25deleteauthoritories/InitDeleteAuthoritiesWS&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:InitDeleteAuthoritiesWSOperation&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:deleteAuthorities&amp;gt;
          &amp;lt;acc:authorities&amp;gt;GROUP_MyTutorialGroup&amp;lt;/acc:authorities&amp;gt;
        &amp;lt;/acc:deleteAuthorities&amp;gt;
      &amp;lt;/part1&amp;gt;
    &amp;lt;/init:InitDeleteAuthoritiesWSOperation&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 25.2.  AccessControlService.deleteAuthorities() 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-01T18:30:04.78+00:00&amp;lt;/wsu:Created&amp;gt;
                &amp;lt;wsu:Expires&amp;gt;2009-09-01T18:34:04.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_f863d1eaa078b19a5c77691f0987a1ec183e36b7&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;deleteAuthorities
            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/amset25deleteauthoritories/InitDeleteAuthoritiesWS&amp;quot;
            xmlns:msgns=&amp;quot;http://j2ee.netbeans.org/wsdl/amset25deleteauthoritories/InitDeleteAuthoritiesWS&amp;quot; xmlns:ns0=&amp;quot;http://www.alfresco.org/ws/service/accesscontrol/1.0&amp;quot;&amp;gt;
            &amp;lt;acc:authorities&amp;gt;GROUP_MyTutorialGroup&amp;lt;/acc:authorities&amp;gt;
        &amp;lt;/deleteAuthorities&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 25.3.  AccessControlService.deleteAuthorities() 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;deleteAuthoritiesResponse xmlns=&amp;quot;http://www.alfresco.org/ws/service/accesscontrol/1.0&amp;quot;/&amp;gt;
    &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p /&gt;
&lt;p /&gt;</description>
      <pubDate>Sun, 06 Sep 2009 12:52:33 GMT</pubDate>
    </item>
  </channel>
</rss>

