domain IdentifiedThirdParty;
grant user "Net Access" session,oneshot,no {
    permission javax.microedition.io.HttpProtocolPermission "http://*";
    permission javax.microedition.io.HttpsProtocolPermission "https://*";
}

grant user "Local Connectivity" session,oneshot,no {
    permission javax.microedition.io.CommProtocolPermission "comm:*";
    permission javax.microedition.io.Connector.obex.server "*" "server";
    permission javax.microedition.io.Connector.obex.client "*" "client";
    permission javax.microedition.io.Connector.bluetooth.server "*" "server";
    permission javax.microedition.io.Connector.bluetooth.client "*" "client";
}

grant user "Messaging" session,oneshot,no {
    permission javax.microedition.io.Connector.sms "sms://*" "send";
    permission javax.microedition.io.Connector.mms "mms://*" "send";
}

grant user "Multimedia Recording" session,oneshot,no {
    permission javax.microedition.media.control.RecordControl "*" "record";
    permission javax.microedition.media.control.VideoControl.getSnapshot "*" "snapshot";
}

grant user "Application Auto Invocation" session,oneshot,no {
    permission javax.microedition.io.PushRegistryPermission "*" "staticregistration,dynamicregistration,autoinvocation";
}

grant allowed {
    permission javax.microedition.io.Connector.sms "sms://*" "open,receive";
    permission javax.microedition.io.Connector.mms "mms://*" "open,receive";
}
