blob: 09a47c200b5b53086e865609814c9c9c7f046481 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0) on Sun Aug 28 20:42:13 EST 2016 -->
<title>AuthenticationPermission (Apache River v3.0.0 API Documentation (internals))</title>
<meta name="date" content="2016-08-28">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AuthenticationPermission (Apache River v3.0.0 API Documentation (internals))";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":9,"i11":10,"i12":10,"i13":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AuthenticationPermission.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../net/jini/security/AccessPermission.html" title="class in net.jini.security"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../net/jini/security/AuthenticationPermission.AuthenticationPermissionCollection.html" title="class in net.jini.security"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?net/jini/security/AuthenticationPermission.html" target="_top">Frames</a></li>
<li><a href="AuthenticationPermission.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">net.jini.security</div>
<h2 title="Class AuthenticationPermission" class="title">Class AuthenticationPermission</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">java.security.Permission</a></li>
<li>
<ul class="inheritance">
<li>net.jini.security.AuthenticationPermission</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/security/Guard.html?is-external=true" title="class or interface in java.security">Guard</a></dd>
</dl>
<hr>
<br>
<pre>public final class <span class="typeNameLabel">AuthenticationPermission</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">Permission</a></pre>
<div class="block">Represents permission to use the private credentials of subjects for the
purpose of authenticating as any subset of the local principals specified
in the target name, during secure remote calls with any peer that
authenticates as at least the set of peer principals specified in the
target name. In general, security providers check for this permission
instead of checking for
<a href="http://docs.oracle.com/javase/6/docs/api/javax/security/auth/PrivateCredentialPermission.html?is-external=true" title="class or interface in javax.security.auth"><code>PrivateCredentialPermission</code></a>. This
permission does not need to be granted for anonymous communication;
it only needs to be granted if an entity needs to authenticate itself.
<p>
An instance of this class contains a name (also referred to as a "target
name") and a set of actions. The target name specifies both the maximum
set of principals that an entity can authenticate as, and the minimum
set of principals that the peer must authenticate as. The actions specify
whether the permission is granted for making outbound remote calls with or
without delegation, listening for incoming remote calls, receiving
incoming remote calls, or some combination.
<p>
The syntax of the target name is either:
<pre><i>LocalPrincipals</i></pre>
or:
<pre><i>LocalPrincipals</i> <code>peer</code> <i>PeerPrincipals</i></pre>
where <i>LocalPrincipals</i> specifies the maximum set of principals that
an entity can authenticate as (that is, the entity can authenticate as any
subset of these principals), and <i>PeerPrincipals</i> specifies the
minimum set of principals that the peer must authenticate as (that is,
the peer must authenticate as at least all of these principals). If the
first syntactic form is used, the peer can authenticate as anyone (and can
be anonymous). The syntax of both <i>LocalPrincipals</i> and
<i>PeerPrincipals</i> is:
<pre><i>PrincipalClass</i> "<i>PrincipalName</i>" ...</pre>
That is, alternating principal classes and principal names, separated by
spaces, with each principal name surrounded by quotes. The order in which
principals are specified does not matter, but both class names and
principal names are case sensitive. For <i>LocalPrincipals</i>, in any
given principal specification, a wildcard value of "*" can be used for
both <i>PrincipalClass</i> and <i>PrincipalName</i> or for just
<i>PrincipalName</i>, but it is illegal to use a wildcard value for just
<i>PrincipalClass</i>. Explicit wildcard values cannot be used in
<i>PeerPrincipals</i>; only complete wildcarding of the peer is supported,
and is expressed by using the first syntactic form instead.
<p>
The syntax of the actions is a comma-separated list of any of the following
(case-insensitive) action names: <code>listen</code>, <code>accept</code>,
<code>connect</code>, <code>delegate</code>. The <code>listen</code> action
grants permission to authenticate as the server when listening for
incoming remote calls; in this case, the peer principals are ignored
(because it is assumed that in general servers authenticate themselves
before clients do). The <code>accept</code> action grants permission to
receive authenticated incoming remote calls; in this case, the entity has
authenticated as the server, and the peer has authenticated as the client.
If the <code>accept</code> action is specified, the <code>listen</code>
action is implied and need not be specified explicitly. The
<code>connect</code> action grants permission to authenticate when
making outgoing remote calls; in this case, the entity authenticates as
the client, and the peer authenticates as the server. The
<code>delegate</code> action grants permission to authenticate with
(or without) delegation when making outgoing remote calls. If the
<code>delegate</code> action is specified, the <code>connect</code>
action is implied and need not be specified explicitly.
<p>
A principal <code>p</code> matches <i>LocalPrincipals</i> if
<i>LocalPrincipals</i> has any of the following principal specifications:
<ul>
<li>"*" for both <i>PrincipalClass</i> and <i>PrincipalName</i>
<li>a <i>PrincipalClass</i> equal to the value of
<code>p.getClass().getName()</code> and a <i>PrincipalName</i> equal to "*"
<li>a <i>PrincipalClass</i> equal to the value of
<code>p.getClass().getName()</code> and a <i>PrincipalName</i> equal to
the value of <code>p.getName()</code>
</ul>
A principal <code>p</code> matches <i>PeerPrincipals</i> if
<i>PeerPrincipals</i> has a <i>PrincipalClass</i> equal to the value of
<code>p.getClass().getName()</code> and a <i>PrincipalName</i> equal to
the value of <code>p.getName()</code>.
<p>
Some example policy file permissions:
<pre>
// client authenticate as jack, with or without delegation, to any server
permission net.jini.security.AuthenticationPermission
"javax.security.auth.x500.X500Principal \"CN=jack\"", "delegate";
// client authenticate as joe and/or sue, without delegation, to any server
permission net.jini.security.AuthenticationPermission
"javax.security.auth.x500.X500Principal \"CN=joe\" javax.security.auth.x500.X500Principal \"CN=sue\"", "connect";
// client authenticate as any X500 principals, without delegation, to jack
permission net.jini.security.AuthenticationPermission
"javax.security.auth.x500.X500Principal \"*\" peer javax.security.auth.x500.X500Principal \"CN=jack\"", "connect";
// authenticate as jack to jack, bi-directional, with or without delegation
permission net.jini.security.AuthenticationPermission
"javax.security.auth.x500.X500Principal \"CN=jack\" peer javax.security.auth.x500.X500Principal \"CN=jack\"", "accept,delegate";
// authenticate as anyone to jack, bi-directional, without delegation
permission net.jini.security.AuthenticationPermission
"* \"*\" peer javax.security.auth.x500.X500Principal \"CN=jack\"", "accept,connect";
</pre></div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>2.0</dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Sun Microsystems, Inc.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../serialized-form.html#net.jini.security.AuthenticationPermission">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.AuthenticationPermissionCollection.html" title="class in net.jini.security">AuthenticationPermission.AuthenticationPermissionCollection</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.Data.html" title="class in net.jini.security">AuthenticationPermission.Data</a></span></code>
<div class="block">Internal structure to work around the fact that you can't do
computation on this prior to calling super() in a constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#ACCEPT">ACCEPT</a></span></code>
<div class="block">The accept action (includes the listen action).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#actions">actions</a></span></code>
<div class="block">The actions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#CONNECT">CONNECT</a></span></code>
<div class="block">The connect action.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#DELEGATE">DELEGATE</a></span></code>
<div class="block">The delegate action (includes the connect action).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#LISTEN">LISTEN</a></span></code>
<div class="block">The listen action.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#mask">mask</a></span></code>
<div class="block">The parsed actions as a bitmask.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#me">me</a></span></code>
<div class="block">The parsed elements of the local principals with wildcard principal
names replaced by null, or null if there is a principal with both a
wildcard class and a wildcard name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#peer">peer</a></span></code>
<div class="block">The parsed elements of the peer principals, or null if no peer
principals were specified.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#serialVersionUID">serialVersionUID</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#AuthenticationPermission-net.jini.security.AuthenticationPermission.Data-java.lang.String-">AuthenticationPermission</a></span>(<a href="../../../net/jini/security/AuthenticationPermission.Data.html" title="class in net.jini.security">AuthenticationPermission.Data</a>&nbsp;data,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;actions)</code>
<div class="block">Creates an instance with the specified data and actions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#AuthenticationPermission-java.util.Set-java.util.Set-java.lang.String-">AuthenticationPermission</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;local,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;peer,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;actions)</code>
<div class="block">Creates an instance with the specified actions and a target name
constructed from the specified local and peer principals.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#AuthenticationPermission-java.lang.String-java.lang.String-">AuthenticationPermission</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;actions)</code>
<div class="block">Creates an instance with the specified target name and actions.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#cons-java.util.Set-java.lang.StringBuffer-">cons</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;s,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;b)</code>
<div class="block">Returns an array of alternating class and principal names for the
specified set of principals, and appends all of those strings to
the specified buffer, separated by spaces, with the principal
names in quotes.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#covers-java.lang.String:A-java.lang.String:A-">covers</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;sup,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;sub)</code>
<div class="block">Returns true if every principal that matches sub also matches sup.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>
<div class="block">Two instances of this class are equal if each implies the other;
that is, both instances have the same actions, every principal that
matches the local principals of one instance matches the local
principals of the other instance, and (if the instances have any
action besides <code>listen</code>) every principal that matches the
peer principals of one instance matches the peer principals of the
other instance.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#getActions--">getActions</a></span>()</code>
<div class="block">Returns the actions.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#hashCode--">hashCode</a></span>()</code>
<div class="block">Returns a hash code value for this object.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#implies-java.security.Permission-">implies</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">Permission</a>&nbsp;perm)</code>
<div class="block">Returns <code>true</code> if the specified permission is an instance
of <code>AuthenticationPermission</code>, and every action included in
the specified permission is included as an action of this permission,
and every principal that matches the local principals of the specified
permission also matches the local principals of this permission, and
(if the specified permission has any action besides
<code>listen</code>) every principal that matches the peer principals
of this permission also matches the peer principals of the specified
permission; returns <code>false</code> otherwise.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>private boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#implies0-net.jini.security.AuthenticationPermission-">implies0</a></span>(<a href="../../../net/jini/security/AuthenticationPermission.html" title="class in net.jini.security">AuthenticationPermission</a>&nbsp;ap)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#init--">init</a></span>()</code>
<div class="block">Parses the target name and actions, and initializes the transient
fields.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/PermissionCollection.html?is-external=true" title="class or interface in java.security">PermissionCollection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#newPermissionCollection--">newPermissionCollection</a></span>()</code>
<div class="block">Returns an empty <code>PermissionCollection</code> for storing
<code>AuthenticationPermission</code> instances.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#parseActions--">parseActions</a></span>()</code>
<div class="block">Parses the actions field and initializes the transient mask field.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>private static <a href="../../../net/jini/security/AuthenticationPermission.Data.html" title="class in net.jini.security">AuthenticationPermission.Data</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#parseName-java.util.Set-java.util.Set-">parseName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;me,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;peer)</code>
<div class="block">Constructs the target name and transient field data for the
specified principal sets.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#parseName-java.util.StringTokenizer-boolean-">parseName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/StringTokenizer.html?is-external=true" title="class or interface in java.util">StringTokenizer</a>&nbsp;st,
boolean&nbsp;peer)</code>
<div class="block">Parses what's left of the target name in the specified tokenizer,
and initializes the transient fields.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#readObject-java.io.ObjectInputStream-">readObject</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/ObjectInputStream.html?is-external=true" title="class or interface in java.io">ObjectInputStream</a>&nbsp;s)</code>
<div class="block">Verifies the syntax of the target name and recreates any transient
state.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>private static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../net/jini/security/AuthenticationPermission.html#same-java.lang.String:A-java.lang.String:A-">same</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;s1,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;s2)</code>
<div class="block">Returns true if both arrays are null, or both arrays are the same
length and contain the same pairs (ignoring order).</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.security.Permission">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.security.<a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">Permission</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true#checkGuard-java.lang.Object-" title="class or interface in java.security">checkGuard</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true#getName--" title="class or interface in java.security">getName</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true#toString--" title="class or interface in java.security">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="serialVersionUID">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serialVersionUID</h4>
<pre>private static final&nbsp;long serialVersionUID</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#net.jini.security.AuthenticationPermission.serialVersionUID">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="LISTEN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LISTEN</h4>
<pre>private static final&nbsp;int LISTEN</pre>
<div class="block">The listen action.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#net.jini.security.AuthenticationPermission.LISTEN">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CONNECT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONNECT</h4>
<pre>private static final&nbsp;int CONNECT</pre>
<div class="block">The connect action.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#net.jini.security.AuthenticationPermission.CONNECT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="ACCEPT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ACCEPT</h4>
<pre>private static final&nbsp;int ACCEPT</pre>
<div class="block">The accept action (includes the listen action).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#net.jini.security.AuthenticationPermission.ACCEPT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="DELEGATE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DELEGATE</h4>
<pre>private static final&nbsp;int DELEGATE</pre>
<div class="block">The delegate action (includes the connect action).</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../constant-values.html#net.jini.security.AuthenticationPermission.DELEGATE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="actions">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>actions</h4>
<pre>private&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> actions</pre>
<div class="block">The actions.</div>
</li>
</ul>
<a name="me">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>me</h4>
<pre>private transient&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] me</pre>
<div class="block">The parsed elements of the local principals with wildcard principal
names replaced by null, or null if there is a principal with both a
wildcard class and a wildcard name. If there is an element with a
null principal name, no other element with the same class name will
exist.</div>
</li>
</ul>
<a name="peer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peer</h4>
<pre>private transient&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] peer</pre>
<div class="block">The parsed elements of the peer principals, or null if no peer
principals were specified.</div>
</li>
</ul>
<a name="mask">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mask</h4>
<pre>private transient&nbsp;int mask</pre>
<div class="block">The parsed actions as a bitmask.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AuthenticationPermission-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AuthenticationPermission</h4>
<pre>public&nbsp;AuthenticationPermission(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;actions)</pre>
<div class="block">Creates an instance with the specified target name and actions.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the target name</dd>
<dd><code>actions</code> - the actions</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the target name or actions string is
<code>null</code></dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the target name or actions string
does not match the syntax specified in the comments at the beginning
of this class</dd>
</dl>
</li>
</ul>
<a name="AuthenticationPermission-java.util.Set-java.util.Set-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AuthenticationPermission</h4>
<pre>public&nbsp;AuthenticationPermission(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;local,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;peer,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;actions)</pre>
<div class="block">Creates an instance with the specified actions and a target name
constructed from the specified local and peer principals.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>local</code> - the local principals</dd>
<dd><code>peer</code> - the peer principals, or <code>null</code></dd>
<dd><code>actions</code> - the actions</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the local principals set or the
actions string is <code>null</code></dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the local principals set is
empty, or either set contains objects that are not
<code>java.security.Principal</code> instances, or the actions string
does not match the syntax specified in the comments at the beginning
of this class</dd>
</dl>
</li>
</ul>
<a name="AuthenticationPermission-net.jini.security.AuthenticationPermission.Data-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AuthenticationPermission</h4>
<pre>private&nbsp;AuthenticationPermission(<a href="../../../net/jini/security/AuthenticationPermission.Data.html" title="class in net.jini.security">AuthenticationPermission.Data</a>&nbsp;data,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;actions)</pre>
<div class="block">Creates an instance with the specified data and actions.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="init--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>private&nbsp;void&nbsp;init()</pre>
<div class="block">Parses the target name and actions, and initializes the transient
fields.</div>
</li>
</ul>
<a name="parseActions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseActions</h4>
<pre>private&nbsp;void&nbsp;parseActions()</pre>
<div class="block">Parses the actions field and initializes the transient mask field.</div>
</li>
</ul>
<a name="parseName-java.util.StringTokenizer-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseName</h4>
<pre>private&nbsp;void&nbsp;parseName(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/StringTokenizer.html?is-external=true" title="class or interface in java.util">StringTokenizer</a>&nbsp;st,
boolean&nbsp;peer)</pre>
<div class="block">Parses what's left of the target name in the specified tokenizer,
and initializes the transient fields. Peer is false when parsing
the local principals, true when parsing the peer principals.</div>
</li>
</ul>
<a name="cons-java.util.Set-java.lang.StringBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cons</h4>
<pre>private static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;cons(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;s,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a>&nbsp;b)</pre>
<div class="block">Returns an array of alternating class and principal names for the
specified set of principals, and appends all of those strings to
the specified buffer, separated by spaces, with the principal
names in quotes.</div>
</li>
</ul>
<a name="parseName-java.util.Set-java.util.Set-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseName</h4>
<pre>private static&nbsp;<a href="../../../net/jini/security/AuthenticationPermission.Data.html" title="class in net.jini.security">AuthenticationPermission.Data</a>&nbsp;parseName(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;me,
<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&nbsp;peer)</pre>
<div class="block">Constructs the target name and transient field data for the
specified principal sets.</div>
</li>
</ul>
<a name="implies-java.security.Permission-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>implies</h4>
<pre>public&nbsp;boolean&nbsp;implies(<a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">Permission</a>&nbsp;perm)</pre>
<div class="block">Returns <code>true</code> if the specified permission is an instance
of <code>AuthenticationPermission</code>, and every action included in
the specified permission is included as an action of this permission,
and every principal that matches the local principals of the specified
permission also matches the local principals of this permission, and
(if the specified permission has any action besides
<code>listen</code>) every principal that matches the peer principals
of this permission also matches the peer principals of the specified
permission; returns <code>false</code> otherwise.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true#implies-java.security.Permission-" title="class or interface in java.security">implies</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">Permission</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>perm</code> - the permission to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if the specified permission is an instance
of <code>AuthenticationPermission</code>, and every action included in
the specified permission is included as an action of this permission,
and every principal that matches the local principals of the specified
permission also matches the local principals of this permission, and
(if the specified permission has any action besides
<code>listen</code>) every principal that matches the peer principals
of this permission also matches the peer principals of the specified
permission; <code>false</code> otherwise</dd>
</dl>
</li>
</ul>
<a name="implies0-net.jini.security.AuthenticationPermission-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>implies0</h4>
<pre>private&nbsp;boolean&nbsp;implies0(<a href="../../../net/jini/security/AuthenticationPermission.html" title="class in net.jini.security">AuthenticationPermission</a>&nbsp;ap)</pre>
</li>
</ul>
<a name="covers-java.lang.String:A-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>covers</h4>
<pre>private static&nbsp;boolean&nbsp;covers(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;sup,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;sub)</pre>
<div class="block">Returns true if every principal that matches sub also matches sup.</div>
</li>
</ul>
<a name="getActions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActions</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getActions()</pre>
<div class="block">Returns the actions.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true#getActions--" title="class or interface in java.security">getActions</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">Permission</a></code></dd>
</dl>
</li>
</ul>
<a name="newPermissionCollection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newPermissionCollection</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/security/PermissionCollection.html?is-external=true" title="class or interface in java.security">PermissionCollection</a>&nbsp;newPermissionCollection()</pre>
<div class="block">Returns an empty <code>PermissionCollection</code> for storing
<code>AuthenticationPermission</code> instances.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true#newPermissionCollection--" title="class or interface in java.security">newPermissionCollection</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">Permission</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an empty <code>PermissionCollection</code> for storing
<code>AuthenticationPermission</code> instances</dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<div class="block">Two instances of this class are equal if each implies the other;
that is, both instances have the same actions, every principal that
matches the local principals of one instance matches the local
principals of the other instance, and (if the instances have any
action besides <code>listen</code>) every principal that matches the
peer principals of one instance matches the peer principals of the
other instance.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.security">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">Permission</a></code></dd>
</dl>
</li>
</ul>
<a name="same-java.lang.String:A-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>same</h4>
<pre>private static&nbsp;boolean&nbsp;same(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;s1,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;s2)</pre>
<div class="block">Returns true if both arrays are null, or both arrays are the same
length and contain the same pairs (ignoring order).</div>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<div class="block">Returns a hash code value for this object.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true#hashCode--" title="class or interface in java.security">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/security/Permission.html?is-external=true" title="class or interface in java.security">Permission</a></code></dd>
</dl>
</li>
</ul>
<a name="readObject-java.io.ObjectInputStream-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>readObject</h4>
<pre>private&nbsp;void&nbsp;readObject(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/ObjectInputStream.html?is-external=true" title="class or interface in java.io">ObjectInputStream</a>&nbsp;s)
throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<div class="block">Verifies the syntax of the target name and recreates any transient
state.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InvalidObjectException.html?is-external=true" title="class or interface in java.io">InvalidObjectException</a></code> - if the target name or actions
string is <code>null</code>, or if the target name or actions string
does not match the syntax specified in the comments at the beginning
of this class</dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AuthenticationPermission.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../net/jini/security/AccessPermission.html" title="class in net.jini.security"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../net/jini/security/AuthenticationPermission.AuthenticationPermissionCollection.html" title="class in net.jini.security"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?net/jini/security/AuthenticationPermission.html" target="_top">Frames</a></li>
<li><a href="AuthenticationPermission.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright 2007-2013, multiple authors.<br>Licensed under the <a href=http://www.apache.org/licenses/LICENSE-2.0 target=child >Apache License, Version 2.0</a>, see the <a href=../../../doc-files/NOTICE target=child >NOTICE</a> file for attributions.</small></p>
</body>
</html>