Authorization headers
Each request message from a content provider starts with an authorization header that identifies the content provider. You must create the authorization with the basic access authentication procedure for messages sent by HTTP. The basic access authentication procedure concatenates a user name, a colon, and a password and then encodes the string with the Base64 algorithm.
The
BlackBerry® Push Service uses the basic access authentication procedure but different
values for the user name and password, with the values that are provided in the
registration email from RIM as follows:
- For the user name, the BlackBerry Push Service uses the push service ID, which you can find in the client section of the registration email, labeled as the Application ID.
- For the password, the BlackBerry Push Service uses the push service password, which you can find in the server section of the registration email, labeled as the Password.
Next topic: Push request message
Previous topic: Message structure