dcsimg
granting & reverting previlages at runtime
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   mini_a
Posted On:   Monday, June 21, 2004 05:00 AM

hello ... i'm trying to migrate an applet currently implemented in netscape and microsoft security packages(com.ms.security & netscape.security) into Java2 plug-ins. But during the life time of this applet permissions are granted and revoked dynamically. like.... if (miBrowserSecurity == MyClass.NETSCAPE) PrivilegeManager.enablePrivilege("UniversalSystemClipboardAccess"); -------------------------------------------------------- ------------------------------------------------------------- if (miBrowserSecurity == MyClass.NETSCAPE) PrivilegeManager.revertPrivilege("UniversalSystemClipboardAccess"); How to implement this functionality using java2 p   More>>

hello ...
i'm trying to migrate an applet currently implemented in netscape and microsoft security packages(com.ms.security & netscape.security) into Java2 plug-ins. But during the life time of this applet permissions are granted and revoked dynamically.

like....

if (miBrowserSecurity == MyClass.NETSCAPE)
PrivilegeManager.enablePrivilege("UniversalSystemClipboardAccess");
--------------------------------------------------------
-------------------------------------------------------------

if (miBrowserSecurity == MyClass.NETSCAPE)
PrivilegeManager.revertPrivilege("UniversalSystemClipboardAccess");


How to implement this functionality using java2 plug-ins. Do i need to implement
custom policy ?
Please help

   <<Less
About | Sitemap | Contact