The Java APIs for Bluetooth specification defines how authentication,
encryption, and authorization are specified as connection string parameters
used by an application to open a client-role or server-role connection. The
authorization parameter is only used when opening server-role connections
and not for client-role connections. Appropriate exceptions are thrown if
the parameters are used in an invalid manner (for example, “encrypt=true
”
and “authenticate=false
”) in a request to open a specific
connection.