Basic

  • The client sends the request with user name/password in HTTP basic authentication header.
  • The Basic Authentication policy authenticates the request against LDAP.

Example Policy

BasicAuthentication.policy

<wsp:Policy
    xmlns:tpa="http://xsd.tns.tibco.com/governance/policy/action/2009"
            xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
            xmlns:wssp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
   <wsp:All>
     <tpa:AuthenticationByJaas>
      <wssp:SupportingTokens>
     <tpa:Any>
                                                                                                                     <wssp:HttpBasicAuthentication/>
                                                                                                         </tpa:Any>
     </wssp:SupportingTokens>
    <tpa:SharedResourceLoginModule ResourceInstance="LDAPSource">
    </tpa:SharedResourceLoginModule>
     </tpa:AuthenticationByJaas>
   </wsp:All>
</wsp:Policy>