Create a DRM policy with mandatory domain registration.
Specify the server’s host and port for the domain server URL.
In your .properties file, set:
policy.domain.url=https://[server:port]
Make authentication with a username and password mandatory.
In your .properties file, set:
policy.domain.anonymous=false