Package 

Class UntrustedSecurityPolicies

    • Method Summary

      Modifier and Type Method Description
      static SecurityPolicy untrustedPublic() Return a security policy which allows any peer on device.Servers should only use this policy if they intend to exposea service to all applications on device.Clients should only use this policy if they don't need to trust theapplication they're connecting to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • untrustedPublic

         static SecurityPolicy untrustedPublic()

        Return a security policy which allows any peer on device.Servers should only use this policy if they intend to exposea service to all applications on device.Clients should only use this policy if they don't need to trust theapplication they're connecting to.