/usr/share/doc/libognl-java/DeveloperGuide/memberAccessManager.html is in libognl-java-doc 2.7.3-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | <html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 7. Member Access</title><link href="../docbook.css" type="text/css" rel="stylesheet"><meta content="DocBook XSL Stylesheets V1.78.1" name="generator"><link rel="home" href="index.html" title="OGNL Developer Guide"><link rel="up" href="index.html" title="OGNL Developer Guide"><link rel="prev" href="typeConversion.html" title="Chapter 6. Type Conversion"><link rel="next" href="nullHandler.html" title="Chapter 8. Null Handler"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">Chapter 7. Member Access</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="typeConversion.html"><img src="../images/navigation/prev.gif" alt="Prev"></a> </td><th align="center" width="60%"> </th><td align="right" width="20%"> <a accesskey="n" href="nullHandler.html"><img src="../images/navigation/next.gif" alt="Next"></a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="memberAccessManager"></a>Chapter 7. Member Access</h1></div></div></div><p>Normally in Java the only members of a class (fields, methods) that can be accessed are the ones defined with public access. <acronym class="acronym">OGNL</acronym> includes an interface that you can set globally (using <code class="function">OgnlContext.setMemberAccessManager()</code>)
that allows you to modify the runtime in Java 2 to allow access to private, protected and package protected fields and methods. Included in the <acronym class="acronym">OGNL</acronym> package is the <code class="classname">DefaultMemberAccess</code> class. It
contains a constructor that allows you to selectively lower the protection on any private, protected or package protected members<code class="classname"> using the AccessibleObject</code> interface in Java2. The default class can be subclasses to
select different objects for which accessibility is allowed.</p><pre class="programlisting">public interface MemberAccess
{
public Object setup( Member member );
public void restore( Member member, Object state );
public boolean isAccessible( Member member );
}</pre></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="typeConversion.html"><img src="../images/navigation/prev.gif" alt="Prev"></a> </td><td align="center" width="20%"> </td><td align="right" width="40%"> <a accesskey="n" href="nullHandler.html"><img src="../images/navigation/next.gif" alt="Next"></a></td></tr><tr><td valign="top" align="left" width="40%">Chapter 6. Type Conversion </td><td align="center" width="20%"><a accesskey="h" href="index.html"><img src="../images/navigation/home.gif" alt="Home"></a></td><td valign="top" align="right" width="40%"> Chapter 8. Null Handler</td></tr></table></div></body></html>
|