Patent ID: 8032623

Claim:
A system for providing context-based dynamic policy assignment in a distributed processing environment, comprising: a first resource management host in communication with a client system via a distributed network architecture; at least one application executable by said first resource management host; a dynamic policy assignment system executing on said first resource management host; a plurality of policies stored on said first resource management host, wherein at least one of the plurality of policies is associated with said client system, and a plurality of task names associated with a request to access an application are mapped to the plurality of policies; and an application profile associated with said client system, said application profile received by said first resource management host in response to a request by said client system to receive application hosting services, said application hosting services including executing said at least one application on behalf of said client system; wherein said dynamic policy assignment system performs: receiving said request at said first resource management host; based upon a profile ID and a task name associated with said application profile, selecting at least one of said plurality of policies for an application instance related to said request; associating said at least one of said plurality of policies to said application instance; executing said application on behalf of said client system; and changing dynamically at least one of said plurality of policies for an application instanced based on a task name change, wherein said dynamic policy assignment system further performs a web based programming language method including a run-as-task descriptor operable for determining a current task name value associated with a request to access an application; wherein said run-as-task descriptor values include: caller, operable for specifying a current task name as ‘run with caller's task name’; own, operable for specifying a current task name as ‘run with an application name of an application containing a current component’; and specified, operable for specifying an explicit task name to run as a current task name.