<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
michel wrote:
<blockquote cite="mid:49a8fab2.0a1ad00a.5d0e.270b@mx.google.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal">Dear friends,<o:p></o:p></p>
<p class="MsoNormal">Two days ago, I sent you and email asked some
questions
about jvm and its source.<o:p></o:p></p>
<p class="MsoNormal">But nobody answered me. </p>
</div>
</blockquote>
It really does not look like a question about security. ;-)<br>
<blockquote cite="mid:49a8fab2.0a1ad00a.5d0e.270b@mx.google.com"
type="cite">
<div class="Section1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">I am at a critical opportunity and I need to
know answer to
those questions because I <o:p></o:p></p>
<p class="MsoNormal">Am defining my final project on this topic and I
should
check its feasibility before delivering my proposal<o:p></o:p></p>
<p class="MsoNormal">So some one guide me on this please.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have brought my old mail in the following<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi every body,<o:p></o:p></p>
<p class="MsoNormal">I am new to your group, and I have some
questions about jvm
and its security model.<o:p></o:p></p>
<p class="MsoNormal">I want to intercept method calls or object
creation in jvm
and do call some os library before it, now I would like to<o:p></o:p></p>
<p class="MsoNormal">Know if I can do this by JNI(java native
interface).</p>
</div>
</blockquote>
Yes, you can. One approach, writing your own/your customized class
loader, call what ever you want by JNI if you want. Please refer to [1]
for a sample.<br>
<br>
<blockquote cite="mid:49a8fab2.0a1ad00a.5d0e.270b@mx.google.com"
type="cite">
<div class="Section1">
<p class="MsoNormal">Indeed I have seen that jvm 1.6.1 distribution
contains a
“src” folder which includes source code for java API, <o:p></o:p></p>
<p class="MsoNormal">But I don`t know whether it contains c++ source
for jvm
itself or not.</p>
</div>
</blockquote>
Why not unzip and look into the "src'? You will find whatever inside.<br>
<blockquote cite="mid:49a8fab2.0a1ad00a.5d0e.270b@mx.google.com"
type="cite">
<div class="Section1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">Any way I am going to have some manipulation on
jvm security</p>
</div>
</blockquote>
Welcome!<br>
<blockquote cite="mid:49a8fab2.0a1ad00a.5d0e.270b@mx.google.com"
type="cite">
<div class="Section1">
<p class="MsoNormal">but I don`t know where to start from.</p>
</div>
</blockquote>
Security is a big concept, and covers many fields. Including sandbox,
access control, authentication, etc. What's your interested tech? I
would like you have to look at our guides[2], where describes the most
of the aspect of java security. <br>
<br>
Xuelei<br>
[1]: <a
href="http://java.sun.com/developer/onlineTraining/Security/Fundamentals/magercises/ClassLoader/help.html">http://java.sun.com/developer/onlineTraining/Security/Fundamentals/magercises/ClassLoader/help.html</a><br>
[2]: <a
href="http://java.sun.com/javase/6/docs/technotes/guides/security/index.html">http://java.sun.com/javase/6/docs/technotes/guides/security/index.html</a>
<blockquote cite="mid:49a8fab2.0a1ad00a.5d0e.270b@mx.google.com"
type="cite">
<div class="Section1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">Thanks before.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best Regards,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Michel.<o:p></o:p></p>
</div>
</blockquote>
<br>
</body>
</html>