-
@CheckReturnValue()@ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/8022) public final class UntrustedSecurityPolicies
Static factory methods for creating untrusted security policies.
-
-
Method Summary
Modifier and Type Method Description static SecurityPolicyuntrustedPublic()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. -
-
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.
-
-
-
-