I have a class that uses several policies that are templated. It is called Dish in the following example. I store many of these Dishes in a vector (using a pointer to simple base class), but then I'd like to extract and use them. But I don't know their exact types.
Here is the code; it's a bit long, but really simple:
#include <iostre...
I'm trying to design a policy-based class, where a certain interface is implemented by the policy itself, so the class derives from the policy, which itself is a template (I got this kind of thinking from Alexandrescu's book):
#include <iostream>
#include <vector>
class TestInterface {
public:
virtual void test() = 0;
};
class TestI...
Hello!
I have a Silverlight 3 project, and I need to call a Java WebService - the bindings are ok (SOAP 1.1 and basicHttpBinding):
ClientConfig File:
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="SkyinfoTestInterfaceExport2_SkyinfoTestInterfaceHttpBinding"
ma...
I'm getting an "Error from Debugger: Error launching remote program: security policy error" when I try to run my app on my ipod touch. The provisions look in order, and the app builds to my iphone 3gs just fine. The app used to build just fine to my ipod touch, so I'm flustered what could have changed and wondering if anyone has any th...
Hello,
I'm developing a web application and have created a war file. If I deploy it to my tomcat server, it is used without being unpacked (which is the setting I want to have for this server).
For unpacked web apps I have a policy file to grant AllPermission to my application. The file is served with the application and installed into...
Is there an easy way to set the Localizable property to true for newly created usercontrols / forms? The scope of the setting should ideally be a solution or a project.
In other words I want to say that this project/solution should be localizable, and then if I add a new form or control VS should automatically set the property to true....
While I can appreciate the point of the fine granularity in which you can enable security for every single little thing for each individual application in tomcat, in reality, it's an insane pain in the ass. Every single file, socket, everything for every single application.
Sure if you're writing a "hello world" application, it's not too...
I'm attempting to write a policy-based host class (i.e., a class that inherits from its template class), with a twist, where the policy class is also templated by the host class, so that it can access its types. One example where this might be useful is where a policy (used like a mixin, really), augments the host class with a polymorphi...
I have the following code that i found on the net. The problem is that it adds in nicely with the group policy editor and i can see it's Catogary under administrative controls but it doesn't show any controls for user input.
What am i doing wrong here?
CLASS USER
category EmailStationary
POLICY "SetEmailStationary"
EXPLAIN "This pol...
I'm trying to create a simple Flash chat application for educational purposes, but I'm stuck trying to send a policy file from my Java server to the Flash app (after several hours of googling with little luck).
The policy file request reaches the server that sends a harcoded policy xml back to the app, but the Flash app doesn't seem to ...
I have to create a web application that deals with user's sensitive information. I need to immediately clear the browser's cache after user logs out since cached data would be vulnerable.
Client's browser should be enforced to clear the Cache from server side. Also all cache policies must be exposed to the client from the server side.
I...
Hi all,
I am working on an artificial intelligence project which is a logic game and aims two user connecting to the server on the network who acts as an Admin and then start to play one by one.
In order to create connections, i have a server code which is just listening on localhost:8000 and assigning team values to the clients as the...
Hey guys,
I'm sorry if this is a duplicate, but the question search terms are pretty generic.
I work at a small(ish) development firm. I say small, but the company is actually a fair size; however, I'm only the second full-time developer, as most past work has been organized around contractors.
I'm in a position to define internal pr...
Hello,
I am looking for a way to import BRE generated policy with its' vocabularies into BizTalk application from a command line (in order to script it) leveraging BtsTask command line tool.
I've searched around, and couldn't find a firm answer.
Thank you.
...
Hi all,
I'm looking for a way to automate the deployment of a custom CAS policy in SharePoint.
What i would like to achieve is the following:
All assemblies that have been built and signed by our build server (with a secret key) should run in SharePoint under the 'higher than normal' trust level.
Now I can manually edit the cas poli...
I'd like to specify certain applets to run with java.security.AllPermission on my computer (for debugging and security testing). However, I don't want to enable all applets that I run to have this permission. So, editing my user Java policy file (which I have ensured is the correct policy file through testing), I try to put this value:
...
Basically I'm using Flash to connect to a Java server.
Despite my Java application replying to the <policy-file-request/>, in the Flash debug log it lists (not sure about the order as there are lots):
* Security Sandbox Violation *
Connection to 192.168.1.86:4049 halted
- not permitted from http://127.0.0.1:8888/Current/wande...
I have created a SQL condition using ExecuteSql() and enabled a policy based on this condition for Stored Procedure facets. When I evaluate this policy “On demand”, it runs perfectly fine and gives the desired pass/fail results. However, if I run this “On schedule”, the policy runs incorrectly and from the SQL Profiler, I am able to figu...
Hi,
In Android 2.2 site (link text
it's written:
Improved security with the addition of numeric pin or alpha-numeric password options to unlock device. Exchange administrators can enforce password policy across devices
But while I'm using N1 with 2.2 and try to connect to my company exchange server it didn't enforce me to set a passwor...
I want to use unity (2.0) to resolve my dependencies in a way so that i can configure policy injection (policies, matching rules and call handlers) in the .config file.
Or an other way to put it; i want my resolved objects to be "policy enabled", so that i can add and change to policies in config without have to recompile.
Any ideas on...