This file is indexed.

/usr/share/doc/libognl-java/DeveloperGuide/memberAccessManager.html is in libognl-java-doc 2.7.3-6.

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&nbsp;7.&nbsp;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&nbsp;6.&nbsp;Type Conversion"><link rel="next" href="nullHandler.html" title="Chapter&nbsp;8.&nbsp;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&nbsp;7.&nbsp;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>&nbsp;</td><th align="center" width="60%">&nbsp;</th><td align="right" width="20%">&nbsp;<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&nbsp;7.&nbsp;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>&nbsp;</td><td align="center" width="20%">&nbsp;</td><td align="right" width="40%">&nbsp;<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&nbsp;6.&nbsp;Type Conversion&nbsp;</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%">&nbsp;Chapter&nbsp;8.&nbsp;Null Handler</td></tr></table></div></body></html>